[pgrouting-users] How to best handle Z-Level?
Anton Patrushev
anton at orkney.co.jp
Mon Aug 18 00:53:48 EDT 2008
Actually it is common practice to assume that it is an intersection if
two edges have a common node. Which actually means that you have four
edges.
0
|
0-----0-----0
|
0
If you don't want them to be intersected, you just don't need to add a
node there.
0
|
0-----+-----0
|
0
If your data has third dimension, I can change assign_vertex_id()
function to work with 3d distance and it will assume that it is not a
common point, because there is some distance between layers.
If it doesn't have third dimension - I don't know, it is kind of tricky then...
On Sat, Aug 16, 2008 at 7:07 AM, Stephen Woodbridge
<woodbri at swoodbridge.com> wrote:
> Hi all,
>
> Another question on handling Z-Levels at intersections.
> What is the best practice for this?
>
> It seems that my options might be:
>
> 1) create multiple node based on (location+zlevel) and connect edges as
> appropriate.
>
> 2) treat it as a single node and add a bunch of turn restrictions to
> things separated by zlevel.
>
> 3) other options???
>
> Thanks for any input,
> -Steve
> _______________________________________________
> Pgrouting-users mailing list
> Pgrouting-users at lists.postlbs.org
> http://lists.postlbs.org/mailman/listinfo/pgrouting-users
>
More information about the Pgrouting-users
mailing list