mapserver error with wms layer
Lluís Garcia i Mestres
lluisgarcia at TECNICS.ORG
Thu Dec 22 03:08:51 PST 2005
Hi list,
I still have a big problem with a wms layer that I should solve. The wms provider has changed there connection url, from ESRI to LIZARDTECH and now I can't manage to have it working.
The new layer is:
http://shagrat.icc.es/lizardtech/iserv/ows?
REQUEST=GetMap&VERSION=1.1.0&SRS=EPSG:23031&Service=WMS
&BBOX=290368.8360318053,4538236.417546777,
292203.2794856503,4540070.861000622
&WIDTH=520&HEIGHT=520&LAYERS=mtc50m&STYLES=&FORMAT=JPEG&BGCOLOR=0xFFFFFF
&TRANSPARENT=TRUE&EXCEPTION=INIMAGE
If you try it throw the url it works fine, but if I configure it in mapserver it returns the following error:
Thu Dec 22 12:05:10 2005,5188,127.0.0.1,catalunya,3,211856.300000 4487652.000000 579623.700000 4750343.000000,-1.000000 -1.000000,comarques_shp mtc50m ,msDrawMap(): WMS connection error. Failed to draw WMS layer named 'mtc50m'. This most likely happened because the remote WMS server returned an invalid image, and XML exception or another unexpected result in response to the GetMap request. Also check and make sure that the layer's connection URL is valid. <br>
msDrawRaster(): Image handling error. Unrecognized or unsupported image format <br>
drawEPP(): Image handling error. c:\ms4w\Apache\htdocs\mapserver\dades\catalunya\tmp\113524950951880.img.tmp is not an EPPL file. <br>
I have check many times the GetCapabilities and it looks ok for me:
http://shagrat.icc.es/lizardtech/iserv/ows?REQUEST=Getcapabilities&VERSION=1.1.1
If someone can check in their mapserver application if this wms service works, will help me a lot because I have no idea how to overcome this. My mapserver layer is:
LAYER
NAME mtc50m
TYPE RASTER
STATUS ON
CONNECTIONTYPE WMS
CONNECTION "http://shagrat.icc.es/lizardtech/iserv/ows?"
METADATA
"wms_name" "mtc50m"
"wms_request" "GetMap"
"wms_title" "Mapa base"
"wms_server_version" "1.1.1"
"wms_service" "WMS"
"wms_srs" "EPSG:23031"
"wms_layers" "mtc50m"
"wms_width" "700"
"wms_height" "500"
"wms_styles" ""
"wms_format" "jpeg"
"wms_bgcolor" "0xFFFFFF"
"wms_transparent" "TRUE"
"wms_exception" "INIMAGE"
LLEGENDA_GRUP "Fons"
LLEGENDA_NOM "mtc50m"
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051222/817bc4dc/attachment.htm>
More information about the MapServer-users
mailing list