From 2097b2c31b16167faf358d48bb35a23c68e28285 Mon Sep 17 00:00:00 2001 From: jirik Date: Mon, 20 Nov 2017 15:32:22 +0100 Subject: [PATCH] Compute rank also for tiny countries --- layers/place/update_country_point.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/layers/place/update_country_point.sql b/layers/place/update_country_point.sql index d023baf..9388f55 100644 --- a/layers/place/update_country_point.sql +++ b/layers/place/update_country_point.sql @@ -27,8 +27,6 @@ BEGIN -- that lies inside polygon of sovereign country iso3166_1_alpha_2 IS NOT NULL AND ST_Within(osm.geometry, ne.geometry) - -- We leave out tiny countries - AND ne.scalerank <= 1 ) UPDATE osm_country_point AS osm -- Normalize both scalerank and labelrank into a ranking system from 1 to 6