Hello Frank!<br>Thanks for your time ;)<br><br>I´m working on Windows 7...<br><br>I made all modifications you suggest me, but got the same error...<br>The URL now is :<br><br><a href="http://localhost/cgi-bin-last/mapserv.exe?MAP=C:/inetpub/wwwroot/Openlayer/Mapserver/Mapfile/Map.map&amp;LAYERS=Argentina&amp;TRANSPARENT=true&amp;FORMAT=image/png&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application/vnd.ogc.se_inimage&amp;SRS=EPSG:4326&amp;BBOX=-62.9142,-17.3676,-57.2892,-11.7426&amp;WIDTH=256&amp;HEIGHT=256">http://localhost/cgi-bin-last/mapserv.exe?MAP=C:/inetpub/wwwroot/Openlayer/Mapserver/Mapfile/Map.map&amp;LAYERS=Argentina&amp;TRANSPARENT=true&amp;FORMAT=image/png&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;EXCEPTIONS=application/vnd.ogc.se_inimage&amp;SRS=EPSG:4326&amp;BBOX=-62.9142,-17.3676,-57.2892,-11.7426&amp;WIDTH=256&amp;HEIGHT=256</a><br>
<br><br>The only difference that I noticed is that the error in browser now is in TEXT format...<br>Before the error was write in a Image... <br><br>I´m completely lost ! :(<br><br>Any other idea?<br><br>ps.: Sorry for my bad english<br>
<br>Stella<br><br><div class="gmail_quote">2010/1/5 Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">stela anders wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        LAYER<br>
        NAME Argentina<br>
        METADATA<br>
            &quot;wms_title&quot;    &quot;Argentina&quot;   ##required<br>
        END               TYPE POLYGON<br>
        STATUS ON<br>
        INCLUDE &quot;Connection.map&quot;                DATA &quot;the_geom from tbl_argentina USING UNIQUE gid USING SRID=0&quot;<br>
        PROJECTION<br>
            &quot;proj=longlat&quot;<br>
            &quot;ellps=WGS84&quot;<br>
            &quot;datum=WGS84&quot;<br>
            &quot;no_defs&quot;<br>
        END<br>
<br>
        CLASS<br>
            COLOR 255 200 255<br>
        END<br>
        END<br>
<br>
END<br>
<br>
When I try to open that with my OpenLayer app, I got images with that error :<br>
<br>
Error: msProcessProjection(): /Projection library error/. /Invalid argument<br>
</blockquote>
<br></div>
Stella,<br>
<br>
I am not sure why you are getting this error.  I search high and low and can&#39;t<br>
find &quot;Invalid argument&quot; in either MapServer or PROJ.4.  Are you working on<br>
linux or Windows?  Were the &quot;/&quot; characters really in this message?  It is<br>
hard for me to understand how this could happen.<br>
<br>
With regard to your mapfile, I was surprised that you don&#39;t have<br>
wms_srs metadata on your layer.  It is a shot in the dark, but perhaps you<br>
could add wms_srs EPSG:4326 metadata on the layer, and reorder the wms_srs<br>
metadata on the map to put EPSG:4326 first.<br>
<br>
Also, you could try changing:<div class="im"><br>
<br>
&gt;         PROJECTION<br>
&gt;             &quot;proj=longlat&quot;<br>
&gt;             &quot;ellps=WGS84&quot;<br>
&gt;             &quot;datum=WGS84&quot;<br>
&gt;             &quot;no_defs&quot;<br>
&gt;         END<br>
<br></div>
to:<br>
<br>
PROJECTION<br>
  &quot;+init=epsg:4326&quot;<br>
END<br>
<br>
in both the layer and map.  This is slower to expand but it might<br>
make it easier for mapserver to relate to epsg codes.<div><div></div><div class="h5"><br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br>
<br>
</div></div></blockquote></div><br>