tudelft3d / prepair

Automatic repair of single polygons (according to the OGC Simple Features / ISO19107 rules) using a constrained triangulation.
GNU General Public License v3.0
115 stars 24 forks source link

Consider supporting Multipolygons #24

Closed peterneubauer closed 9 years ago

peterneubauer commented 9 years ago

Hi there, when trying to repair the geometry in https://raw.githubusercontent.com/whosonfirst/whosonfirst-data/master/data/856/820/41/85682041.geojson, I extract it to a file and run

../prepair/prepair --ogr tmp.json
First feature ain't a POLYGON.

Would it be hard to support MYLTIPOLYGON?

kenohori commented 9 years ago

Hi Peter,

Try branch improvements-with-ogr. That one has full support for multipolygons.

peterneubauer commented 9 years ago

Thanks a lot!