<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andy Allan wrote:
<blockquote
cite="mid:c4193f8c0804270940t419821f3od6f4970a0a54d15b@mail.gmail.com"
type="cite">
<pre wrap="">On Sun, Apr 27, 2008 at 4:58 PM, Hendrik Siedelmann
<a class="moz-txt-link-rfc2396E" href="mailto:hendrik.siedelmann@googlemail.com"><hendrik.siedelmann@googlemail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">2008/4/27 Marcus Wolschon <a class="moz-txt-link-rfc2396E" href="mailto:Marcus@wolschon.biz"><Marcus@wolschon.biz></a>:
> | Nodes can still be identified by their lat/lon coordinates. As nodes
> | are not duplicated in the database this is possible. And routing still
> | needs to find which ways reference a node, so routing from one way to
> | another is still complicated. On the other hand checking if another
> | way uses the same points is fast on a spatial database (I will at some
> | time provide funktions provide routing)
...
> So the system cannot know the difference between 2 ways sharing the same
> node and 2 ways with 2 nodes that just share the same coordinates?
>
Yes for the database it's the same. On the other hands if two nodes
share the same coordinates they should be joined (Thats what I read),
so there will never be two nodes at the same coordinates. (At least in
theory)
</pre>
</blockquote>
<pre wrap=""><!---->
This is incorrect. In OpenStreetMap two nodes can share the same
coordinates, and each belong to a separate way. This does *not* imply
that the ways are connected - in fact, quite the opposite. This is why
ways reference nodes, not coordinates.
</pre>
</blockquote>
One simple example for this are double-decker bridges. Two points on
different decks can have the same lon/lat coordinates, but they
represent different points in the 3D space, so you cannot assume the
ways are connected. <br>
<br>
Igor<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://igorbrejc.net">http://igorbrejc.net</a></pre>
</body>
</html>