# shapefile-rs **Repository Path**: huangning2/shapefile-rs ## Basic Information - **Project Name**: shapefile-rs - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-01-25 - **Last Updated**: 2024-01-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # shapefile-rs Rust library to read & write shapefiles .dbf files supported via the [dbase](https://crates.io/crates/dbase) crate ```rust 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](https://github.com/tmontaigu/shapefile-rs/tree/master/examples/) folder