Skip to content

Instantly share code, notes, and snippets.

@ddd1600
Created January 3, 2017 00:56
Show Gist options
  • Save ddd1600/7498b675dbcd01860d33263a59257073 to your computer and use it in GitHub Desktop.
Save ddd1600/7498b675dbcd01860d33263a59257073 to your computer and use it in GitHub Desktop.
where("st_intersects(proj_shape_4326, ST_GeomFromText('#{shp.as_text}',4326))")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment