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

Most upvoted comments

Ok, thanks