JamesChevalier / cities

Poly files for cities, which can be used to create OSM files out of larger regions
http://citystrides.com/cities
158 stars 49 forks source link
city city-osm openstreetmap osm poly

cities

This is a collection of .poly files for cities, with the definition of 'city' being the area one level under the region/state level. There isn't a whole lot of concern here for discrepancies between cities, towns, villages, etc.

These .poly files are used to then extract just the city's OSM file from a greater region's OSM file. For example, creating an exact OSM file for Boston from the North America OSM file. More information on actually using the .poly files is provided at the bottom of this document.

The ultimate goal is to have them all, but it's a rough process right now. The process explained below shows how to retrieve the .poly file for a specific city, but the process I've gone through to gather most of the files in this repository is much more automated and uses Overpass Turbo.

How To Get The Poly File For A Specific City

Sometimes a city won't have a Relation ID, or the Relation that exists will be broken. For those instances, the final OSM file can be created manually by tracing the city at http://extract.bbbike.org/. Just make sure to select one of the 'OSM XML' formats in the top pulldown menu there.

How To Use The Poly File

You can use the .poly file to extract that region from a greater region's OSM file.