Changes between Version 17 and Version 18 of RenderingOsmDataUbuntu


Ignore:
Timestamp:
Aug 12, 2011, 3:07:52 PM (13 years ago)
Author:
dmorissette
Comment:

Add ref to mapserver-utils-imposm-dm-branch

Legend:

Unmodified
Added
Removed
Modified
  • RenderingOsmDataUbuntu

    v17 v18  
    116116
    117117 * Website: http://code.google.com/p/mapserver-utils/
    118  * Check out the 'imposm-branch' from SVN:
     118 * 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
     120   * The 'imposm-dm-branch' is focused on Canada/US data, and contains supports for things such as US highway shields.
     121 * To use the 'imposm-dm-branch' from SVN:
    119122{{{
    120123  cd ~/osm-demo/
    121124  svn checkout http://mapserver-utils.googlecode.com/svn/branches/imposm-branch/ mapserver-utils-svn-imposm
    122125  cd mapserver-utils-svn-imposm
    123 }}}
    124  * Update mapserver-utils's osmbase.map and Makefile as follows:
    125 {{{
     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
     133
     134... Update mapserver-utils's osmbase.map and Makefile as follows:
    126135  vi osm-base.map
    127136-------------------8<------------------------
     
    151160 * 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.
    152161{{{
    153   cd ~/osm-demo/mapserver-utils-svn-imposm
     162  cd mapserver-utils-svn-imposm
    154163  make
    155164}}}
    156  * The 'make' command will have generated a osm-google.map based on the parameters in the generate_style.py script.
     165 * The 'make' command will have generated the mapfile based on the parameters in the generate_style.py script (either osm-outlined,google,usshields.map or osm-outlined,google.map depending on the branch that you chose above).
    157166 * More information about tweaking the map styles is available at http://code.google.com/p/mapserver-utils/wiki/TweakingMapStylesImposm
    158167
    159168 * Access your map online using MapServer's built-in template=openlayers mode:
    160169{{{
     170http://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
     171or
    161172http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google.map&mode=browse&template=openlayers&layers=all
    162173}}}
     
    197208         <url>http://localhost/cgi-bin/mapserv?</url>
    198209      </http>
    199 ...
     210
     211...
     212            <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google,usshields.map</MAP>
     213... or ...
    200214            <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google.map</MAP>
    201215...