Skip to content

Instantly share code, notes, and snippets.

@geobabbler
Created November 2, 2012 23:05
Show Gist options
  • Save geobabbler/4004888 to your computer and use it in GitHub Desktop.
Save geobabbler/4004888 to your computer and use it in GitHub Desktop.
Simple SQL Server test
DECLARE @pt geometry;
SET @pt = geometry::Point(-82.655, 42.399, 4326)
SELECT COUNT(GID) FROM lake_st_clair WHERE geom.STContains(@pt) = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment