Hello thanks for replaying.
just for me to clearify. When I have a Linestring like this "Linestring(10 20, 10 30, 20 40)" were the Point (10 20) and Point (20 40) are also vertices with a connection to other roads and where the Point(10 30) is just a node. When I understadn this right then OSRM will split this Linestring into 2 new entries in the OSRM data formats:
"Linestring(10 20,10 30)" and
"Linestring(10 30, 20 40)"
without taken turn restricturns into account to make it more simple. I think for urban areas is this fine were every node corrosponde to a vertex, but what about the counrty side. When I have a long road with a lots of nodes but less vertices. This will blow up the size of the data a littel bit or?!
Kind regards
Carsten
Gesendet: Dienstag, 06. Mai 2014 um 02:58 Uhr
Von: "Dennis Luxen" <[email protected]>
An: "Mailing list to discuss Project OSRM" <[email protected]>
Betreff: Re: [OSRM-talk] Graph structur
Von: "Dennis Luxen" <[email protected]>
An: "Mailing list to discuss Project OSRM" <[email protected]>
Betreff: Re: [OSRM-talk] Graph structur
Hi,
the basic structure is explained in a blog post:
https://www.mapbox.com/blog/smart-directions-with-osrm-graph-model/
—Dennis
Am 05.05.2014 um 22:56 schrieb Carsten Malchow <[email protected]>:
> Hello,
>
> i have a question according to the handling of the geomerty in OSRM.
> How is the structur in the file with the node and egdes. How are the nodes mapped?
> From node to node or from intersection to the next intersection of a other road?
> One line (graph) can have more then one node?
>
>
> for better understanding here a small drawing:
>
> f
> \ /
> a--b--c
> / \
> d
>
> ab --> one insert in the data
> bc--> one insert in the data
> cd -->one insert in the data
> cf -->one insert in the data
>
> OR:
> ac-->one insert in the data
> cd-->one insert in the data
> cf-->one insert in the data
>
> Kind regards
>
> Carsten
>
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk
the basic structure is explained in a blog post:
https://www.mapbox.com/blog/smart-directions-with-osrm-graph-model/
—Dennis
Am 05.05.2014 um 22:56 schrieb Carsten Malchow <[email protected]>:
> Hello,
>
> i have a question according to the handling of the geomerty in OSRM.
> How is the structur in the file with the node and egdes. How are the nodes mapped?
> From node to node or from intersection to the next intersection of a other road?
> One line (graph) can have more then one node?
>
>
> for better understanding here a small drawing:
>
> f
> \ /
> a--b--c
> / \
> d
>
> ab --> one insert in the data
> bc--> one insert in the data
> cd -->one insert in the data
> cf -->one insert in the data
>
> OR:
> ac-->one insert in the data
> cd-->one insert in the data
> cf-->one insert in the data
>
> Kind regards
>
> Carsten
>
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk
_______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
