Bug report #14197

Export to shapefile from DXF throws an error: Attempt to write a non-point (MULTIPOINT) geometry to point shapefile

Added by Salvatore Larosa almost 9 years ago. Updated over 8 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Vectors
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22199

Description

Export to shapefile from DXF (Point) generates the following error:

Feature creation error (OGR error: Attempt to write non-point (MULTIPOINT) geometry to point shapefile.)

Sample data attached.

QU_extract.dxf (286 KB) Salvatore Larosa, 2016-01-29 07:34 AM

History

#1 Updated by Salvatore Larosa almost 9 years ago

  • Subject changed from Export to shapefile from DXF throws an error: Attempt to write a non-point (MULTIPOINT) geometry to point sapefile to Export to shapefile from DXF throws an error: Attempt to write a non-point (MULTIPOINT) geometry to point shapefile

#2 Updated by Salvatore Larosa almost 9 years ago

selecting the geometry type (Point) and checking "Force multi-type" or setting MULTIPOINT in Layer options does work as expected.

Could be something related to ffebfd9

#3 Updated by Jürgen Fischer over 8 years ago

  • Status changed from Open to Feedback

Works fine in master - with setting geometry type "automatic" and "Point" and w/ or w/o force multitype. But the DXF layer doesn't have any multipoints here (using GDAL 2.1).

#4 Updated by Andreas Neumann over 8 years ago

I just tested this in the latest 2.14 nightly release and in QGIS master (both on Windows) and it works fine. 843d17e

Salvatore: can we close this bug? Can you please test?

#5 Updated by Salvatore Larosa over 8 years ago

  • Status changed from Feedback to Closed

yes,fixed,thanks

Also available in: Atom PDF