Generate a GeoJSON FeatureCollection string from multiple features.
Arguments
coords — Flat Float64Array with all feature coordinates concatenated
types — Comma-separated geometry types (one per feature)
properties_json — Properties for each feature, separated by \x01 (unit separator).
Each segment should be a valid JSON object string. Use "{}" for empty properties.
Returns
A JSON string representing a GeoJSON FeatureCollection.
Generate a GeoJSON FeatureCollection string from multiple features.
Arguments
coords— FlatFloat64Arraywith all feature coordinates concatenatedtypes— Comma-separated geometry types (one per feature)properties_json— Properties for each feature, separated by\x01(unit separator). Each segment should be a valid JSON object string. Use"{}"for empty properties.Returns
A JSON string representing a GeoJSON FeatureCollection.
Example (JS)