[MapProxy] Proxy_Seed blank/empty tiles.
Adam Estrada
estrada.adam at gmail.com
Mon Apr 5 15:57:41 EDT 2010
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 (
http://pastebin.com/q3DEBCuh) on several different lines in the file as well
as in proxy and seed.yaml. This is the code snippet from services.yaml.
# #########################
# # Layer from TMS Source
# #########################
osm:
md:
title: OSM Test Site
param:
# cache tiles in format:
format: image/png
# cache projected and geographical SRS
srs: ['EPSG:4326']
# store another level between each regular level
res: 'sqrt2'
# request all data in this format:
# request_format: image/png
# use a tile size of:
#tile_size: [256, 256]
sources:
- type: cache_wms
req:
url: http://localhost:8000
layers: __all__
# transparent: 'False'
What tool are you using to edit these files? I have tried editing in Eclipse
and Notepad++ on Windows.
Thanks,
Adam
On Thu, Apr 1, 2010 at 10:57 AM, Oliver Tonnhofer <olt at omniscale.de> wrote:
>
> On 01.04.2010, at 16:43, Adam Estrada wrote:
> > 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?
>
> Just put everything to the req parameter of you layer.
>
> - type: cache_wms
> req:
> url: http://localhost:8080/service?
> layers: roads
> transparent: 'true'
> bgcolor: 0x0000ff
>
> > 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!
>
> 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='...'>.
>
> Regards,
> Oliver
>
> --
> Oliver Tonnhofer <olt at omniscale.de>
> Omniscale - Dominik Helle, Oliver Tonnhofer GbR
> Nadorster Str. 60, 26123 Oldenburg
> Tel: +49(0)441/9392774-2 (Fax: 9)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20100405/64d6afe3/attachment.html
More information about the MapProxy
mailing list