| Crates.io | shapefile |
| lib.rs | shapefile |
| version | 0.7.0 |
| created_at | 2015-01-21 01:32:07.815876+00 |
| updated_at | 2025-04-05 10:58:20.404572+00 |
| description | Read & Write shapefiles in Rust |
| homepage | https://github.com/tmontaigu/shapefile-rs |
| repository | https://github.com/tmontaigu/shapefile-rs |
| max_upload_size | |
| id | 843 |
| size | 258,650 |
Rust library to read & write shapefiles .dbf files supported via the dbase crate
let mut reader = shapefile::Reader::from_path(filename).unwrap();
for result in reader.iter_shapes_and_records() {
let (shape, record) = result.unwrap();
println ! ("Shape: {}, records: ", shape);
for (name, value) in record {
println ! ("\t{}: {:?}, ", name, value);
}
println ! ();
}
You can check out examples in the examples folder