Beginning Spatial with SQL Server 2008

By Alastair Aitchison

Beginning Spatial with SQL Server 2008 Cover Image

Beginning Spatial with SQL Server 2008 covers everything you need to know to begin using the new spatial datatypes, and explains how to apply them in practical situations involving the spatial relationships of people, places, and things on the earth.

Full Description

  • ISBN13: 978-1-4302-1829-6
  • User Level: Beginner to Advanced
  • Publication Date: January 19, 2009
  • Available eBook Formats: PDF
  • Print Book Price: $54.99
  • eBook Price: $38.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Microsoft SQL Server 2008 introduces new geography and geometry spatial datatypes that enable the storage of structured data describing the shape and position of objects in space. This is an interesting and exciting new feature, with many potentially useful applications.

Beginning Spatial with SQL Server 2008 covers everything you need to know to begin using these new spatial datatypes, and explains how to apply them in practical situations involving the spatial relationships of people, places, and things on the earth.

  • All of the spatial concepts introduced are explained from the ground up, so you need not have any previous knowledge of working with spatial data.
  • Every section is illustrated with code examples that you can use directly in SQL Server.
  • All of the topics covered in this book apply to all versions of SQL Server 2008, including the freely available SQL Server 2008 Express.

What you’ll learn

  • Understand the fundamental concepts involved in working with spatial data, including spatial references and coordinate systems.
  • Apply these concepts in the collection and storage of spatial data in SQL Server 2008, using the new geometry and geography field types.
  • Create different types of spatial data objects—points, lines, and polygons—and use these to describe real–world objects.
  • Learn how to analyze spatial data using a range of supported methods, and be aware of a number of different practical applications for these methods.
  • Be shown how to integrate SQL Server with other tools, such as Microsoft Virtual Earth, to display a visual representation of spatial data.
  • Know how to ensure the performance of spatially enabled databases by creating appropriate spatial indexes.

Who this book is for

SQL Server developers who wish to use spatial data in Microsoft SQL Server 2008.

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

On page 89:
... SQL Server 2008 provides three methods: STAsText(), STAsTextZM(),...


AsTextZM is not a ST method

On page 256:

"The projection in this case is centered about the line of LATITUDE that lies at the center of the data plotted on the map..."

I believe that LATITUDE should be LONGITUDE, as it is on page 257.