osm-fr / osmose-backend

Part of osmose that runs the analysis, and send the results to the frontend.
GNU General Public License v3.0
92 stars 115 forks source link

Feature request: check buiding= tag mismatches #31

Open d1g opened 9 years ago

d1g commented 9 years ago

Case 1: way tagged as amenity=kindergarten contains (way/multipolygon) building=school Expected result: osmose should warn about conflicting tags

Case 2: way without amenty= tag but part of multipolygon with amenity=kindergarten contains (way/multipolygon) building=school Expected result: osmose should warn about conflicting tags

PS. This is not limited to (building|amenity)=(kindergarten|school|college|university) but just example how to handle mismatches.

matkoniecz commented 6 years ago

way tagged as amenity=kindergarten contains (way/multipolygon) building=school

Valid tagging for building built as kindergarten repurposed to contain school.

way without amenty= tag but part of multipolygon with amenity=kindergarten contains (way/multipolygon) building=school

Also a valid tagging, see how building tag is defined (it is NOT the current use, it is for original building purpose, building:use covers current use).

d1g commented 6 years ago

building built as kindergarten repurposed to contain school

I would say that this is rare (<5%) than usual (> 95%). So, a warning, not an obvious mistake.

I can see how the church can be used for a variety of things in the countryside, but not university (with lecture halls).