[][src]Crate extract_cities

Extracts all cities from a large .osm file.

  1. Reads a large .osm file
  2. Finds all boundary relations representing cities
  3. Calculates the polygon covering that city
  4. Uses osmconvert to clip the large .osm to a smaller one with just the city

This tool writes all output files (.poly boundaries and .osm extracts) in the current directory!

Functions

main