-
Notifications
You must be signed in to change notification settings - Fork 902
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
BUG: InvalidVersion error when writing a file on disk with engine=fiona #3147
Comments
How did you install GDAL that it comes with such a version? |
Unfortunately, it's the one coming with the ersi conda channel 🙄 PS : I'm not the one having this bug, see the two linked issues in the header |
I suppose we could strip the version of the appended e. Though this is clearly an issue caused by Esri that should be solved by Esri. They take perfectly fine software, apparently adapt it in some way and produce invalid version tag the original software never had and never would've because the versioning system is not a random collection of numbers and letters as Esri assumes... |
I know, I know, them having their own conda channel is a pain 😞 They seems to be notified with the issue on their forum. With |
For most of users yes, but Fiona will still be available and that code path shall work as well. |
Issue alrerady reported in esri forum and stack overflow.
Code Sample, a copy-pastable example
or
Problem description
Impossible to write a vector on disk with
fiona
's engine.geopandas
checksGDAL
versions throughfiona
using theVersion
packagefiona
outputs aGDAL
version not handled byVersion
(3.7.0e
instead of3.7.0
)geopandas
doesn't handle such exception (InvalidVersion
) and failsExpected Output
Handle the
InvalidVersion
error in this part of the code.Output of
geopandas.show_versions()
Workaround
The workaround is to write the file on disk using pyogrio as stated here:
The text was updated successfully, but these errors were encountered: