Metro Extracts

Parts of the OpenStreetMap database for major world cities and their surrounding areas. The goal of these extracts is to make it easy to make maps for major world cities, even if they cross state or national boundaries.

Each city includes:

  1. Bzip’ed OpenStreetMap XML data in an .osm.bz2 file.
  2. Compressed OpenStreetMap binary PBF data in an .osm.pbf file.
  3. Coastline shapefile extracts of the immediate area in a .zip file.
  4. Point, line and polygon shapefiles from Osm2pgsql in a .zip file.

Provided by Michal Migurski on an expected monthly basis via extractotron. Contact me via Github to request new cities, or add them directly to cities.txt with a fork-and-pull-request.

Updated From Planet Feb 21, 2012

Coastline Shapefiles

Coastline objects in OpenStreetMap are not directly usable for rendering. They must first be joined into continent-sized polygons by the coastline error checker and converted to shapefiles. The files available below are up-to-date, error-corrected versions of the worldwide coastline generated using the code available from Subversion.

The coastline usually has errors in it. These files help show where those errors might be lurking, so that you can fix OpenStreetMap for the next time the coastline polygons are rendered: