use std::fs::File; use std::io::BufReader; use mapsforge_rs::MapHeader; fn main() -> Result<(), Box> { let file = File::open("test_data/India-North-West_oam.osm.map")?; let mut reader = BufReader::new(file); let header = MapHeader::read_from_file(&mut reader)?; println!("Header: {:#?}", header); Ok(()) }