[josm-dev] Validator: Node near landuse -> no warning
Henrik Niehaus
henrik.niehaus at gmx.de
Sun Feb 8 14:38:57 GMT 2009
Hi,
I have noticed that the validator shows warnings, if an endnode of a way
is near a landuse way, which is ok in most cases. For example:
http://img140.imageshack.us/my.php?image=waynearlandusewn5.png (white
area is landuse=residential, way is highway=residential).
So I patched UnconnectedWays.java to ignore such cases (landuse, leisure
and building. Maybe there are more cases, which I forgot). Maybe one
could also use way.osClosed() ?!?
What do you think about this patch?
Regards
Henrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dont_include_areas.diff.gz
Type: application/gzip
Size: 481 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/josm-dev/attachments/20090208/e152f0f9/attachment.bin>
More information about the josm-dev
mailing list