[Routing] Having problems with osm data structure

Marcus Wolschon Marcus at Wolschon.biz
Wed Jul 8 12:11:06 BST 2009


On Wed, 08 Jul 2009 12:43:50 +0200, Frederik Ramm <frederik at remote.org>
wrote:
> There's a tool called 
> osm2pgrouting somewhere which you should try if you want to do pgrouting 
> (unsure how current the tool is though), or build your own structure 
> based on an "osmosis" data import.

You may also look at Traveling Salesman/LibOSM. It is written for
developers and allows multiple ways of storing a local map, rendering it,
routing, finding an address/place, giving driving-instructions, getting
the current location,... .
It may be a good starting-point or reference to you as I made sure it's
very consistently formatted, commented and documented code.

> note that you can remove those nodes from the graph that have only two 
> neighbours.

Not "can remove", but "may simplify". They are still important for
the calculation of the metrics. ;)

>> All in all, I have to say, is that I'm really confused by this.
> 
> Writing a thesis ought require a bit of dealing with confusing 
> situations otherwise everybody would do it ;-)

Well, if you have any questions. Just ask. :) We don't bite (usually).


Marcus




More information about the Routing mailing list