[Qgis-user] Shapefile and GeoPackage

Riccardo D'Alvito r.chogan at hotmail.com
Wed May 12 14:11:53 PDT 2021


Good evening.

I would like some help regarding a difference between Shapefile format and GeoPackage format.

In the creation of a Shapefile, in the choice of the type of geometry you have point, multipoint, line and polygon. In the creation of a GeoPackage in addition to these there are also multiline, multipolygon etc.
So one can think that the Shapefile format does not support multiline and multipolygon geometries.
But when, for example, working with a Shapefile of lines geometry, you can add parts to the lines by transforming the geometry from line to multiline.

So my questions are the following:
What is the difference between the multiline of the GeoPackage format (which can be set as geometry already in the creation of the layer itself) and the multiline of the Shapefile format (which derives from the creation of a file with basic geometry of lines)?
Does the Shapefile format with multiline geometry (or multipolygons) have limitations compared to a GeoPackage with the same geometry?

Thank you. I hope I was clear.
A greeting,

Riccardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210512/e43c663e/attachment.html>


More information about the Qgis-user mailing list