Changes between Version 19 and Version 20 of RenderingOsmDataUbuntu


Ignore:
Timestamp:
Sep 10, 2011 12:47:49 AM (4 years ago)
Author:
tbonfort
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmDataUbuntu

    v19 v20  
    117117 * Website: http://code.google.com/p/mapserver-utils/
    118118 * There are two branches of the mapserver-utils project that can be used, depending on your needs:
    119    * The 'imposm-branch' contains the latest and greatest developments from Thomas bonfort, with a focus on France data
     119   * The trunk contains the latest and greatest developments
    120120   * The 'imposm-dm-branch' is focused on Canada/US data, and contains supports for things such as US highway shields.
    121121 * To use the 'imposm-dm-branch' from SVN:
     
    124124  svn checkout http://mapserver-utils.googlecode.com/svn/branches/imposm-branch/ mapserver-utils-svn-imposm
    125125  cd mapserver-utils-svn-imposm
    126 ... no files to edit, the changes listed for the imposm-branch below are already included in the imposm-dm-branch
    127 }}}
    128  * To use the 'imposm-branch' from SVN:
    129 {{{
    130   cd ~/osm-demo/
    131   svn checkout http://mapserver-utils.googlecode.com/svn/branches/imposm-branch/ mapserver-utils-svn-imposm
    132   cd mapserver-utils-svn-imposm
     126... no files to edit, the changes listed for trunk below are already included in the imposm-dm-branch
     127}}}
     128 * To use the trunk from SVN:
     129{{{
     130  cd ~/osm-demo/
     131  svn checkout http://mapserver-utils.googlecode.com/svn/trunk/ mapserver-utils-svn
     132  cd mapserver-utils-svn
    133133
    134134... Update mapserver-utils's osmbase.map and Makefile as follows:
     
    149149OSM_EXTENT=-20000000 -20000000 20000000 20000000
    150150...
    151 STYLE=outlined,google
     151STYLE=google
    152152-------------------->8-----------------------
    153153}}}
     
    160160 * Execute the mapserver-utils makefile to generate the mapfile. Note that the first time you run 'make' several large files will be downloaded (country boundaries, etc.). This will happen only the first time.
    161161{{{
    162   cd mapserver-utils-svn-imposm
     162  cd mapserver-utils-svn
    163163  make
    164164}}}
     
    168168 * Access your map online using MapServer's built-in template=openlayers mode:
    169169{{{
    170 http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google,usshields.map&mode=browse&template=openlayers&layers=all
     170http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn/osm-outlined,google,usshields.map&mode=browse&template=openlayers&layers=all
    171171or
    172 http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google.map&mode=browse&template=openlayers&layers=all
     172http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn/osm-outlined,google.map&mode=browse&template=openlayers&layers=all
    173173}}}
    174174
     
    177177 * Required packages:
    178178{{{
    179   sudo apt-get install autoconf apache2-dev libcairo2-dev libcurl4-openssl-dev
     179  sudo apt-get install autoconf apache2-dev libpixman-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libgdal-dev libgeos-dev
    180180}}}
    181181 * Checkout and build source:
     
    210210            <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google,usshields.map</MAP>
    211211... or ...
    212             <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google.map</MAP>
     212            <MAP>/path/to/osm-demo/mapserver-utils-svn/osm-google.map</MAP>
    213213...
    214214
     
    250250
    251251 * Ready to test server, see URL docs at http://code.google.com/p/mod-geocache/wiki/RequestingTilesFromService#TMS_service
     252 * Demo site at http://yourserver.tld/mapcache/demo/
    252253 * TMS service available at http://yourserver.tld/mapcache/tms/1.0.0/
    253254   * Sample tile:  http://yourserver.tld/mapcache/tms/1.0.0/osm@g/3/2/5.png