[Qgis-user] Fwd: Merging polygons leaves isolated lines

Richard Duivenvoorde rdmailings at duif.net
Wed Jan 15 12:06:04 PST 2014


On 15-01-14 19:28, Lynkos wrote:
> Thanks Paolo for the rapid response. It does look as though my problem
> is related. Any guidance on how I can clean up the original shapefile?
> Sarah.

Hi All,

People from the Technical University Delft have created an automated way
for: "Validation and Automatic Repair of Planar Partitions". It is
called 'pprepair'.

I'm not 100% sure it fixes your problem, but as a commandline tool it is
pretty easy to run.

It's pure c++ but has cgal as dependency. On debian it was 2 minutes to
build and run.

Code is here:
https://github.com/tudelft-gist/pprepair

Some theory:
http://www.gdmc.nl/ken/files/12_osgis.pdf

And Barry blogging about it:
http://geospaced.blogspot.nl/2012/09/fixing-polygons-with-pprepair.html

If interesting, have it a go.

Regards,

Richard Duivenvoorde

ps actually I promised the TU people to write a simple qgis plugin for
calling it in a separate process (like we do with gdal commands), so if
you are on it.....




More information about the Qgis-user mailing list