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
Add DriverManager::get_drivers_for_filename for the ability to auto detect compatible Drivers for writing data (#510)
* Add DriverManager::get_drivers_for_filename
* Add docstring to DriverManager::get_drivers_for_filename; use match
* Satisfy clippy
* Improve readability for DriverManager::get_drivers_for_filename
* only test for available drivers in DriverManager::get_driver_by_name
* Add test for ESRI Shapefile for .shp file extension
* bool for vector/raster in DriverManager::get_drivers_for_filename
* Fix: modify test for gpkg.zip only for gdal v 3.7 onwards
* Fix: modify test for shp.zip only for gdal v 3.1 onwards
* Fixed the test failed due to Elasticsearch name capitalization change
* Rename the function and minor changes
* Use DriverIterator for looping through drivers
* Make `DriverManager::all()` return an Iterator
* Add function to get a single driver based on file extension
* Use `AsRef<Path>` instead of `&str` in guess_driver(s)_for_write
* Small cleanups
* Fix test
* Try to debug test
* Remove debugging code
* Rename methods and ignore case
* Add PR link to CHANGES.md
* Rename DriverProperties to DriverType
* Fix: wrong PR link location
---------
Co-authored-by: Laurențiu Nicola <[email protected]>
Copy file name to clipboardExpand all lines: CHANGES.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
## Unreleased
4
4
- Add `DriverIterator` format to iterate through drivers, as well as `DriverManager::all()` method that provides the iterator.
5
+
-<https://github.com/georust/gdal/pull/512>
5
6
6
7
-**Breaking**: `Feature::set_field_xxx` now take `&mut self`
7
8
-<https://github.com/georust/gdal/pull/505>
@@ -10,6 +11,9 @@
10
11
11
12
-<https://github.com/georust/gdal/pull/504>
12
13
14
+
- Added `DriverManager::get_output_driver_for_dataset_name` and `DriverManager::get_output_drivers_for_dataset_name` for the ability to auto detect compatible `Driver`(s) for writing data.
0 commit comments