<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 9/5/2024 7:17 PM, Greg Troxel wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:rmimskly9l0.fsf@s1.lexort.com">
      <pre class="moz-quote-pre" wrap="">This is more abusing a local geonerd list than osm, although I expect to
use this data for OSM editing, or at least finding things that maybe
should be different.

I'm trying to get parcel data into postgis so I can view it in qgis.
[...]

so perhaps my problem is not setting the layer type.

If anyone has any clues, I'd appreciate them -- trying to understand
better before writing to MassGIS.</pre>
    </blockquote>
    <p><span style="white-space: pre-wrap">I ran into a very similar problem recently importing some other data. </span><span
      style="white-space: pre-wrap">Ogr2ogr always seems to need a lot of help before it does the right thing...</span></p>
    <p><span style="white-space: pre-wrap">IIRC, I had to indeed specify the geometry type, something like -nlt MULTIPOLYGON, and I think I also had to add -nlt PROMOTE_TO_MULTI option since the data was a mix of single and multi features, and also -forceNullable (but that's probably not applicable in your case).</span></p>
    <p><span style="white-space: pre-wrap">- Lars</span></p>
    <p><span style="white-space: pre-wrap">
</span></p>
  </body>
</html>