I wonder if someone can clarify as I'm confused.
I need to load planet OSM data into PostGIS so I downloaded a small data set of a UK County and followed the instructions here loading the Google Mercator projection 900931.sql first.
looking at the data in GeoServer the co-ordinate readout on the location bar appears to be in metric East / West and not Longitude/Latitude yet the osm wiki states World Geodetic System 1984 is the coordinate system of OSM data.
What am I doing wrong?
Also is there a best practice for displaying OSM as a base layer?
Where can I get a Point.sld from?
Best Answer
OpenStreetMap stores data in WGS84 coordinates. You can check this by downloading the XML data for any OSM node:
However, the tool that imports the OSM data to postgresql (
osm2pgsql
) defaults to re-projecting node coordinates:If you use the
-l
option, the postgresql database will contain WGS84 coordinates (EPSG 4326).