TransWikia.com

Aggregating detached polygons using open source software

Geographic Information Systems Asked by Sanjeewa on February 28, 2021

Is there any open-source library to aggregate detached polygons?

I know that there is a tool in ArcInfo, but it is commercial.

5 Answers

PostGIS has a ST_ConcaveHull function which equates closely to the Aggregate Polygons function of ArcGIS. Sadly Spatialite does NOT have this function.

A concave hull can be thought of as a "shrink-wrapped" convex hull.

Correct answer by MappaGnosis on February 28, 2021

Try the Java Topology Suite (JTS). There is a user guide which has a heading "How to Union Many Polygons Efficiently".

Answered by Stev_k on February 28, 2021

Also, Sextante is a GIS library for Java. It may include that functionality - http://www.sextantegis.com/

Answered by GIS-Jonathan on February 28, 2021

if you have PostgreSQL, there is a sql function which have been writed from Dr. Horst Duester. he has two sql code, one is for Orthogonal Aggregation of Buildings and another is for non Orthogonal Aggregation... you can find sql codes here.

it determines edge of objects very good way with defination of threshold..and its query is so easy to use:

Query:

select aggregatepolygons(wkb_geometry, 50, true) from buildings group by art;

Examples:

Orthogonal Aggregation of Buildings

figure 1

Non Orthogonal Aggregation of Natural Objects

enter image description here

i hope it helps you...

Answered by Aragon on February 28, 2021

The aggregatepolygons function is published at github under:

https://github.com/hdus/pgtools

Answered by hdus on February 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP