<div dir="ltr"><div><br><br>On Mon, Sep 25, 2017 at 10:15 AM, Markus Metz <<a href="mailto:markus.metz.giswork@gmail.com">markus.metz.giswork@gmail.com</a>> wrote:<br>><br>><br>><br>> On Sun, Sep 24, 2017 at 10:18 PM, Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> wrote:<br>> ><br>> > On Sun, 24 Sep 2017, Rich Shepard wrote:<br>> ><br>> >>  Using the GUI I ran v.in.ogr, specifying the directory in which the file<br>> >> is found (the location uses the final EPSG reported when 'ogrinfo -al -so'<br>> >> was run with output directed to a file), the format, and clicked the single<br>> >> layer in the Input tab. This is the displayed error message:<br>> >><br>> >> (Sun Sep 24 11:59:03 2017) v.in.ogr input=/home/rshepard/data/grassdata/wash-state-data/farmland/2016WSDACropDistribution.gdb layer=WSDACrop_2016<br>> >> Check if OGR layer <WSDACrop_2016> contains polygons...<br>> >> Importing 198132 features<br>> >> Importing 198132 features (OGR layer <WSDACrop_2016>)...<br>> >> ERROR: Unknown geometry type<br>> >> (Sun Sep 24 11:59:59 2017) Command finished (55 sec)<br>> ><br>> ><br>> >   More information I should have included. From the ogrinfo metadata:<br>> ><br>> > Layer name: WSDACrop_2016<br>> > Geometry: Multi Polygon<br>> > Feature Count: 198132<br>> ><br>> >   What does GRASS call 'Multi Polygon'?<br>><br>> Each polygon of a multi-polygon is imported separately, later on polygons are converted to GRASS areas.<br>><br>> Regarding the error message, GRASS recognizes the OGR geometry types point, linestring, polygon, geometry collection, multi-point, multi-linestring, multi-polygon. Other OGR geometry types like curves and surfaces are not supported.<br><br></div>A multi-surface has sneaked into the layer with multi-polygons, that's causing the error in v.in.ogr.<br><div><br></div><div>We could change that error into a warning, skipping OGR geometries of unsupported type.<br></div><div><br></div><div>Markus M<br></div><div><br></div></div>