Changes between Version 12 and Version 13 of RenderingOsmDataUbuntu


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

More details on mod-gecache config

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmDataUbuntu

    v12 v13  
    196196  cp ~/osm-demo/mod-geocache-svn-ro/geocache.xml ~/osm-demo/geocache/geocache-osm.xml
    197197  vi ~/osm-demo/geocache/geocache-osm.xml
    198 ... make required changes to template to make it work with our installation...
    199 
     198... make required changes to template to make it work with our installation:
     199
     200  <cache name="disk" type="disk">
     201...
     202       <base>/path/to/osm-demo/geocache/cache</base>
     203
     204...
     205   <source name="osm" type="wms">
     206      <http>
     207         <url>http://localhost/cgi-bin/mapserv?</url>
     208      </http>
     209...
     210            <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-google.map</MAP>
     211...
     212
     213   <tileset name="osm">
     214      <metadata>
     215         <title>OSM MapServer served map</title>
     216         <abstract>see http://trac.osgeo.org/mapserver/wiki/RenderingOsmDataUbuntu</abstract>
     217      </metadata>
     218      <source>osm</source>
     219      <cache>disk</cache>
     220      <format>PNG</format>
     221      <grid>g</grid>
     222      <grid>WGS84</grid>
     223      <metatile>5 5</metatile>
     224      <expires>10000</expires>
     225      <auto_expire>86400</auto_expire>
     226      <metabuffer>10</metabuffer>
     227   </tileset>
     228}}}
     229 * And restart apache for the changes to take effect:
     230{{{
    200231  sudo apache2ctl restart
    201232}}}