Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server 2008 Spatial Data - distance from a point to the edge of a polygon Expand / Collapse
Author
Message
Posted Tuesday, May 4, 2010 8:48 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, June 16, 2014 2:07 PM
Points: 1, Visits: 81
Hi All,

I am struggeling finding an effectient way to find a distance between a Point that intersects a polygon and the border of that polygon. I was able to use the STDistance comparing the point to every point that made up the polygon but that is taking a lot of time. Using SPatial indexe wasn't much helpful because the STDistance is not part of any constraint and even when I did put the constraint, the index didnt help much.

I appreciate any feedback.

Thanks
Post #915373
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse