Unable to load GeoDataFrame from geodatabase file
See original GitHub issueI am getting a strange timeout error when trying to load a geodatabase file using geopandas (version 0.2.1) inside a Docker container (image has Ubuntu 16.04 LTS, Python version 2.7.13.
In [1]: import geopandas
In [2]: import os
In [3]: polys = geopandas.GeoDataFrame.from_file(os.path.join('/my/data/folder/', 'VRG_01.gdb'), layer='VRG')
Killed
root@75d68acd876e:#
I see the Killed message on the console about 5-6 minutes after the geopandas.GeoDataFrame.from_file() call.
Previously this used to work, and there is nothing wrong with the underlying data file. I’ve tried upgrading geopandas to 0.3.0, which is the latest on PyPi, and also Ubuntu (to 17.04), but I have the same problem.
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
not able to read all rows from geodataframe of GDB
I'm trying to read the geodatabase file using geopandas. I'm able to read it but it only taking 10 rows in GeoDataFrame. In...
Read more >Reading and Writing Files - GeoPandas
GeoDataFrames can be exported to many different standard formats using the geopandas.GeoDataFrame.to_file() method. For a full list of supported formats, type ...
Read more >Geopandas: Write layer back into GeoDataBase
BUT I have no idea or if it is possible to write that geodataframe back into the GeoDataBase? I tried: read_shp.to_file(GDB_file, layer= ...
Read more >Python API: TypeError on geometry column for Spati...
I have tried this on point, line and multipolygon shapefiles, and file GDB feature classes. All locally loaded data eventually returns this ...
Read more >Data in/out: Preparing GeoDataFrames from spatial data
import geopandas as gpd # Read file from Shapefile fp ... Read file from File Geodatabase fp = "data/finland.gdb" data = gpd.read_file(fp, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The
Killedmessage is a Docker out-of-memory error. I have gotten this with large files using geopandas.read_file()and.to_crs(). But if I increase the memory allocated to Docker some of theKilledmessages can be avoided.OK, good to know!