Changes between Version 8 and Version 9 of RenderingOsmData


Ignore:
Timestamp:
Jul 15, 2009, 11:07:21 AM (15 years ago)
Author:
yjacolin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmData

    v8 v9  
    2020=== Download ===
    2121
    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/
    2323
    2424 * 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)
     
    127127
    128128this 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
     130You 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}}}
     135Return should be (for France) something like:
     136{{{
     137                     extent
     138-------------------------------------------------
     139 BOX(-572406.4375 5067315,1064254.875 6637725.5)
     140(1 row)
     141}}}
    129142
    130143{{{