[OSM-talk] 'Distance to feature' maps?
Yann Coupin
yann at coupin.net
Tue Jul 14 21:47:33 BST 2009
I think the way to go is mapnik + postgis/postgresql in combination
with pgRounting and its driving distance calculation feature.
http://pgrouting.postlbs.org/
Yann
Le 14 juil. 09 à 21:36, simon at mungewell.org a écrit :
>> only needs an dijkstra algorithm and some more lines of code.
>
> sounds so simple... ;-)
>
> I had a look at the wikipedia page
> (http://en.wikipedia.org/wiki/Dijkstra%27s_algorithm) and that would
> look
> to make sense.
>
> I suppose the way to do it would be to break the OSM highways down in
> unique ways which link junctions, so that each could be given a length
> (following node to node) and then use the dijkstra to calculate
> distance
> to each 'end' node.
>
> This would also be good for producing paper maps with distance values
> along the side of motoring maps. You just add the distances along
> chosen
> route.
>
> Not sure how this would work for multiple reference points, ie.
> nearest
> bus_stop. But that's not what I asked....
>
> Thanks,
> Simon.
>
>
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
More information about the talk
mailing list