You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdf=gpd.read_file(geodatasets.get_path("nybb"))
gdf.to_file("out.path.shz")
read=gpd.read_file("out.path.shz") # this works finegdf.to_file("out2.shp.zip", engine='pyogrio', driver='ESRI Shapefile') # this fails with pyogrio, works with fionaread=gpd.read_file("out2.shp.zip")
File"C:\Data\myDocuments\Code\python_other\data_science_open_source\pandas_new\venv\lib\site-packages\pyogrio\geopandas.py", line645, inwrite_dataframewrite(
File"C:\Data\myDocuments\Code\python_other\data_science_open_source\pandas_new\venv\lib\site-packages\pyogrio\raw.py", line709, inwriteogr_write(
File"pyogrio\\_io.pyx", line2294, inpyogrio._io.ogr_writeFile"pyogrio\\_io.pyx", line2193, inpyogrio._io.create_ogr_dataset_layerpyogrio.errors.DataLayerError: Failedtocreatefile/vsizip/out2.shp.zip/out2.shp.shp: Noerror
Picked this up going through the handful of recent zipfile related geopandas issues. Seems to be a double .shp.shp extension inside the last line, not sure if that's related or also an oddity.
The text was updated successfully, but these errors were encountered:
Picked this up going through the handful of recent zipfile related geopandas issues. Seems to be a double
.shp.shp
extension inside the last line, not sure if that's related or also an oddity.The text was updated successfully, but these errors were encountered: