[OpenLayers-Users] Locations Database Sought

Stephen Woodbridge woodbri at swoodbridge.com
Thu Oct 20 15:13:59 EDT 2011


On 10/20/2011 12:42 PM, Arnie Shore wrote:
> Folks, for an application I'll be porting from GMaps to OSM/OL, I want
> to replicate to the extent feasible the former's geo-location
> capability, and I'll appreciate any pointers re the availability of
> suitable data.
>
> Ideally, street data; but as a minimum city/town coordinates.
>
> Ideally, to include non-US locations, but at this early date I'll be
> happy with anything usable.
>
> Do I understand correctly that there's some work being done WRT driving
> directions?
>
> Thanks for any information.

Hi Arnie,

You probably want to look at pgRouting for the server side application. 
I wrote my own extension to this that generates driving directions. You 
can see it here:

http://tinyurl.com/62k6kvq

The actual driving directions extension is specific to the data I'm 
using, but I have discussed how it is done on the pgRouting list.

I have a vague recollection that someone might have written a Dijkstra 
solver that runs in JavaScript that could be applied to small networks, 
but I think you need to look at server side solution for more general 
applicability.

You can look at the link source to see how I integrate the Ajax requests 
with OpenLayers.

Hope this helps,
   -Steve W


More information about the Users mailing list