Skip to main content

Aggregation and Combination

  • Chapter
Pro Spatial with SQL Server 2012
  • 808 Accesses

Abstract

In this Chapter, we’ll look at various ways of combining spatial data. This could be, for example, collating a column of Points together into a single MultiPoint geometry (using UnionAggregate()) or joining two touching LineStrings together into a single LineString (using STUnion()). Combinations do not have to be additive; you can also, for example, subtract the area of space occupied by one Polygon from another, using STDifference(), or obtain the unique parts of two geometries using STSymDifference(). The common feature of all the methods discussed in this Chapter is that they take two or more inputs and combine them in some way to produce a single output.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 69.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 89.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Alastair Aitchison

About this chapter

Cite this chapter

Aitchison, A. (2012). Aggregation and Combination. In: Pro Spatial with SQL Server 2012. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-3492-0_11

Download citation

Publish with us

Policies and ethics