Changes between Version 8 and Version 9 of RenderingOsmData
- Timestamp:
- Jul 15, 2009, 11:07:21 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RenderingOsmData
v8 v9 20 20 === Download === 21 21 22 * Download an osm excerpt, for example from http://downloads.cloudmade.com/oceania/australia/australia.osm.bz2 22 * Download an osm excerpt, for example from http://downloads.cloudmade.com/oceania/australia/australia.osm.bz2, other countries can be found at http://downloads.cloudmade.com/ 23 23 24 24 * Optionally, download and unzip the shapefiles containing the world coastlines from http://hypercube.telascience.org/~kleptog/processed_p.zip (this shapefile isn't included or rendered with the supplied mapfile) … … 127 127 128 128 this is a work in progress mapfile, that compiles a template and a style file into a full-blown MapServer mapfile. The supplied Makefile supposes that the C preprocessor is installed on your system. The ''fonts.lst'' file contains the path to the two fonts used: adapt to reference similar fonts if the ones in the file don't exist on your system. 129 130 You may need to edit the mapfile to change the EXTENT parameter to suit your own data. To find the correct extent, run this command: 131 {{{ 132 # su postgres 133 # psql -d osm -c "SELECT extent(way) FROM osm_line" 134 }}} 135 Return should be (for France) something like: 136 {{{ 137 extent 138 ------------------------------------------------- 139 BOX(-572406.4375 5067315,1064254.875 6637725.5) 140 (1 row) 141 }}} 129 142 130 143 {{{