Closed ctford closed 11 years ago
Cool. Was following geojson. Are you cool with coordinates as a field name? On Dec 4, 2012 1:35 PM, "Chris Ford" notifications@github.com wrote:
In the geolocation section, we use GeoJson derived coordinates:
coordinates: [-1.6917, 29.5250]
The spec doesn't say whether the first number is latitude or longitude. This should be added briefly to avoid ambiguity.
Chris, Morten, Bharti
— Reply to this email directly or view it on GitHubhttps://github.com/facilityregistry/fred-api/issues/13.
Yes, following GeoJson is fine for both the coordinates
name and the structure of the points. Would just be good to make sure everyone knows it's not long/lat. :-)
updated
According to the spec, the order is [lng, lat]
http://www.geojson.org/geojson-spec.html#appendix-a-geometry-examples
k that's really weird as having else is lat, long. I guess in terms of x, y then it's right. Will change
On Sun, Dec 9, 2012 at 2:31 PM, Morten Olav Hansen <notifications@github.com
wrote:
According to the spec, the order is [lng, lat]
http://www.geojson.org/geojson-spec.html#appendix-a-geometry-examples
— Reply to this email directly or view it on GitHubhttps://github.com/facilityregistry/fred-api/issues/13#issuecomment-11170116.
In the geolocation section, we use GeoJson derived coordinates:
The spec doesn't say whether the first number is latitude or longitude. This should be added briefly to avoid ambiguity.