User:RichardMann

From OpenStreetMap Wiki
Jump to navigation Jump to search

Started using OpenCycleMap - Dec 2008

Based - Oxford, UK

Objective - To show Oxford's twin network of cycle routes - one a set of quiet routes for those who want or need to avoid the traffic, and the other for fast cyclists along the main roads into town, many of which have narrow cycle lanes or bus lanes


Mapnik for Dummies (Windows)

0) Join Mapnik Users mailing list (https://lists.berlios.de/mailman/listinfo/mapnik-users)

1) Get yourself some data (export tab "OpenStreetMap XML Data"; not more than a screenful at z13 or get one of the extracts available at http://download.geofabrik.de/osm/, such as http://download.geofabrik.de/osm/europe/great_britain/england/leicestershire.osm.bz2)

1a) If you haven't already got it, download http://www.bzip.org/1.0.5/bzip2-105-x86-win32.exe, move it to c:\program files\bzip\, rename it as bunzip2.exe, then go to the bz2 file, left-click, right-click, properties, find where it says what it opens with, click on change, then browse, then select bunzip2.exe. Then when you double-click on bz2 files in explorer, they unzip.

2) Download PostgreSQL to your desktop. Go to http://www.postgresql.org/download/windows and click on "Download the one click installer" Or take a shortcut to http://www.enterprisedb.com/products/pgdownload.do#windows, and click on the windows button. This a 38MB job. Then you double-click on the file. I left Port as the default (5432) and made the locale English - UK. Didn't know what Stack Builder was so cancelled out. 2a) Download PostGIS (a block of extra features for PostgreSQL) at http://postgis.refractions.net/download/windows/

3) Download http://tile.openstreetmap.org/osm2pgsql.zip to your desktop & right-click/extract-all to C:\Program Files\ (took six attempts to get the full 1.78MB)