Geo Fencing Code - A clean implementation of SQL Server 2008

I need help. I am looking for the full TSQL code. (no C ++ / C #)

  • define 32 points around a central point forming a quasicircle with a given radius in miles.

  • Check the 32 points above for a given point to see if it is included in the geo-face.

Thanks JJ

+4
source share
1 answer

You should study the spatial types of SQL Server 2008, in particular geometry . To accomplish what you ask, you must do the following:

+2
source

Source: https://habr.com/ru/post/1301140/


All Articles