[MapProxy] California in Africa
Sebastian E. Ovide
sebastian.ovide at gmail.com
Thu Sep 2 05:24:58 EDT 2010
>
> Ok, then it is alright that you didn't got anything for your MapProxy
> request.
>
>
> http://10.0.1.40:8123/service/?LAYERS=ca_wild_fire&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A900913&BBOX=-13306157.8823,4774562.53315,-13227886.36535,4852834.0501&WIDTH=256&HEIGHT=256
>
> The only problem is that the request is black. This should be a
> transparency issue. Try the following:
>
> sources:
> - type: cache_wms
> req:
> url:
> http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map
> layers: ca_wild_fire
> transparency: 'true'
>
>
nearly BINGO !...
I have 2 different behavior.
TMS: Using MapProxy as TMS I still see a huge california (bigger than the
world) with the correct colors and transparency.
WMS: If I use WMS I see California in the right place and the right size !!
but it displays a black background of the same size of CA and the rest is
white. And if I zoom out at level 3, only a small part of CA is displayed
and for Zoom 2, nothing is displayed. After playing around randomly (trial
and error) with different EPSG here if what I've got:
- ca_wild_fire:
md:
title: CA Wild Fire
param:
# srs: ['EPSG:900913']
srs: ['EPSG:3857']
# bbox: [-373876.958741,-604494.167244, 540030.000742,
450023.697768]
tile_size: [256, 256]
sources:
- type: cache_wms
req:
url:
http://10.0.1.40/cgi-bin/mapserv?map=/home/sebas/public_html/workshop-5.4/sebas.map&transparent=true
layers: ca_wild_fire
transparency: 'true'
using WMS I can see California in the right place, right size for ANY zoom
level... but it still displays a black background... (TMS still same
problems....)
any ideas ?
--
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20100902/668abfc1/attachment.html
More information about the MapProxy
mailing list