[OSM-dev] Best way to select from a region

Frederik Ramm frederik at remote.org
Tue Sep 1 02:03:44 BST 2009


Stephan Knauss wrote:
> Discovered a great thing. The column named "way" actually contains 
> points. And it has a gist index. Looks like this is the way to go.
> Any hint what's the unit of these values?

PostGIS should be able to tell you via the geometry_columns table, or 
failing that you could try and remember what you told osm2pgsql to do. 
If you ran it without fancy arguments then these will be spherical 
mercator coordinates. If you run with -l then you'll get lat/lon values.


More information about the dev mailing list