richardschneider / yappy

Yet another REST API server howling at the moon with JSON
MIT License
2 stars 0 forks source link

Geo location #139

Closed richardschneider closed 8 years ago

richardschneider commented 8 years ago

Add a geo-location geometry data type. Hopefully there is a standard.

richardschneider commented 8 years ago

GeoJSON seems a good standard. It's what MongoDB uses natively.

{ type: "<GeoJSON type>" , coordinates: <coordinates> } Always list coordinates in longitude, latitude order. The default coordinate reference system for GeoJSON uses the WGS84 datum.

Normally the Point GeoJSON type is used fro longitude and latitude.