<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, sans-serif">Hi again!</font></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><font face="arial, sans-serif">Andrea Giudiceandrea responded :"<i>it seems to me the error message says the contrary: you are trying to import MultiPolygon geometries in a Polygon column geom type table.</i>"</font></pre><font face="arial, sans-serif">Well I am not sure about that. It may be a semantic matter.</font><div><font face="arial, sans-serif">The PostGIS table is non-existent at the time of import, so the importer can create any geometry type needed. Preferably polygon since the table in the geopackage has </font>geometrytype=Polygon.</div><div>And the error message "<i>PostGIS error while adding features: ERROR:  Geometry type (MultiPolygon) does not match column type (Polygon)</i>" does not really define origin and target. </div><div>Knowing that the geopackage table is polygon I assumed that for some reason a PostGIS multipolygon table was created, causing the mismatch.</div><div><br></div><div>But let us assume that you are right - that the origin really is multipolygon - how can I specify that a multipolygon table be created when importing it to PostGIS?</div><div><br></div><div>Regards, Mats.E<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p><b><img src="https://ci3.googleusercontent.com/mail-sig/AIorK4zZOnGEv-2kS9yJ4SFPKcrBg2xrtaASeGtsOWQ8PFU2R-I5XDcC8JIQkB5A6Q4xLk_LiNENK6g"><br></b></p><p><b>GisKraft</b>, Geodatakonsult</p><p>Mats Elfström,
Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden<br>tel: +46 70 595 39 35
/ <a href="http://www.giskraft.se" target="_blank">www.giskraft.se</a></p></div></div></div></div></div></div></div></span></div></div></div></div><br><br></div></div>