Optional
strStatic
CircleHelper function to create a new GeoJSON geometry object representing a circle with the given coordinates and radius.
Longitude of the center point.
Latitude of the center point.
Radius in meters.
a GeoJSON representation of the circle.
[Aerospike GeoJSON Extension]https://www.aerospike.com/docs/guide/geospatial.html#aerospike-geojson-extension
Static
PointHelper function to create a new GeoJSON object representing the point with the given coordinates.
Longitude
Latitude
a GeoJSON representation of the point
Static
PolygonHelper function to create a new GeoJSON object representing the polygon with the given coordinates.
Rest
...coordinates: number[][]one or more coordinate pairs (lng, lat) describing the polygon.
a GeoJSON representation of the polygon.
Returns the GeoJSON value as a JS object.
Alias for GeoJSON#toJSON. Returns the GeoJSON value as a JS object.
Representation of a GeoJSON value. Since GeoJSON values are JSON objects they need to be wrapped in the
GeoJSON
class so that the client can distinguish them from other types of objects.For more information, please refer to the section on ⇑Geospatial Data Type in the Aerospike technical documentation.
Example