Professional Documents
Culture Documents
Storing and Querying Spatial Data in SQL Server
Storing and Querying Spatial Data in SQL Server
Storing and Querying Spatial Data in SQL Server
Target Applications
Types of Spatial Data
Planar vs. Geodetic
OGC Object Hierarchy
Spatial Reference Identifiers
• Demonstration: Spatial Reference Systems
Target Applications
• Data types
• geometry data type (flat-earth; planar)
• geography data type (round-earth; geodetic)
• Common methods
• STDistance: the distance between shapes
• STIntersects: the intersection of two shapes
• STArea: the area of a shape
• STLength: the length of a shape
• STUnion: the shape formed by uniting two shapes
• STBuffer: the shape formed by points around a shape
• Secondary filter
• Removes false positives
Logon Information
Virtual machine: 20762C-MIA-SQL
User name: ADVENTUREWORKS\Student
Password: Pa55w.rd
Best Practice
• Common Issues and Troubleshooting Tips