You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to s2geometry-io
Hi,
I'd like to union many polygons together (similar to ST_Union in PostGIS) and I'm running into performance issues using S2Polygon::InitToUnion successively on the aggregated union and each polygon. Is there a more efficient way to do this?
Thanks
Denis
michael...@gmail.com
unread,
Dec 30, 2021, 3:56:22 AM12/30/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to s2geometry-io
Hi, you can try using next method: staticstd::unique_ptr<S2Polygon> DestructiveUnion(std::vector<std::unique_ptr<S2Polygon> > polygons).