<html><head></head><body>Hi<br>I may be wrong but I think this "issue" has been raised in the past (with Processing? By Matteo?) and from what I understood in the discussion, shapefiles are multi by default, not single (even if the features are of single part, the layer is identified as multi). Reason why they are handled as such.<br>Hoping that I do not say nonsense and confuse people more than necessary...<br><br>Regards,<br>Harrissou<br><br><div class="gmail_quote">Le 1 octobre 2019 07:03:24 GMT+02:00, Paolo Cavallini <cavallini@faunalia.it> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">this is my case indeed: a single line<br>I attach a sample here.<br>cheers.<br><br>On 01/10/19 07:01, Andrea Peri wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">I guess in a geopck it could reduce a multi in single only if it was a<br>multi but with one part only for every geometry.<br><br>A.<br><br><br>Il mar 1 ott 2019, 06:42 Paolo Cavallini <cavallini@faunalia.it<br><mailto:cavallini@faunalia.it>> ha scritto:<br><br> Hi all,<br><br> I have a shp with a single line. I drag and drop it from DB Manager into<br> either a geopackage or PostGIS, choosing "single instead of multi"<br> option. The resulting layer is still multi, as shown in DB Manager<br> itself; same thing with a memory layer, it works. QGIS 3.4<br> to me it looks like a bug. opinions?<br> cheers.<br><br> -- <br> Paolo Cavallini - www.faunalia.eu <<a href="http://www.faunalia.eu">http://www.faunalia.eu</a>><br> QGIS.ORG <<a href="http://QGIS.ORG">http://QGIS.ORG</a>> Chair:<br> <a href="http://planet.qgis.org/planet/user/28/tag/qgis%20board/">http://planet.qgis.org/planet/user/28/tag/qgis%20board/</a><hr> QGIS-Developer mailing list<br> QGIS-Developer@lists.osgeo.org <mailto:QGIS-Developer@lists.osgeo.org><br> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><hr>QGIS-Developer mailing list<br>QGIS-Developer@lists.osgeo.org<br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br><br></blockquote></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>