add province, increase scalerank + labelrank (#1306)

Add `province` (next to `state`) tag into `osm_state_point`
This commit is contained in:
Eva Jelinkova
2021-11-18 18:05:02 +01:00
committed by GitHub
parent 75d8c80228
commit 054d3a7e4d
5 changed files with 8 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ $$
-- because name matching is difficult
ST_Within(osm.geometry, ne.geometry)
-- We leave out leess important states
AND ne.scalerank <= 3
AND ne.labelrank <= 2
AND ne.scalerank <= 6
AND ne.labelrank <= 7
)
UPDATE osm_state_point AS osm
-- Normalize both scalerank and labelrank into a ranking system from 1 to 6.