as discussed with paul: This makes the region lookup smooth.
This commit is contained in:
parent
9882b2041f
commit
df0466c6f1
|
@ -21,7 +21,7 @@ RETURNS TABLE(
|
|||
zoom_level >= 4 AND
|
||||
zoom_level <= 12 AND
|
||||
region.admin_level = 6 AND
|
||||
ST_Transform(region.geometry, 3857) && bbox
|
||||
region.geometry && bbox
|
||||
GROUP BY region.relation_id, region.name, region.geometry, region.admin_level
|
||||
|
||||
$$ LANGUAGE SQL IMMUTABLE;
|
||||
|
|
Loading…
Reference in a new issue