[OSM-dev] shortest streets

Lennard ldp at xs4all.nl
Thu Sep 17 19:20:03 BST 2009

yummy goop wrote:
> Thank you for your thoughtful suggestions.  I'm a n00b, so I'm not sure 
> if I have to setup my own instance of the database to run this query or, 
> if not, where I should go next.  Any additional suggestions or direction 
> would be appreciated.

This ST_length_spheroid() call works on the default db created by 
osm2pgsql for use with the mapnik renderer. This db will be in 900913.

So yes, you'd need your local postgis db, set up by importing some 
planet extract with osm2pgsql.


More information about the dev mailing list