sql server - combining Geography data -
using works:
declare @shape geography = 'polygon empty' set @shape.stsrid = 4326; select @shape = @shape.stunion([polygondata]) [bla].[polygon] select @shape.stastext();
on table this:
create table [space].[polygon]( [id] [uniqueidentifier] not null, [polygondata] [geography] null)
unfortunately, slow. not think can index wonder if there alternative approaches can used merge polygons obtain outer points of combined polygon. thanks.
Comments
Post a Comment