I have a problem when trying to export my Polygons with
geopandas in shapefiles as Polygons. When I import the file later on in QGIS, they are analised as MultiPolygons.
I believe it is a tendency with the ESRI shapefile format, but is their a way around that permits to keep on with the shapefile format ? Or do I need to use another exporting format?
Here are some screenshots :
- Exporting with
geopandasin Python. There appears to be no problem.
- Importing in QGIS. The features are imported as MultiPolygons instead of Polygons.
The objective is to import this data to a PostGIS database using
shp2pgsql. QGIS is a way to ensure that the shapefile indeed contains Polygons and not MultiPolygons. See screenshot below :
- Testing if there are Polygons in the shapefile :