Skip to content

Commit

Permalink
Remove material from simple value tag (osm-fr#535)
Browse files Browse the repository at this point in the history
Stop false positive for material use together with key bicycle_parking
  • Loading branch information
ThomasG77 authored and frodrigo committed Jun 16, 2019
1 parent d53d49a commit 3d288dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/TagFix_MultipleValue.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
NOT key LIKE 'CLC:%' AND
NOT key LIKE 'seamark:%' AND
key NOT IN (
-- Accept multiple vaues
'opening_hours', 'description', 'bus_routes', 'phone', 'created_by', 'comment', 'day_off', 'day_on', 'destination', 'fixme', 'FIXME', 'access', 'is_in', 'alt_name', 'boundary', 'fee', 'id', 'marked_trail', 'sport', 'shop', 'school:FR', 'hour_off', 'hour_on', 'old_name', 'operator', 'park_ride', 'antenna', 'brewery', 'collection_times', 'cuisine', 'exit_to', 'towards', 'traffic_sign', 'url', 'brand', 'service',
-- Accept multiple values
'opening_hours', 'description', 'bus_routes', 'phone', 'created_by', 'comment', 'day_off', 'day_on', 'destination', 'fixme', 'FIXME', 'access', 'is_in', 'alt_name', 'boundary', 'fee', 'id', 'marked_trail', 'sport', 'shop', 'school:FR', 'hour_off', 'hour_on', 'old_name', 'operator', 'park_ride', 'antenna', 'brewery', 'collection_times', 'cuisine', 'exit_to', 'towards', 'traffic_sign', 'url', 'brand', 'service', 'material',
-- No multiple value
'cycleway', 'highway', 'foot', 'layer', 'landuse', 'foot', 'building', 'left:city', 'left:country', 'left:departement', 'left:village', 'right:city', 'right:country', 'right:departement', 'right:village', 'name','maxspeed', 'lanes', 'oneway', 'admin_level', 'natural', 'smoothness', 'surface', 'tracktype', 'type', 'voltage', 'waterway', 'width', 'wikipedia', 'wires', 'wood', 'trail_visibility', 'bicycle', 'est_width', 'motorcar' 'mtb:scale', 'ele', 'material', 'power', 'railway', 'addr:housenumber', 'addr:street', 'attraction', 'amenity', 'leisure' ) AND
'cycleway', 'highway', 'foot', 'layer', 'landuse', 'foot', 'building', 'left:city', 'left:country', 'left:departement', 'left:village', 'right:city', 'right:country', 'right:departement', 'right:village', 'name','maxspeed', 'lanes', 'oneway', 'admin_level', 'natural', 'smoothness', 'surface', 'tracktype', 'type', 'voltage', 'waterway', 'width', 'wikipedia', 'wires', 'wood', 'trail_visibility', 'bicycle', 'est_width', 'motorcar' 'mtb:scale', 'ele', 'power', 'railway', 'addr:housenumber', 'addr:street', 'attraction', 'amenity', 'leisure' ) AND
value LIKE '%;%'
;
"""
Expand All @@ -70,7 +70,7 @@ def init(self, logger):
'landuse', 'lanes', 'layer',
'left:city', 'left:country', 'left:departement', 'left:village',
'leisure',
'material', 'maxspeed', 'motorcar', 'mtb:scale',
'maxspeed', 'motorcar', 'mtb:scale',
'name', 'natural',
'oneway',
'power',
Expand Down

0 comments on commit 3d288dd

Please sign in to comment.