Fix missing cities with diacritics at Z6
This commit is contained in:
parent
db60ae7f40
commit
919686b6c9
@ -18,6 +18,7 @@ BEGIN
|
|||||||
FROM ne_10m_populated_places AS ne, osm_city_point AS osm
|
FROM ne_10m_populated_places AS ne, osm_city_point AS osm
|
||||||
WHERE
|
WHERE
|
||||||
(
|
(
|
||||||
|
(osm.tags ? 'wikidata' AND osm.tags->'wikidata' = ne.wikidataid) OR
|
||||||
ne.name ILIKE osm.name OR
|
ne.name ILIKE osm.name OR
|
||||||
ne.name ILIKE osm.name_en OR
|
ne.name ILIKE osm.name_en OR
|
||||||
ne.namealt ILIKE osm.name OR
|
ne.namealt ILIKE osm.name OR
|
||||||
@ -83,4 +84,4 @@ CREATE CONSTRAINT TRIGGER trigger_refresh
|
|||||||
AFTER INSERT ON place_city.updates
|
AFTER INSERT ON place_city.updates
|
||||||
INITIALLY DEFERRED
|
INITIALLY DEFERRED
|
||||||
FOR EACH ROW
|
FOR EACH ROW
|
||||||
EXECUTE PROCEDURE place_city.refresh();
|
EXECUTE PROCEDURE place_city.refresh();
|
||||||
Loading…
x
Reference in New Issue
Block a user