[−][src]Crate gdal
GDAL bindings for Rust.
A high-level API to access the GDAL library, for vector and raster data.
Use
use std::path::Path; use gdal::Dataset; let mut dataset = Dataset::open(Path::new("fixtures/roads.geojson")).unwrap(); let layer = dataset.layer(0).unwrap(); for feature in layer.features() { let highway_field = feature.field("highway").unwrap(); let geometry = feature.geometry(); println!("{} {}", highway_field.into_string().unwrap(), geometry.wkt().unwrap()); }
Re-exports
pub use version::version_info; |
Modules
config | GDAL Configuration Functions |
errors | |
raster | GDAL Raster Data |
spatial_ref | |
vector | GDAL Vector Data |
version |
Structs
Dataset | |
Driver | |
LayerIterator | |
Transaction | Represents an in-flight transaction on a dataset. |
Traits
Metadata |
Type Definitions
GeoTransform |