<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<pre>Evemar Wernick wrote:
&gt;<i> Hi all,
</i>&gt;<i> 
</i>&gt;<i> I'm trying to show a WMS layer in Mapserver (5.4.1). I've tried to use 
</i>&gt;<i> lots of samples from the Internet, but without success.
</i>&gt;<i> It woks fine with some local data (shapefiles), so it's not a 
</i>&gt;<i> Mapserver/Apache problem (I'm using MS4W). I also have tested the 
</i>&gt;<i> connection url in ArcGis, and was ok.
</i>&gt;<i> When I try to get WMS layer, it just show a blank rectangle...
</i>&gt;<i> Does anyone could help or send me some working sample (html and .map)?
</i>

Jeff McKenna wrote:
&gt;&gt; Hello,
&gt;&gt;
&gt;&gt; My guess is that you're running into projection problems.  Here are some 
&gt;&gt; quick notes:
&gt;&gt;
&gt;&gt; - make sure your MAP level EXTENTS match the projection defined at the 
&gt;&gt; MAP level
&gt;&gt; - if you don't have a projection object at MAP level then add one 
&gt;&gt; (think of this as output projection)
&gt;&gt; - make sure your WMS layer contains a projection object, in order to 
&gt;&gt; tell MapServer what the requested image's projection is
&gt;&gt; - the EPSG code is the code that you requested from the WMS server
&gt;&gt;
&gt;&gt; Hope that helps.
&gt;&gt;
&gt;&gt; -jeff
&gt;&gt;
&gt;&gt;
&gt;&gt; -- 
&gt;&gt; Jeff McKenna
&gt;&gt; FOSS4G Consulting and Training Services
&gt;&gt; <a href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</a>



Hi Jeff,

Thanks for your help. I already tried to change projections/extents. Even following the original samples available on the Internet, it didn't work...

I don't know what is wrong... So, I think it would be better if someone who have a working code could send it to me... If it still not work, could be my mapserver.

Regards,
Evemar
&nbsp;</pre>
</body>
</html>