SaCha Tech Blog
My Tech musings, experiences and notes.
Friday, May 9, 2014
Aggregating Spatial Data
Spatial table data can be aggregate such as to get a high level map. This code works for tables in SQL 2012.
SELECT [Column Name]
,
geometry::UnionAggregate
(geom.MakeValid()) AS goem
FROM
GROUP BY
[Column Name]
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)