gdal: Error creating a gdb file with OpenFileGDB driver
Trying to write to a file with OpenFileGDB driver returns this error:
GDAL method 'GDALCreate' returned a NULL pointer. Error msg: 'Only vector datasets supported'
.
This is the abbreviated version of how I’m creating a gdb file:
let temp_path = env::temp_dir().join(path);
let driver = DriverManager::get_driver_by_name("OpenFileGDB")?;
driver.create_vector_only(temp_path)?
There are no errors when using proprietary FileGDB
driver, but OpenFileGDB
should support this operation starting from 3.5 version
Thanks
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 21 (8 by maintainers)
Commits related to this issue
- Merge #393 393: Pass `GDT_Unknown` for vector layers r=metasim a=lnicola - [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md). - [... — committed to georust/gdal by bors[bot] a year ago
- Merge #393 393: Pass `GDT_Unknown` for vector layers r=lnicola a=lnicola - [x] I agree to follow the project's [code of conduct](https://github.com/georust/gdal/blob/master/CODE_OF_CONDUCT.md). - [... — committed to georust/gdal by bors[bot] a year ago
Ok, thanks