Thanks Oliver! I am noticing that when I change the yaml files, I get strange errors in services.yaml. Actually, sometimes when I modify the yaml file it works and other times it does not. I get this error (<a href="http://pastebin.com/q3DEBCuh">http://pastebin.com/q3DEBCuh</a>) on several different lines in the file as well as in proxy and seed.yaml. This is the code snippet from services.yaml.<br>
<br> # #########################<br> # # Layer from TMS Source<br> # #########################<br> osm:<br> md:<br> title: OSM Test Site<br> param:<br> # cache tiles in format:<br>
format: image/png<br> <br> # cache projected and geographical SRS<br> srs: ['EPSG:4326']<br> <br> # store another level between each regular level<br>
res: 'sqrt2'<br> <br> # request all data in this format:<br> # request_format: image/png<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://localhost:8000">http://localhost:8000</a><br> layers: __all__<br> # transparent: 'False'<br>
<br>What tool are you using to edit these files? I have tried editing in Eclipse and Notepad++ on Windows.<br><br>Thanks,<br>Adam<br><br><br><div class="gmail_quote">On Thu, Apr 1, 2010 at 10:57 AM, Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im"><br>
On 01.04.2010, at 16:43, Adam Estrada wrote:<br>
> I am seeding my AOI using proxy_seed and I am getting all white or transparent tiles where the oceans are. I get the same thing when caching using the python script from TileCache...Where exactly in MapProxy do I set the transparency to false and the the bgcolor to HEX?<br>
<br>
</div>Just put everything to the req parameter of you layer.<br>
<br>
- type: cache_wms<br>
req:<br>
url: <a href="http://localhost:8080/service" target="_blank">http://localhost:8080/service</a>?<br>
layers: roads<br>
transparent: 'true'<br>
bgcolor: 0x0000ff<br>
<div class="im"><br>
> I can successfully generate good looking tiles using the generate_tiles.py script that installs with Mapnik but it appears to be using the default Agg renderer to render the tiles. The water is blue but I can't find where they are actually setting that color. Tile seeding is very important to my group so any help on this would be great!<br>
<br>
</div>Im don't know if OGCServer supports bgcolor, but IIRC you can set the 'water' color in the root tag of your Mapnik XML, e.g. <Map bgcolor='...'>.<br>
<br>
Regards,<br>
Oliver<br>
<font color="#888888"><br>
--<br>
</font><div class="im">Oliver Tonnhofer <<a href="mailto:olt@omniscale.de">olt@omniscale.de</a>><br>
</div><div><div></div><div class="h5">Omniscale - Dominik Helle, Oliver Tonnhofer GbR<br>
Nadorster Str. 60, 26123 Oldenburg<br>
Tel: +49(0)441/9392774-2 (Fax: 9)<br>
<br>
</div></div></blockquote></div><br>