Created
September 14, 2013 00:43
-
-
Save caged/6557769 to your computer and use it in GitHub Desktop.
Tilemill PostGIS layer subquery showing layer clipping via polygon intersection.
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 buildings.*, neighborhoods.wkb_geometry as bounding_area from buildings INNER JOIN neighborhoods ON ST_Intersects(neighborhoods.wkb_geometry, buildings.wkb_geometry) WHERE neighborhoods.name IN('LAURELHURST')) as buildings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment