tudelft3d / pprepair

Validation and Automatic Repair of Planar Partitions
GNU General Public License v3.0
57 stars 22 forks source link

--outerrors option doesn't work #31

Open RobertoLazarte opened 8 years ago

RobertoLazarte commented 8 years ago

I'm working with Lucas on repairing shape files of the enumeration districts of the Brazilian 2010 Census.

In order to create a shapefile with the errors, we used the option --outerrors, but didn't work in all of our tries. Using the shape "11SEE250GC_SIR.shp" as example, we ran prepair first to validate the geometries. Then, we used:

pprepair -i "11SEE250GC_SIR_1.shp" -v --outerrors err.shp

but we are getting the message: "ERROR 1: TopologyException:Found non-noded intersection between LINESTRING..."

The option --outtr works fine, but for some reason --outerrors always get that error. What should be the right usage in order to output the erros?

kenohori commented 8 years ago

I think this comes from GEOS. @hugoledoux ?

lucasmation commented 8 years ago

let me add that:

1) we are using pprepair-new branch on theese tests

2) option --outerrorslist also does not work

pprepair -i "11SEE250GC_SIR_1.shp" -v --outerrors err.scv The MAC command terminal just shows ">" in the line bellow