The style is still a work in progress and you are encouraged to use the issue tracker to note missing features or problems with the current implementation.
1. Set up PostgreSQL & PostGIS
2. Import OpenStreetMap data
You will need an OSM database extract in one of the following formats:
- .osm.pbf (binary; smallest & fastest)
- .osm.bz2 (compressed xml)
- .osm (xml)
You can find appropriate data extracts for a variety of regions at http://download.geofabrik.de/osm or http://downloads.cloudmade.com. Exracts of select metropolitan areas are available at http://metro.teczno.com. See the OSM wiki for information about (very large) full-planet downloads.
The Imposm import command looks like this:
imposm -U <postgres_user> -d <postgis_database> \ -m /path/to/osm-bright/imposm-mapping.py --read --write \ --optimize --deploy-production-tables <data.osm.pbf>
imposm --help or the online documentation for more details.
Note that if you use a custom database prefix or want to see the style on a
tables that have not been "deployed to production" (ie. have an
prefix) you will have to manually update the SQL queries in the MML file to
3. Run configure.py
Included in with this style is a configuration script to help you adjust parameters such as the database connection information and a few other things.
TODO: go on...