Created
October 3, 2012 01:07
-
-
Save mhkeller/3824308 to your computer and use it in GitHub Desktop.
Point to Polygon intersect PostGIS
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
UPDATE point_table SET polygon_id = poly_table.poly_id FROM poly_table WHERE ST_Intersects(point_table.the_geom, poly_table.the_geom); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment