Testing [MapProxy] EPSG 23031

Dominik Helle helle at omniscale.de
Wed May 5 04:49:27 EDT 2010


Hi Antonio,

we tested your WMS with your local MapProxy.
You have to set your own EPSG at the beginning of the srs array in the services.yaml.  

in your example:

    icc:
        md:
            title: ICC WMS - www.icc.cat
        param:
            # cache tiles in format:
            # format: image/png

            # cache projected and geographical SRS
            srs: ['EPSG:23031', 'EPSG:4326']  


The MapProxy selects the layer only on the information if it is projected or not. We open a ticket for it and will fix it: http://bitbucket.org/olt/mapproxy/issue/7/multilayer-should-check-if-actual-srs-is

Have fun and best regards,

Dominik



Am 05.05.2010 um 09:31 schrieb Vidal, Antoni:

> Hello again,
> 
> I'm trying to use MapProxy with a WMS service using EPSG 23031, but I get a white image with the exception message:
> 
> response is not an image: (<?xml version="1.0" encoding="utf-8" standalone="no"?><ServiceExceptionError version="1.1.1"> <ServiceException>(16389) ISItem::extract: decode (ul=65961.566598,5021619...
> 
> My service.yaml contains this layer:
> 
>    # #########################
>    # # Layer from TMS Source
>    # #########################
>    icc:
>        md:
>            title: ICC WMS - www.icc.cat
>        param:
>            # cache tiles in format:
>            # format: image/png
> 
>            # cache projected and geographical SRS
>            srs: ['EPSG:4326', 'EPSG:900913', 'EPSG:23031']
> 
>            # 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://shagrat.icc.es/lizardtech/iserv/ows?
>            layers: mtc50m
>            # styles:
>            # transparent: False
> 
> My proxy.yaml starts with:
> 
> # #########################
> # # MapProxy configuration
> # #########################
> 
> # # which servers should be started?
> server: ['wms', 'tms', 'kml']
> 
> # # WMS server options
> wms:
>     # supported image formats
>     image_formats: ['image/jpeg', 'image/png', 'image/gif', 'image/GeoTIFF', 'image/tiff']
>     # supported SRS
>     srs: ['EPSG:4326', 'EPSG:4258', 'CRS:84', 'EPSG:900913',
>           'EPSG:31466', 'EPSG:31467', 'EPSG:31468',
>           'EPSG:25831', 'EPSG:25832', 'EPSG:25833', 'EPSG:23031']
> 
> 
> # # when set to True return tracebacks on error # # do not enable this in production!
> debug_mode: True
> 
> 
> Request to original WMS server:
> http://shagrat.icc.es/lizardtech/iserv/ows?REQUEST=GetMap&VERSION=1.1.0&SRS=EPSG:23031&Service=WMS&BBOX=290000,4538500,302000,4543500&WIDTH=1200&HEIGHT=500&LAYERS=mtc50m&%20%20STYLES=&FORMAT=JPEG&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&EXCEPTION=INIMAGE 
> 
> Request to MapProxy that generates the error:
> http://localhost:8080/service?LAYERS=icc&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG:23031&BBOX=290000,4538500,302000,4543500&WIDTH=1200&HEIGHT=500 
> 
> Any idea why it doesn't work?
> 
> Thank's a lot.
> 
> 
> Antoni Vidal
> Unitat d'Aplicacions SIG-WEB
> Institut Cartogràfic de Catalunya
> Parc de Montjuïc, E-08038 Barcelona
> Tel. (+34) 93 567 15 00 (ext. 3228)
> www.icc.cat
>  
> 
> 
> 
> 
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy



-- 
Dominik Helle <helle at omniscale.de>
Omniscale, Dominik Helle, Oliver Tonnhofer GbR
Nadorster Straße 60, 26123 Oldenburg
Tel: +49(0)441/9392774-1 (Fax: 9)



More information about the MapProxy mailing list