added bootstrap buildings
This commit is contained in:
Binary file not shown.
@@ -100,7 +100,11 @@ def _query_by_bbox(
|
||||
)
|
||||
) AS feature
|
||||
FROM buildings
|
||||
WHERE ST_Intersects(geom, ST_MakeEnvelope(:minlon, :minlat, :maxlon, :maxlat, 4326))
|
||||
WHERE geom && ST_MakeEnvelope(:minlon, :minlat, :maxlon, :maxlat, 4326)
|
||||
AND ST_Intersects(
|
||||
geom,
|
||||
ST_MakeEnvelope(:minlon, :minlat, :maxlon, :maxlat, 4326)
|
||||
)
|
||||
LIMIT :limit
|
||||
"""
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user