[MapProxy] California in Africa

Oliver Tonnhofer olt at omniscale.de
Thu Sep 2 03:33:22 EDT 2010

On 01.09.2010, at 18:55, Sebastian E. Ovide wrote:
> And for:
> an empty image.

Ok, then it is alright that you didn't got anything for your MapProxy request.,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:

        - type: cache_wms
            layers: ca_wild_fire
            transparency: 'true'

> > If I go to CA and zoom more than 8 I can see CA in CA... but HUGE... if I zoom out I can see CA in Africa with the correct (it looks like correct) size.
>             map = new OpenLayers.Map({
>               div: 'map',
>               allOverlays: true,
>               maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
>               numZoomLevels: 20
>             });

OK, there we go. You OpenLayers map is in EPSG:900913, but your using the TMS in EPSG:3310. That cannot work. You need your cache in EPSG:900913 too. If your WMS source does not support EPSG:900913, then you need to upgrade to MapProxy 0.9, since the 0.8.x can't reproject inbound data (before it is cached).


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)

More information about the MapProxy mailing list