Function clip_osm::main[][src]

pub(crate) fn main() -> Result<()>

Clips an .osm.pbf specified by --pbf using the Osmosis boundary polygon specified by --clip, writing the result as .osm.xml to --out. This is a simple Rust port of osmconvert large_map.osm -B=clipping.poly --complete-ways -o=smaller_map.osm.