[MapProxy] California in Africa

Oliver Tonnhofer olt at omniscale.de
Wed Sep 1 08:13:39 EDT 2010


On 01.09.2010, at 10:27, Sebastian E. Ovide wrote:
> On Tue, Aug 31, 2010 at 7:08 PM, Oliver Tonnhofer <olt at omniscale.de> wrote:
> 
> On 31.08.2010, at 19:11, Sebastian E. Ovide wrote:
> > MapServer: it Works
> >
> > http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&mode=map&map_imagetype=png&mapext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&imgext=-13462700.9162+4931105.56705+-13384429.39925+5009377.084&map_size=256+256&imgx=128&imgy=128&imgxy=256+256
> 
> Do you have that as a WMS request?
> what do you mean ? this is the URL generated by OpenLayers. If I open it I get a image.

Yeah, but it is not a WMS request. :)

What requests does MapProxy send to your WMS? What does the server return? Can you issue these requests back to MapProxy? How do the tiles in you cache look like? There are so many steps where an error can happen or something could be misconfigured. You need to narrow it down, step by step.

> What do you get from the following URL?
> http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&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
> I get an image saying that SRS must be valid.

And for:
http://10.0.1.40/cgi-bin/mapserv?layers=ca_wild_fire&map=%2Fhome%2Fsebas%2Fpublic_html%2Fworkshop-5.4%2Fsebas.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fjpeg&SRS=EPSG%3A3310&BBOX=40058.8707138,150368.549521,100888.64586,211049.969626&WIDTH=256&HEIGHT=256


> 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.

That should be an OpenLayers configuration issue. I can look into that if you send me your _whole_ OL client (with map definition, not only the layers) and a working WMS URL with PESG:3310 support.


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)



More information about the MapProxy mailing list