Overview of SQL 2008 spatial data types, spatial data operations, geocoding, and visualization. This does not include the visualization options added to SQL 2008 R2.
1. SQL Server 2008 Spatial Data Dan Crawford Integrated Network Strategies dcrawford@insindy.com http://www.insindy.com
2. What is spatial data? Geometric Represents data in a 2D plain, similar to graph paper in high school. Units are user-defined and could be inches, miles, pixels, etc.
3. What is spatial data? Geographic Represents data points using angles of Latitude and Longitude. Latitude measures North/South, and Longitude measures degrees East/West of Prime Meridian
4. System Requirements SQL Server 2008 Express or higher Dev Tools Visual Studio 2005, 2008, or 2010 SQL Management Studio 2008 Not currently supported on SQL Azure, but will be soon
5. Uses of spatial data Used by central cancer registries for statistical analysis with other geography specific data sources, such as census data Integrated route mapping with MapPoint, Google Maps, etc Geographical business intelligence analytics
6. Geometry data type Geometry data type stores points, lines, polygons, and collections of geometric objects Represent using WKT (well-known text), WKB (well-known binary), or GML (geography markup language) WKT seems to be most common
10. Geocoding Geography data type does not directly understanding mailing address data Mailing addresses must be converted to latitude/longitude coordinates Geocoding = conversion of geographic data like address or zip code to geographic coordinates Options – MapPoint/Bing Map Services, Google Maps API, many others