[Routing] Help with routing using Open Street Map Data
Jorge Gustavo
jgr at osgeopt.pt
Wed Jul 27 00:54:46 BST 2011
Hi,
On 25-07-2011 18:09, Craig Timothy Herndon (cthrndon) wrote:
> Hello,
>
> I've been trying to find something that will parse the osm data so that I can treat intersections as nodes on a graph and the distance from nodes as a weight.
> I took Jorge's advice and ran into this(link at bottom) by Gary86. After struggling to get perl working on my laptop I've now run into an issue that should be simple to solve.
> In his code there are two lines that reference files that I don't currently have. These two lines are "use OSM::osm 4.0 ;" and
> "use OSM::osmgraph 2.0" ; Where can I download osm 4.0 and osmgraph 2.0?
>
>
> Here is the link to the file I'm trying to use.
> http://svn.openstreetmap.org/applications/utils/gary68/distancemap.pl
Just use the same URL without the filename. Use:
http://svn.openstreetmap.org/applications/utils/gary68/
You will find the OSM folder with the necessary modules.
>
> P.S. Am I taking the right approach or would you suggest I use something else?
>
Try several approaches and select the one that is most suitable for your
application.
Regards,
Jorge
>
> Thanks for all the help,
>
> Craig.
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/routing
More information about the Routing
mailing list