14
Building Location-Aware Applications with the SQL Server Spatial Library. Ed Katibah, Torsten Grabs and Olivier Meyer SQL Server Microsoft Corporation SVR33

SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Embed Size (px)

Citation preview

Page 1: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Building Location-Aware Applications with the SQL Server Spatial Library.Ed Katibah, Torsten Grabs and Olivier MeyerSQL ServerMicrosoft Corporation

SVR33

Page 2: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

SQL Server 2008 Spatial Summary

• 2 Spatial Data Types (CLR UDT)• Comprehensive set of Spatial Methods• High Performance Spatial Indexes• Spatial Library• Sink/Builder APIs• Management Studio Integration

OVERVIEW FEATURES

• 2D Vector Data Support• Open Geospatial Consortium Simple Features for SQL compatible• Supported By Major GIS Vendors ESRI, Intergraph, Autodesk, Pitney Bowes, Safe, etc.

• Standard feature in SQL Server Express, Workgroup, Web, Standard, Enterprise and Developer

• Support for very large spatial objectsDETAILS• Geography data type for geodetic Data• Geometry data type for planar Data• Standard spatial methods STIntersects, STBuffer, STLength, STArea, etc.

• Standard spatial format support WKT, WKB and GML

• Multiple spatial indexes per column• Create new CLR-based spatial methods with the Builder API• Redistributable Spatial Library SQLSysClrTypes

Page 3: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

SQL Server Spatial Library Resources

SQL SERVER SPATIAL LIBRARYMicrosoft SQL Server System CLR Types The SQL Server System CLR Types package contains the components implementing the geometry, geography, and hierarchy id types in SQL Server 2008 R2. This component can be installed separately from the server to allow client applications to use these types outside of the server.X86 Package(SQLSysClrTypes_x86.msi) – 3,342 KBX64 Package (SQLSysClrTypes._x64msi) – 3,459 KBIA64 Package(SQLSysClrTypes_ia64.msi) – 5,352 KB

Search for: Microsoft SQL Server 2008 Feature Pack, October 2008---CODEPLEX SQL Server Spatial ToolsCode Samples Utilizing the SQL Server Spatial LibrarySQL Server Spatial Tools – including source code for tools

Search for: Codeplex SQL Server Spatial Tools

Page 4: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

>>FUTURE

Future Spatial Library ImprovementsCandidate Enhancements> 2D Enhancements

> Aggregates, Validation Methods, etc.> Full Globe Support

> New Methods, Relaxation of Validity Constraints

> Terrain Mesh> Support for viewsheds, slope / aspect

aggregates, etc.

All are subject to change.

Page 5: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Excel Spatial Spreadsheet

Olivier MeyerSenior Program ManagerSQL Server

demo

Page 6: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder
Page 7: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

StreamInsight™ Goes Spatial

Torsten GrabsSenior Program Manager LeadSQL Server

demo

Page 8: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern specifications with near-zero latency.

Database Applications

Event-driven Applications

Query Paradigm

Ad-hoc queries or requests

Continuous standing queries

Latency Seconds, hours, days Milliseconds or less

Data Rate Hundreds of events/sec

Tens of thousands of events/sec or more

request

response

Event output

streaminput stream

What is CEP?

Page 9: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Shuttle Tracker

519,000+ data points, covering 1 day of operation

Page 10: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Other Resources

> Blogs> http://blogs.msdn.com/edkatibah> http://blogs.msdn.com/streaminsight> http://blogs.msdn.com/oliviermeyer

> Forums> http://social.msdn.microsoft.com/Forums/en-US/s

qlspatial/> http://social.msdn.microsoft.com/Forums/en-US/s

treaminsight> Books

> Beginning Spatial with SQL Server 2008, Apress.> Inside SQL Server 2008:T-SQL Programming,

MSPress.

Page 11: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

YOUR FEEDBACK IS IMPORTANT TO US!

Please fill out session evaluation

forms online atMicrosoftPDC.com

Page 12: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

Learn More On Channel 9

> Expand your PDC experience through Channel 9.

> Explore videos, hands-on labs, sample code and demos through the new Channel 9 training courses.

channel9.msdn.com/learnBuilt by Developers for Developers….

Page 13: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 14: SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder