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

GDAL still failing to read some TGZ archives #1396

Closed
simoneves opened this issue Mar 27, 2019 · 2 comments
Closed

GDAL still failing to read some TGZ archives #1396

simoneves opened this issue Mar 27, 2019 · 2 comments
Assignees
Labels
Milestone

Comments

@simoneves
Copy link

Expected behavior and actual behavior.

GDAL still failing to read some TGZ archives, for example:

https://prd-tnm.s3.amazonaws.com/StagedProducts/Small-scale/data/Boundaries/polbndl_usa.gdb_nt00913.tar.gz

Steps to reproduce the problem.

$ ogrinfo /vsitar/polbndl_usa.gdb_nt00913.tar.gz/polbndl_usa.gdb
FAILURE:
Unable to open datasource `/vsitar/polbndl_usa.gdb_nt00913.tar.gz/polbndl_usa.gdb' with the following drivers.

Unpack with tar xzvf and repack with tar czvf and then it works.

$ ogrinfo /vsitar/polbndl_usa.gdb_nt00913_repack.tar.gz/polbndl_usa.gdb
Warning 1: VSIFSeekL(xxx, SEEK_END) may be really slow on GZip streams.
INFO: Open of /vsitar/polbndl_usa.gdb_nt00913_repack.tar.gz/polbndl_usa.gdb' using driver OpenFileGDB' successful.
1: polbnd_usa (Multi Line String)

Operating system

Ubuntu 18.10 x64

GDAL version and provenance

GDAL 2.3.2

Will try it with current

@simoneves
Copy link
Author

Fails in 2.4.1 also

@rouault rouault self-assigned this Mar 27, 2019
rouault added a commit that referenced this issue Mar 27, 2019
@rouault rouault added the bug label Mar 27, 2019
@rouault rouault added this to the 2.4.2 milestone Mar 27, 2019
@simoneves
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants