Hi,

Here are the geometry types for a geopackage 
https://www.geopackage.org/spec/#geometry_types

And you will find the geometry types for shapefiles here.

https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf

For lines or multiline... it’s the same for both.  Limitations will be in the 
files size field names or field type that are more flexible in geopackage.  But 
a line is a line, a polygon is a polygon... multiline and multipolygons the 
same. To my knowledge there is no difference. Maybe someone else will have a 
better information.


Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 12 mai 2021 à 18:13, Riccardo D'Alvito <[email protected]> a écrit :
> 
> 
> 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
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to