Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) | |
FROM ( | |
SELECT ST_AsGeoJSON(ST_Intersection(lg.geometry, bbox.geom))::json As geometry, | |
( | |
SELECT row_to_json(t) | |
FROM ( | |
SELECT name, type, admin_level | |
) t | |
) | |
As properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) | |
FROM ( | |
SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(lg.geometry, bbox.geom), 4326))::json As geometry, | |
( | |
SELECT row_to_json(t) | |
FROM ( | |
SELECT name, type, admin_level | |
) t | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) | |
FROM ( | |
SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(lg.geometry, bbox.geom), 4326))::json As geometry, | |
( | |
SELECT row_to_json(t) | |
FROM ( | |
SELECT name, type, admin_level | |
) t | |
) | |
As properties |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) FROM ( SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(ST_MakeValid(lg.geometry), bbox.geom), 4326))::json As geometry, ( SELECT row_to_json(t) FROM ( SELECT "name","type","area") t ) As properties FROM osm_waterareas As lg, (SELECT ST_Transform(ST_MakeEnvelope(-7.031250000000009,36.59788913307019,-5.625000000000013,37.718590325588146, 4326),3857) as geom) as bbox WHERE ST_Intersects(ST_MakeValid(lg.geometry), bbox.geom) AND (area > 12500000) ) fc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Indexes: | |
"ne_bathymetry_pkey" PRIMARY KEY, btree (gid) | |
"ne_bathymetry_geom_idx" gist (geometry) | |
"ne_bathymetry_geom_idx1" gist (geometry) | |
"ne_bathymetry_geom_idx10" gist (geometry) | |
"ne_bathymetry_geom_idx2" gist (geometry) | |
"ne_bathymetry_geom_idx3" gist (geometry) | |
"ne_bathymetry_geom_idx4" gist (geometry) | |
"ne_bathymetry_geom_idx5" gist (geometry) | |
"ne_bathymetry_geom_idx6" gist (geometry) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List of relations | |
Schema | Name | Type | Owner | |
--------+-------------------------------+-------+---------- | |
public | ne_bathymetry | table | osm | |
public | ne_urban_areas | table | osm | |
public | osm_admin | table | osm | |
public | osm_aeroways | table | osm | |
public | osm_amenities | table | osm | |
public | osm_barrierpoints | table | osm | |
public | osm_barrierways | table | osm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) FROM ( | |
SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(lg.geometry, bbox.geom), 4326))::json As geometry, ( | |
SELECT row_to_json(t) FROM ( | |
SELECT "name","type","area","z_order") t ) As properties FROM osm_landusages As lg, ( | |
SELECT ST_Transform(ST_MakeEnvelope(-2.8125,38.82259097617711,25.312499999999986,57.326521225217064, 4326),3857) | |
as geom) as bbox | |
WHERE ST_Intersects(lg.geometry, bbox.geom) | |
AND (area > 200000000) ) fc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXPLAIN ANALYZE VERBOSE SELECT ST_AsGeoJSON(ST_Intersection(lg.geometry, bbox.geom)) As geometry, ( SELECT rowea","z_order") t ) As properties FROM osm_landusages As lg, (SELECT ST_Transform(ST_MakeEnvelope(-2.8125,38.822590974, 4326),3857) as geom) as bbox WHERE ST_Intersects(lg.geometry, bbox.geom) AND (area > 200000000) ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT row_to_json(fc) FROM ( | |
SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(lg.geometry, bbox.geom), 4326))::json As geometry, ( | |
SELECT row_to_json(t) FROM ( | |
SELECT "name","type","area","z_order") t ) As properties FROM osm_landusages As lg, ( | |
SELECT ST_Transform(ST_MakeEnvelope(-2.8125,38.82259097617711,25.312499999999986,57.326521225217064, 4326),3857) as geom) as bbox | |
WHERE ST_Intersects(lg.geometry, bbox.geom) | |
AND (area > 200000000) ) fc; |
OlderNewer