Commit 2b7cd8fb authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Improve conversion of .gdb to .shp.

parent b5bb65aa
......@@ -2924,8 +2924,9 @@ def gdb2shp(src_ds, feature=''):
# call the osgeo ogr2ogr system utility
src_ds = pathlib.Path(src_ds)'ogr2ogr -f "ESRI Shapefile" {} {} {}'.format(
src_ds, src_ds.parent, feature))
str(src_ds).replace('.gbd', '.shp'), str(src_ds), feature))
def merge_tifs(trg_ds, tifs, compress=False, **kwargs):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment