Sensors and Systems
Breaking News
OSGeo joins GeoCommons Fund to strengthen global geospatial community
Rating12345The European Commission is investing €6 million in a...
EarthDefine launches Buildings Footprints 3D API, bringing structure-level geospatial intelligence to developers nationwide
Rating12345REDMOND, Wash., Aug. 6, 2026 /PRNewswire/ — EarthDefine, a provider of...
NOAA David Johnson Award for Outstanding Innovative Use of Earth Observation Satellite Data
Rating12345Award Nomination Deadline is September 16, 2026. The NOAA...

March 16th, 2011
Simplifying Spatial Data

  • Rating12345

It has always been possible to work with geospatial data in SQL Server using built-in geometric and trigonometric functions such as SIN(), COS(), and ACOS(). However, SQL Server 2008’s spatial data types made complex spatial queries a lot more accessible to those of us who don’t remember what a cosine actually is. In this article, I will show you how to use these built-in functions within a user-defined function (UDF) to illustrate the traditional method of calculating distances between geographic points. Read More