<div dir="ltr"><div>I have downloaded north-america-latest.osm.pbf from geofabrik and am struggling trying set this up for use in QGIS.<br></div><div>My hope is to create a spatialite db but I receive the following error repeated over a dozen times using the following command:</div>
<div>ogr2ogr -f SQLite -dsco spatialite=yes -gt 20000 --config OGR_SQLITESYNCRONOUS OFF north-america.sqlite north-america-latest.osm.pbf</div><div><br></div><div>Warning 1: organizePolygons() received an unexpected geometry.</div>
<div>Either a polygon with interior rings, or a polygon with less than 4 points, or a non-Polygon geometry. Return arguments as a collection.</div><div><br></div><div>My search for a fix has proven fruitless after having the same outcome from a few attempts.</div>
<div>I am left with a 33.1GB file which Spatialite GUI can see but everything hangs when trying to do anything with GIS.</div><div><br></div><div>Thank You</div><div><br></div><div>-tommy</div></div>