Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
qgib opened this issue Jan 29, 2016 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Jan 29, 2016

Author Name: Salvatore Larosa (@slarosa)
Original Redmine Issue: 14197
Affected QGIS version: master
Redmine category:vectors


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.


@qgib
Copy link
Contributor Author

qgib commented Jan 29, 2016

Author Name: Salvatore Larosa (@slarosa)


  • subject was 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

@qgib
Copy link
Contributor Author

qgib commented Jan 29, 2016

Author Name: Salvatore Larosa (@slarosa)


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

@qgib
Copy link
Contributor Author

qgib commented Jun 22, 2016

Author Name: Jürgen Fischer (@jef-n)


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).


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2016

Author Name: Andreas Neumann (@andreasneumann)


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?

@qgib
Copy link
Contributor Author

qgib commented Jun 30, 2016

Author Name: Salvatore Larosa (@slarosa)


yes,fixed,thanks


  • status_id was changed from Feedback to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats) labels May 25, 2019
@qgib qgib added this to the Version 2.14 milestone May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Vectors Related to general vector layer handling (not specific data formats)
Projects
None yet
Development

No branches or pull requests

1 participant