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
Fail to read an online zipped ESRI GDB file with Fiona 1.8.22, but success with Fiona 1.8.13 #1167
Comments
@UrbanGISer I can't reproduce this issue with Fiona 1.8.22 and GDAL 3.6.0. Without any error messages, it is hard to guess what could be the issue here. |
Thanks, Buffat ! I will update my GDAL and try it |
THanks, I just update my GDAL and fiona, it throw out the following error import fiona 1.8.22
|
@UrbanGISer can you try |
Thanks, but it still does not work: CPLE_OpenFailedError Traceback (most recent call last) File fiona_err.pyx:291, in fiona._err.exc_wrap_pointer() CPLE_OpenFailedError: '/vsizip/vsicurl/https://raw.githubusercontent.com/UrbanGISer/Test/main/Case05new.gdb.zip' does not exist in the file system, and is not recognized as a supported dataset name. During handling of the above exception, another exception occurred: DriverError Traceback (most recent call last) File D:\ProgramData\Anaconda3\envs\my_python_env\lib\site-packages\fiona\env.py:417, in ensure_env_with_credentials..wrapper(*args, **kwargs) File D:\ProgramData\Anaconda3\envs\my_python_env\lib\site-packages\fiona_init_.py:362, in listlayers(fp, vfs) File fiona\ogrext.pyx:1659, in fiona.ogrext._listlayers() File fiona_shim.pyx:90, in fiona._shim.gdal_open_vector() DriverError: '/vsizip/vsicurl/https://raw.githubusercontent.com/UrbanGISer/Test/main/Case05new.gdb.zip' does not exist in the file system, and is not recognized as a supported dataset name. |
I can confirm that this is no longer an issue for Fiona 1.9.2, which will be released today.
|
@sgillies thanks a lot !! |
I expected to read an online zipped ESRI GDB file with Fiona 1.8.22, it failed, while when I try it in another environment with Fiona 1.8.13, it succeeded.
Steps to reproduce the problem.
import fiona
import geopandas as gp
path="https://raw.githubusercontent.com/UrbanGISer/Test/main/Case05new.gdb.zip"
c = fiona.open(path,layer=0)
gdf = gp.GeoDataFrame.from_features(c)
gdf.crs=c.crs.get('init')
gdf.head()
Operating system
Win 11
Fiona and GDAL version and provenance
Fiona 1.8.22 with print (osgeo.gdal.version) 3.5.2
Fiona 1.8.13 with print (osgeo.gdal.version) 3.0.2
The text was updated successfully, but these errors were encountered: