Created
December 10, 2017 14:14
-
-
Save sfkeller/14db2b1595b28b3aa5f2b89ee080f088 to your computer and use it in GitHub Desktop.
This file contains 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 ST_AsText(way) geom, | |
COALESCE(name, '')||' '||osm_id AS label | |
FROM osm_polygon | |
WHERE tags->'building' > '' | |
AND ST_Intersects(way, | |
(SELECT way | |
FROM osm_polygon | |
WHERE osm_id=-1684362)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment