Changes between Version 19 and Version 20 of RenderingOsmDataUbuntu
- Timestamp:
- Sep 10, 2011, 12:47:49 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RenderingOsmDataUbuntu
v19 v20 117 117 * Website: http://code.google.com/p/mapserver-utils/ 118 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 data119 * The trunk contains the latest and greatest developments 120 120 * The 'imposm-dm-branch' is focused on Canada/US data, and contains supports for things such as US highway shields. 121 121 * To use the 'imposm-dm-branch' from SVN: … … 124 124 svn checkout http://mapserver-utils.googlecode.com/svn/branches/imposm-branch/ mapserver-utils-svn-imposm 125 125 cd mapserver-utils-svn-imposm 126 ... no files to edit, the changes listed for t he imposm-branchbelow are already included in the imposm-dm-branch127 }}} 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-imposm132 cd mapserver-utils-svn -imposm126 ... 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 133 133 134 134 ... Update mapserver-utils's osmbase.map and Makefile as follows: … … 149 149 OSM_EXTENT=-20000000 -20000000 20000000 20000000 150 150 ... 151 STYLE= outlined,google151 STYLE=google 152 152 -------------------->8----------------------- 153 153 }}} … … 160 160 * 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. 161 161 {{{ 162 cd mapserver-utils-svn -imposm162 cd mapserver-utils-svn 163 163 make 164 164 }}} … … 168 168 * Access your map online using MapServer's built-in template=openlayers mode: 169 169 {{{ 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=all170 http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn/osm-outlined,google,usshields.map&mode=browse&template=openlayers&layers=all 171 171 or 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=all172 http://yourserver.tld/cgi-bin/mapserv?map=/path/to/osm-demo/mapserver-utils-svn/osm-outlined,google.map&mode=browse&template=openlayers&layers=all 173 173 }}} 174 174 … … 177 177 * Required packages: 178 178 {{{ 179 sudo apt-get install autoconf apache2-dev lib cairo2-dev libcurl4-openssl-dev179 sudo apt-get install autoconf apache2-dev libpixman-dev libcurl4-openssl-dev libpng-dev libjpeg-dev libgdal-dev libgeos-dev 180 180 }}} 181 181 * Checkout and build source: … … 210 210 <MAP>/path/to/osm-demo/mapserver-utils-svn-imposm/osm-outlined,google,usshields.map</MAP> 211 211 ... 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> 213 213 ... 214 214 … … 250 250 251 251 * 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/ 252 253 * TMS service available at http://yourserver.tld/mapcache/tms/1.0.0/ 253 254 * Sample tile: http://yourserver.tld/mapcache/tms/1.0.0/osm@g/3/2/5.png