Preferred order of ...
 
Notifications
Clear all

Preferred order of writing latitude & longitude tuples in GIS services

1 Posts
1 Users
0 Likes
365 Views
visitgis
Posts: 7
Admin
Topic starter
(@visitgis)
Member
Joined: 2 years ago

EPSG:4326 specifically states that the coordinate order should be latitude, longitude. Many software packages still use longitude, latitude ordering. This situation has wreaked unimaginable havoc on project deadlines and programmer sanity.

The best guidance one can offer is to be fully aware of the expected axis order of each component in your software stack. PostGIS expects lng/lat. WFS 1.0 uses lng/lat, but WFS 1.3.0 defers to the standard and uses lat/lng. GeoTools defaults to lat/lng but can be overridden with a system property.

The GeoTools docs on the history and explanation of the problem are worth a read:  http://docs.geotools.org/latest/userguide/library/referencing/order.html

Topic Tags
Share: