Skip to content

Home / node / Commands / interfaces / GeospatialData @valkey/valkey-glide


@valkey/valkey-glide / Commands / GeospatialData

Interface: GeospatialData

Represents a geographic position defined by longitude and latitude. The exact limits, as specified by EPSG:900913 / EPSG:3785 / OSGEO:41001 are the following:

Valid longitudes are from -180 to 180 degrees. Valid latitudes are from -85.05112878 to 85.05112878 degrees.

Properties

latitude

latitude: number

The latitude coordinate.


longitude

longitude: number

The longitude coordinate.