[MapProxy] mapproxy with mapserver srs problem

Holger Schiebold hschiebold at codematix.de
Tue Oct 15 07:53:33 PDT 2013


Hi,

please try source type wms with supported_srs option for your gemeinde 
layer or try to support 3857 instead of the older and not official (i 
think) 900913 EPSG number in your mapserver at the same machine, because 
at the moment he isn't supporting it.

cheers

Holger

Am 15.10.2013 10:20, schrieb karsten:
> Hi,
> I have installed mapproxy on my Ubuntu server outside the virtual 
> environment (the virtual env  was troublesome so I for now settled for 
> this option).
> I am able to run the demo site with both the regular apache server and 
> also the test server.
> This works great. I now added one MapServer layer (which is located on 
> the same server. I tested again that my wms is working and it is e.g.
> http://terra2.terragis.net/cgi-bin/mapserv?map=/mnt/maps/vfs_mapproxytest.map&LAYERS=gemeinde_merc&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&FORMAT=image%2Fpng&SRS=EPSG%3A900913&BBOX=1160758.2358917,6226544.0158282,1273273.5415119,6351442.1200288&WIDTH=736&HEIGHT=817
> Now when I try to use MapProxy I always get a message back that the 
> SRS is not valid for all layers. However there is only one layer in 
> the map files and it has  teh following srs configured:
>     "wms_srs" "epsg:31468 epsg:31494 epsg:4326 epsg:900913"
> My questions  are
> 1. is there a way (hopefully outside of python and in the 
> configuration files) to not only log the actual WMS request MapProxy 
> makes to MapServer . So far I could only see the requests made ot 
> the MapProxy service (I saw that in the console output and the apache 
> log file)
> 2. Is there anything obvious wrong with my configuration ( see below) 
> so I can not get any images back from MapServer / MapProxy ?
> Cheers
> Karsten
> ------------------------------------------------------------------------------------------------
> In MapProxy yaml I have added to the demo layers this:
> ... snip ....
> layers:
>   - name: gemeinde
>     title: Gemeinden in Bayern
>     sources: [gemeinde_cache]
>
> caches:
> gemeinde_cache:
>     grids: [bayern]
>     sources: [gemeinde_wms]
>
> sources:
> gemeinde_wms:
>     type: mapserver
>     req:
>       layers: gemeinde_merc
>       map: /mnt/maps/vfs_mapproxytest.map
>     mapserver:
>       binary: _/var/www_/cgi-bin/mapserv 
> <http://localhost/cgi-bin/mapserv>
>       working_dir: /mnt/maps/
>     coverage:
>       bbox: [1025548.802262,6027618.553381,1540090.415317,6519963.998869]
>       bbox_srs: 'EPSG:900913'
> grids:
>     bayern:
>         base: GLOBAL_WEBMERCATOR
> globals:
>   image:
>     formats:
>       terra_image_jpeg:
>         format: image/jpeg
>         resampling_method: nearest
>     jpeg_quality: 90
> ...
>
> Karsten Vennemann
> Principal
>
> Terra GIS LTD
> 2119 Boyer Ave E
> Seattle, WA  98112
> USA
> www.terragis.net <http://www.terragis.net/>
>
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy


-- 
Holger Schiebold


____________________
codematix GmbH
Felsbachstrasse 5/7
D-07745 Jena
Tel. +49 (3641) 3038-34
www.codematix.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20131015/fcf47bb9/attachment-0001.html>


More information about the MapProxy mailing list