Created
January 9, 2012 21:56
-
-
Save kevinmcmahon/1585171 to your computer and use it in GitHub Desktop.
Spatial query that finds all the landmarks in the 43rd Ward of Chicago.
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 landmarks.name, landmarks.architect, landmarks.address | |
FROM landmarks,wards | |
WHERE ST_Contains(wards.the_geom, landmarks.the_geom) AND wards.ward = '43'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment