Book description
Microsoft SQL Server implements extensive support for location-based data. Pro Spatial with SQL Server 2012 introduces SQL Server's spatial feature set, and covers everything you'll need to know to store, manipulate, and analyze information about the physical location of objects in space. You'll learn about the geography and geometry datatypes, and how to apply them in practical situations involving the spatial relationships of people, places, and things on Earth.
Author Alastair Aitchison first introduces you to SQL Server's spatial feature set and the fundamental concepts involved in working with spatial data, including spatial references and co-ordinate systems. You'll learn to query, analyze, and interpret spatial data using tools such as Bing Maps and SQL Server Reporting Services. Throughout, you'll find helpful code examples that you can adopt and extend as a basis for your own projects.
Explains spatial concepts from the ground up—no prior knowledge is necessary
Provides comprehensive guidance for every stage of working with spatial data, from importing through cleansing and storing, to querying, and finally for retrieval and display of spatial data in an application layer
Brilliantly illustrated with code examples that run in SQL Server 2012, that you can adapt and use as the basis for your own projects.
Table of contents
- Title
- Dedication
- Contents at a Glance
- Contents
- Foreword
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
-
Chapter 1: Spatial Reference Systems
- What Is a Spatial Reference System?
- Modeling the Earth
- Geographic Coordinate Systems
- Projected Coordinate Systems
- Putting It All Together: Components of a Spatial Reference System
- Spatial Reference Identifiers (SRIDs)
- Well-Known Text of a Spatial Reference System
- Contrasting a Geographic and a Projected Spatial Reference
- Summary
- Chapter 2: Spatial Features
- Chapter 3: Spatial Datatypes
- Chapter 4: Creating Spatial Data
- Chapter 5: Importing Spatial Data
-
Chapter 6: Geocoding
- The Bing Maps Geocoding Service
- Creating a .NET Geocoding Assembly
- Creating a Geocoding UDF Wrapper
- Compiling the Assembly
- Configuring the Database
- Importing the Assembly
- Creating the Geocode Function
- Using the Geocode Function
- Creating a Geocoding TVF Wrapper
- Asynchronous and Batch Geocoding
- Reverse Geocoding
- Summary
- Chapter 7: Precision, Validity, and Errors
-
Chapter 8: Transformation and Reprojection
- Datum Transformation
- Transformation Algorithms
- Transforming to and from WGS84
- Projection, Unprojection, and Reprojection
- Performing Manual Calculations
- Creating a Reusable Spatial Conversion Library
- Registering the Transformation Assembly and Functions
- Transforming Spatial Data in T-SQL
- Architecture and Design Considerations
- Summary
-
Chapter 9: Examining Spatial Properties
- Property and Method Syntax—A Reminder
- Examining the Type of Geometry Used to Represent a Feature
- Testing for OGC Properties
- Counting the Number of Points in a Geometry
- Returning Individual Points from a Geometry
- Determining the Center of a Geometry
- Returning Coordinate Values
- Properties Describing the Extent of a Geometry
- Properties Related to Surfaces
- Properties Related to GeometryCollections
- Calculating Metrics
- Setting or Retrieving the Spatial Reference Identifier (SRID)
- Summary
- Chapter 10: Modification and Simplification
-
Chapter 11: Aggregation and Combination
- Creating a Union of Two Items of Spatial Data
- Appending One Geometry onto Another
- Subtracting One Geometry from Another
- Determining the Unique Parts of Two Geometries
- Defining the Intersection Between Two Geometries
- Aggregating Columns of Spatial Data
- Combining Spatial Result Sets
- Joining Tables Using a Spatial Column
- Summary
- Chapter 12: Testing Spatial Relationships
- Chapter 13: Clustering and Distribution Analysis
- Chapter 14: Route Finding
- Chapter 15: Triangulation and Tesselation
- Chapter 16: Visualization and User Interface
- Chapter 17: Reporting Services
- Chapter 18: Indexing
- Appendix
- Index
Product information
- Title: Pro Spatial with SQL Server 2012
- Author(s):
- Release date: May 2012
- Publisher(s): Apress
- ISBN: 9781430234913
You might also like
book
Inside Microsoft® SQL Server® 2008: T-SQL Programming
Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database …
book
Programming Microsoft® SQL Server® 2012
Your essential guide to key programming features in Microsoft SQL Server 2012 Take your database programming …
book
Pro Oracle Spatial for Oracle Database 11g
Pro Oracle Spatial for Oracle Database 11g shows how to take advantage of Oracle Database's built-in …
video
ODSC East 2018 (Open Data Science Conference)
ODSC The Open Data Science Conference has established itself as the leading conference in the field …