[Routing] Tools for getting from OSM to a routable network

Nic Roets nroets at gmail.com
Fri Sep 26 08:37:33 UTC 2014


On Fri, Sep 26, 2014 at 5:49 AM, Geoff Leyland <geoff_leyland at fastmail.fm>
wrote:

> Hi Nic,
>
> On 23/09/2014, at 6:09 pm, Nic Roets <nroets at gmail.com> wrote:
>
> Is this in the Gosmore repository?  I can’t find it anywhere.  As you say,
> time isn’t critical at this end of the workflow.
>
> Not that implementation.


> > So my storage format is very close to the underlying OSM data. it would
> relatively easy for me to earn Frederick badge for realtime updates. But I
> already have enough badges.
>
> So is it that the “wayType *wayDetails;” in your doubleArc is not a
> pointer to a way, but a pointer to an object that says “this arc
> corresponds to this section of this way, all of this way, and the first
> section of a third way”?
>
> No.

Let's say you have an OSM way with 5 'nd' and a bunch of tags. Then Gosmore
will create a wayType and 5 doubleArcs for it. Those 5 doubleArcs will form
a doubly linked list. Their wayDetails will all be exactly the same.

The wayType stores all the tags. Some, like the name and the layer
directly. Some, like the speeds for each vehicle type is stored indirectly
(styleStruct).




> Thanks heaps for your time!
> Geoff
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/routing
>



-- 
Regards,
Nic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/routing/attachments/20140926/f22051db/attachment.html>


More information about the Routing mailing list