docs.rs failed to build gdal-0.7.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
gdal-0.16.0
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());
}