geoConvert
Converts a series of coordinates into a GeoJSON of the specified type.
Syntax
geoConvert(coordinates, geo_type[, properties])
Parameters
Parameter
Description
coordinates
Required. One or more coordinates
geo_type
Required. GeoJSON geometry type. Options are ‘point’, ‘lineString’, ‘multiLineString’, ‘multiPoint’, ‘multiPolygon’, and ‘polygon’
properties
Optional. Escaped JSON array with properties to be added to the GeoJSON output.
Example
Convert a given coordinate into a GeoJSON point with specified properties.
Last updated