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

DXF drag@drop import: cannot distinguish between different geometry types #16768

Closed
qgib opened this issue May 24, 2013 · 3 comments
Closed

DXF drag@drop import: cannot distinguish between different geometry types #16768

qgib opened this issue May 24, 2013 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented May 24, 2013

Author Name: Gabriele Dallago (Gabriele Dallago)
Original Redmine Issue: 7895
Affected QGIS version: master


By dragging and dropping a DXF file into QGIS 1.8, a single QGIS layer is created, containing e.g. point and lines at the same time.
The new layer with more geometry types cannot be properly handled in QGIS (for example you cannot cut and past it into a PostGIS new layer).


@qgib
Copy link
Contributor Author

qgib commented May 24, 2013

Author Name: Giovanni Manghi (@gioman)


does not happen on qgis master, can you try and report back? cheers!


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented May 31, 2013

Author Name: Radim Blazek (@blazek)


If a layer has multiple geometries, ogr provider guess the geometry type from the first feature. Other geometries are not rendered but appear in attribute table for example.

Features with geometry type other than the first one may be for example copied to clipboard (even if not visible). If such features are pasted to a layer with different geometry type constraint, it fails.

I am going to fix that by virtual sublayers for each geometry type.

@qgib
Copy link
Contributor Author

qgib commented May 31, 2013

Author Name: Radim Blazek (@blazek)


Fixed in changeset "af0f61e699d89c4db9ee8f618c032b75e6211d33".


  • status_id was changed from Feedback to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label May 24, 2019
@qgib qgib added this to the Version 2.0.0 milestone May 24, 2019
@qgib qgib closed this as completed May 24, 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!
Projects
None yet
Development

No branches or pull requests

1 participant