[OSM-dev] Data Consistency Checks
e9625163 at gmx.at
Tue Jun 17 21:19:28 BST 2008
[sorry for the delay!]
At the moment the minimum allowed distance from a dead end to any segment is
10 Meters. I chose this value as it is approximately the width of a road.
Most of the errors I want to find are such that the end of a road comes that
near to another segment that even the map gets drawn correctly but logically
there is no connection...
The limit has to be less enough that you don't get false-positives and large
enough so you don't miss some errors
> "Harald Kleiner" <e9625163 at gmx.at> writes:
> > A few words about my method:
> > * Find end-nodes of ways that are not connected to any other way and
> > check for each of them: * find ways that have at least one node inside
> > the 3x3 matrix of tiles surrounding the node-under-test * calculate the
> > min. distance from the node-under-test to any segment of these ways * if
> > the min. distance is less than a given limit, an error is found (the node
> > lies almost on a segment)
> What is the value of the limit?
> Sincerely yours,
More information about the dev