All,<br><br>I was able to install MapProxy and get it running on my 32 bit Windows machine without any major issues. There are a few things that you *must* do to get it to run though.<br><br>In services.yaml<br><br>1. Comment out the first two lines to prevent any attribution from showing up over your WMS.<br>
<br>service:<br># attribution:<br># text: "©Omniscale 2010 (<a href="http://omniscale.de">http://omniscale.de</a>) – Map data: CC-BY-SA OpenStreetMap and Contributors"<br> <br>2. Comment out the line for "res:" See my code below.<br>
<br> # #########################<br> # # Layer from TMS Source<br> # #########################<br> osm:<br> md:<br> title: Omniscale OSM WMS - <a href="http://osm.omniscale.net">osm.omniscale.net</a><br>
param:<br> # cache tiles in format:<br> format: image/png<br> <br> # cache projected and geographical SRS<br> srs: ['EPSG:4326', 'EPSG:900913']<br>
<br> # store another level between each regular level<br> # res: 'sqrt2'<br> <br> # request all data in this format:<br> request_format: image/jpeg<br>
<br> # use a tile size of:<br> # tile_size: [256, 256]<br> sources:<br> - type: cache_wms<br> req:<br> url: <a href="http://osm.omniscale.net/proxy/service">http://osm.omniscale.net/proxy/service</a>?<br>
layers: osm<br> # styles:<br> # transparent: False<br><br>3. In proxy.yaml, you'll need to add the fully qualified path to the directory where your tiles will be cached. See below. Make sure that you give those directories the appropriate permissions...<br>
<br># # cache options<br> cache:<br># # where to store the cached images<br> base_dir: 'C:\MapProxy\var\cache_data'<br># # where to store lockfiles<br> lock_dir: 'C:\MapProxy\tmp\tile_locks'<br>
# # request x*y tiles in one step<br> meta_size: [4, 4]<br># # add a buffer on all sides (in pixel) when requesting<br># # new images<br> meta_buffer: 80<br># # do not process requests with more than x tiles<br>
max_tile_limit: 500<br><br>I hope this helps folks in need.<br>Adam Estrada<br>