Bug report #22107

Create vector New shapefile POLYGON

Added by salvatore fiandaca almost 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:High
Assignee:-
Category:Data Provider/OGR
Affected QGIS version:3.4.8 Regression?:No
Operating System:win 10 64b OSGeo4W Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:29920

Description

Layer → Create vector → New shapefile
and create a POLIGON shapefile

QGIS sees it as if it were MULTIPOLIGON (go to layer properties,
information)

this is a problem if an algorithm or plugin only accepts
polygon geometries, in fact the CLIPPER plugin [0] only accepts polygons and therefore goes into error.

[0] https://plugins.qgis.org/plugins/clipper/

thank you

History

#1 Updated by Alessandro Pasotti almost 5 years ago

  • Resolution set to invalid
  • Status changed from Open to Closed

For shapefiles there is no difference between multi and single geometries, for this reason ogr and QGIS treat them as multi.

Also available in: Atom PDF