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

Paolo Cavallini cavallini at faunalia.it
Wed Jan 15 22:53:17 PST 2014


Il 15/01/2014 21:06, Richard Duivenvoorde ha scritto:
> 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.....

good stuff! a Processing provider would be much welcome. The
availability of packages for many platforms will be the limiting factor
for its spread, however. Do you know if the authors have plans to
package it for e.g. Debian and OSGeo4W?
Thanks.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html


More information about the Qgis-developer mailing list