Changes between Version 4 and Version 5 of RenderingOsmDataUbuntu


Ignore:
Timestamp:
Aug 9, 2011, 1:13:45 PM (13 years ago)
Author:
dmorissette
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmDataUbuntu

    v4 v5  
    193193http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn-imposm/osm.map&mode=browse&template=openlayers&layers=all
    194194}}}
     195
     196== Setup Mod-Geocache ==
     197 * Relevant docs: http://mod-geocache.googlecode.com/svn/trunk/INSTALL
     198 * Required packages:
     199{{{
     200  sudo apt-get install autoconf
     201  sudo apt-get install apache2-dev
     202  sudo apt-get install libcairo2-dev
     203}}}
     204 * Checkout and build source:
     205{{{
     206  mkdir ~/src
     207  cd ~/src
     208  svn checkout http://mod-geocache.googlecode.com/svn/trunk/ mod-geocache-svn-ro
     209  cd mod-geocache-svn-ro/
     210  ./configure
     211  make
     212
     213  sudo make install-module
     214  sudo apache2ctl restart 
     215}}}
     216 * Create our own geocache-osm.xml based on docs in sample geocache.xml (http://mod-geocache.googlecode.com/svn/trunk/geocache.xml) or in pretty print at http://code.google.com/p/mod-geocache/source/browse/trunk/geocache.xml
     217{{{
     218  mkdir ~/osm-demo/geocache
     219  cp ~/src/mod-geocache-svn-ro/geocache.xml ~/osm-demo/geocache/geocache-osm.xml
     220  vi ~/osm-demo/geocache/geocache-osm.xml
     221... make required changes to template to make it work with our installation...
     222
     223  sudo apache2ctl restart
     224}}}
     225
     226 * Ready to test server, see URL docs at http://code.google.com/p/mod-geocache/wiki/RequestingTilesFromService#TMS_service
     227 * TMS service available at http://yourserver.tld/geocache/tms/1.0.0/
     228   * Sample tile:  http://yourserver.tld/geocache/tms/1.0.0/osm@g/3/2/5.png
     229   * Sample OpenLayers app to test TMS: http://openlayers.org/dev/examples/tms.html
     230
     231 * You can optionally run the cache seeder, see: http://code.google.com/p/mod-geocache/wiki/UsingTheSeeder