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.

Get layer with name.

Create a new layer with a blank definition.

Trait Implementations

impl Metadata for Dataset
[src]

impl Drop for Dataset
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Dataset

impl !Sync for Dataset