<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi list,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The new layer is:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><A class=lin
href="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"
target=_blank><FONT
face="Courier New, Courier, mono">http://shagrat.icc.es/lizardtech/iserv/ows?<BR>REQUEST=GetMap&VERSION=1.1.0&SRS=EPSG:23031&Service=WMS<BR>&BBOX=290368.8360318053,4538236.417546777,<BR>292203.2794856503,4540070.861000622<BR>&WIDTH=520&HEIGHT=520&LAYERS=mtc50m&STYLES=&FORMAT=JPEG&BGCOLOR=0xFFFFFF<BR>&TRANSPARENT=TRUE&EXCEPTION=INIMAGE</FONT></A></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you try it throw the url it works fine, but if I
configure it in mapserver it returns the following error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><FONT color=#800000>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><BR>msDrawRaster(): Image handling error. Unrecognized or unsupported
image format <br><BR>drawEPP(): Image handling error.
c:\ms4w\Apache\htdocs\mapserver\dades\catalunya\tmp\113524950951880.img.tmp is
not an EPPL file. <br></FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>I have check many times the GetCapabilities and it
looks ok for me:</FONT></DIV>
<DIV><FONT face=Arial size=2>
<P class=text><A class=lin
href="http://shagrat.icc.es/lizardtech/iserv/ows?REQUEST=Getcapabilities&VERSION=1.1.1"><FONT
face="Courier New, Courier, mono">http://shagrat.icc.es/lizardtech/iserv/ows?REQUEST=Getcapabilities&VERSION=1.1.1</FONT></A></P>
<P class=text>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:</P><FONT size=2>
<P>LAYER</P>
<P>NAME mtc50m</P>
<P>TYPE RASTER</P>
<P>STATUS ON</P>
<P>CONNECTIONTYPE WMS</P>
<P>CONNECTION "http://shagrat.icc.es/lizardtech/iserv/ows?"</P>
<P>METADATA</P>
<P>"wms_name" "mtc50m"</P>
<P>"wms_request" "GetMap"</P>
<P>"wms_title" "Mapa base"</P>
<P>"wms_server_version" "1.1.1"</P>
<P>"wms_service" "WMS"</P>
<P>"wms_srs" "EPSG:23031"</P>
<P>"wms_layers" "mtc50m"</P>
<P>"wms_width" "700"</P>
<P>"wms_height" "500"</P>
<P>"wms_styles" ""</P>
<P>"wms_format" "jpeg"</P>
<P>"wms_bgcolor" "0xFFFFFF"</P>
<P>"wms_transparent" "TRUE"</P>
<P>"wms_exception" "INIMAGE"</P>
<P>LLEGENDA_GRUP "Fons"</P>
<P>LLEGENDA_NOM "mtc50m" </P>
<P>END</P>
<P>END</P></FONT></DIV></FONT>
<DIV><FONT face=Arial size=2> </DIV></FONT></BODY></HTML>