Opened 3 years ago
Last modified 3 years ago
#22755 new defect
building node part of building shape — at Version 2
| Reported by: | Famlam | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | mapcss building inside | Cc: |
Description (last modified by )
I spotted node 8793042989 where a (closed) building way contains a node with the same building tag, i.e. a node of the way equals the way itself.
Maybe it is interesting for JOSM to add the following rule to catch such cases?
way[building][building!=no]:closed > node[building][tag("building")==parent_tag("building")] { throwWarning: tr("{0} node part of {0} way", "{0.key}"); }
Change History (3)
by , 3 years ago
| Attachment: | buildingnodeonbuildingway.osm added |
|---|
comment:1 by , 3 years ago
This is partly caught by the building inside building check. See source:trunk/resources/data/validator/geometry.mapcss@18667:186-190#L186 .
Try adding building=shed to node 8793042988 and run the validator.
I think this might be a bug with ∈. I'd have to check the docs though.



OSM data showing an example