Reputation: 1291
What is difference between GEOMETRY and GEOGRAPHY in SQL Server 2008?
Upvotes: 27
Views: 17087
Reputation: 754368
Read the wonderful manual at:
http://msdn.microsoft.com/en-us/library/bb933790.aspx
The geometry Data Type
The geometry data type (planar) supported by SQL Server conforms to the Open Geospatial Consortium (OGC) Simple Features for SQL Specification version 1.1.0.
For more information on OGC specifications, see the following:
* OGC Specifications, Simple Feature Access Part 1 - Common
Architecture * OGC Specifications, Simple Feature Access Part 2 – SQL Options
The geography Data Type
The geography data type (geodetic) stores ellipsoidal (round-earth) data, such as GPS latitude and longitude coordinates.
It comes down to what model of the earth you're using - a planar or geodetic one.
Upvotes: 19