Skip to main content

drivers

Function drivers 

Source
pub fn drivers() -> Vec<&'static str>
Expand description

List all enabled format drivers.

Equivalent to GDALAllRegister() + iterating registered drivers in C GDAL.

Returns a list of human-readable driver names for all features currently compiled in.

§Example

let drivers = oxigdal::drivers();
assert!(drivers.contains(&"GTiff"));     // default feature
assert!(drivers.contains(&"GeoJSON"));   // default feature
assert!(drivers.contains(&"ESRI Shapefile")); // default feature