kopia lustrzana https://github.com/openmaptiles/openmaptiles
Revert back to NE 4.0.0
See https://github.com/openmaptiles/openmaptiles/issues/365#issuecomment-442823991pull/543/head
rodzic
8d591a59aa
commit
00d88a103c
|
@ -13,7 +13,7 @@ services:
|
||||||
- "5432"
|
- "5432"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
import-natural-earth:
|
import-natural-earth:
|
||||||
image: "openmaptiles/import-natural-earth:1.5"
|
image: "openmaptiles/import-natural-earth:1.4"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- postgres_conn
|
- postgres_conn
|
||||||
|
|
|
@ -25,8 +25,8 @@ BEGIN
|
||||||
WHERE
|
WHERE
|
||||||
-- We match only countries with ISO codes to eliminate disputed countries
|
-- We match only countries with ISO codes to eliminate disputed countries
|
||||||
iso3166_1_alpha_2 IS NOT NULL
|
iso3166_1_alpha_2 IS NOT NULL
|
||||||
-- that has same Wikidata ID or lies inside polygon of sovereign country
|
-- that lies inside polygon of sovereign country
|
||||||
AND (osm.tags->'wikidata' = ne.wikidataid OR ST_Within(osm.geometry, ne.geometry))
|
AND ST_Within(osm.geometry, ne.geometry)
|
||||||
)
|
)
|
||||||
UPDATE osm_country_point AS osm
|
UPDATE osm_country_point AS osm
|
||||||
-- Normalize both scalerank and labelrank into a ranking system from 1 to 6
|
-- Normalize both scalerank and labelrank into a ranking system from 1 to 6
|
||||||
|
|
Ładowanie…
Reference in New Issue