Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

STintersect with buff

$
0
0
Hi Everyone I have two tables, Signs and Water. Each of these tables has tens of Thousands of spatial records. What I would like to do find is how many signs are within 100 meters of the water. So I need to add a buffer of 100 meters to the signs spatial position and see if they intersect with the waters spatial area. I am new to the Spatial part of SQL Server so I have been having issues getting the query to work. Any help would be great. Thanks.Signs table spatial is GeometryWater table spatial is Geography. Thanks.

Viewing all articles
Browse latest Browse all 3145

Trending Articles