Struct gdal::vector::Dataset [] [src]

pub struct Dataset { /* fields omitted */ }

Vector dataset

use std::path::Path;
use gdal::vector::Dataset;

let mut dataset = Dataset::open(Path::new("fixtures/roads.geojson")).unwrap();
println!("Dataset has {} layers", dataset.count());

Methods

impl Dataset
[src]

Open the dataset at path.

Get number of layers.

Get layer number idx.

Create a new layer with a blank definition.

Trait Implementations

impl Metadata for Dataset
[src]

impl Drop for Dataset
[src]

A method called when the value goes out of scope. Read more