Page MenuHomePhabricator
Paste P16819

(An Untitled Masterwork)
ActivePublic

Authored by Jgiannelos on Wed, Jul 14, 2:17 PM.
jgiannelos@maps-master01:/etc/maps-config$ git diff
diff --git a/sql/functions/layer_admin.sql b/sql/functions/layer_admin.sql
index e87ebde..37e24f7 100644
--- a/sql/functions/layer_admin.sql
+++ b/sql/functions/layer_admin.sql
@@ -25,6 +25,8 @@ AS $BODY$
admin
WHERE
maritime <> TRUE
+ AND
+ tags->'boundary' = 'administrative'
AND (
(
admin_level = '2' AND zoom_level >= 2
@@ -41,4 +43,4 @@ AS $BODY$
way && bbox
;