[OSM-dev] osmtools first release - nodeID
Hendrik Siedelmann
hendrik.siedelmann at googlemail.com
Tue Apr 29 10:31:14 BST 2008
2008/4/29 Robert (Jamie) Munro <rjmunro at arjam.net>:
> Marcus Wolschon wrote:
> | Hendrik Siedelmann schrieb:
> |
> | | 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?
>
> Does that really happen a lot? Most things I know of pass over / under
> each other without both having nodes at the /exact/ point they cross.
> Couldn't you fake it by moving each of the nodes a few cm in each
> direction (i.e. round the last bit of the 32 bits up or down instead of
> down or up). It's unlikely to be the least accurate part of the map...
Possible. But I won't start hacking the Map data, also updates would
get difficult. But I already uploaded a new version which stores ids
and lat/lon in the ways so that osm_server will deliver osm files with
correct ids.
More information about the dev
mailing list