Skip to content

Commit 0d6772b

Browse files
committed
Add QC tag suggestion to recode natural=street_lamp to highway=street_lamp
1 parent 4f81ee6 commit 0d6772b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

db/qc/osm_tag_suggestions.sql

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,11 @@ SELECT t.geom_type, t.osm_id,
3838
t.osm_url, t.tags
3939
FROM osm.tags t
4040
WHERE t.tags->>'shop' = 'cafe'
41+
UNION
42+
SELECT t.geom_type, t.osm_id,
43+
'Invalid natural value. Consider highway=street_lamp. If a light is attached to a tree, consider adding support=tree as well. https://wiki.openstreetmap.org/wiki/Tag:highway%3Dstreet_lamp'::TEXT
44+
AS suggestion,
45+
t.osm_url, t.tags
46+
FROM osm.tags t
47+
WHERE t.tags->>'natural' = 'street_lamp'
4148
;

0 commit comments

Comments
 (0)