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

MapInfo layer error when loaded from zipfile #20084

Closed
qgib opened this issue Dec 15, 2014 · 5 comments
Closed

MapInfo layer error when loaded from zipfile #20084

qgib opened this issue Dec 15, 2014 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Data Provider Related to specific vector, raster or mesh data providers
Milestone

Comments

@qgib
Copy link
Contributor

qgib commented Dec 15, 2014

Author Name: Paolo Cavallini (@pcav)
Original Redmine Issue: 11869
Affected QGIS version: 2.6.1
Redmine category:data_provider


Loading a shp form a zipfile works smoothly. On the contrary, a MapInfo file (.tab) throws an error (Layer not valid).

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2014

Author Name: Giovanni Manghi (@gioman)


is a QGIS problem or a OGR one?

here the following test fails with ogr

giovanni@sibirica:~/Desktop > ogrinfo -ro -al -so /vsizip/Worldcap.zip/WORLDCAP.TAB
FAILURE:
Unable to open datasource `/vsizip/Worldcap.zip/WORLDCAP.TAB' with the following drivers.
-> ESRI Shapefile
-> MapInfo File
...
...
...

where after unipping the folder the file WORLDCAP.TAB open just fine.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Dec 16, 2014

Author Name: Paolo Cavallini (@pcav)


In fact it is not supported by OGR, see:
http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip
http://lists.osgeo.org/pipermail/gdal-dev/2011-April/028384.html
Maybe better make them gray and not draggable.


  • priority_id was changed from Normal to Low

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: Giovanni Manghi (@gioman)


Maybe better make them gray and not draggable.

this would not solve entirely the issue as the zip layer can be dragged and dropped also from a system folder, or added using the standard "add vector layer" dialog.

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: Giovanni Manghi (@gioman)


I guess this should be closed as fixed upstream

http://lists.osgeo.org/pipermail/qgis-developer/2014-December/036070.html

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2014

Author Name: Paolo Cavallini (@pcav)


  • resolution was changed from to up/downstream
  • 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! Data Provider Related to specific vector, raster or mesh data providers labels May 25, 2019
@qgib qgib added this to the Version 2.8 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! Data Provider Related to specific vector, raster or mesh data providers
Projects
None yet
Development

No branches or pull requests

1 participant