Woww!<br>Thats it!!!!<br>Worked now!<br>Thanksss guysss ! Thanks Daniel!<br>iuupi!<br><br>Stella<br><br><div class="gmail_quote">2010/1/5 Daniel Walton <span dir="ltr"><<a href="mailto:dgwalton@gmail.com">dgwalton@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Stella,<br><br>Try adding a config entry to your mapfile that points to the folder containing your epsg configuration file:<br>
<pre><span>MAP</span><br> <span>...</span><br> <span>CONFIG</span> <span>"PROJ_LIB"</span> <span>"C:/somedir/proj/nad/"</span><br>
<span>...</span><br><span>END</span><br></pre><br><br><span style="color: black;"><div dir="ltr"><div>
<div style="width: 150px; font-family: tahoma; font-size: 8pt; font-weight: bold;">
Dan Walton<br>
<a href="mailto:dgwalton@gmail.com" target="_blank">dgwalton@gmail.com</a>
</div></div><div style="padding: 5px 0pt; font-family: arial,sans-serif; font-size: 13.3px;"><a href="http://www.linkedin.com/in/danielwalton2010" style="padding: 0pt 2px; color: blue; font-size: 10pt;" target="_blank"><img src="" alt="Linkedin" style="vertical-align: middle; padding-bottom: 5px;" width="16" border="0" height="16"></a><a href="http://twitter.com/danwallie" style="padding: 0pt 2px; color: blue; font-size: 10pt;" target="_blank"><img src="" alt="Twitter" style="vertical-align: middle; padding-bottom: 5px;" width="16" border="0" height="16"></a></div>
</div></span><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Tue, Jan 5, 2010 at 9:56 AM, stela anders <span dir="ltr"><<a href="mailto:stelaanders@gmail.com" target="_blank">stelaanders@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
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&LAYERS=Argentina&TRANSPARENT=true&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-62.9142,-17.3676,-57.2892,-11.7426&WIDTH=256&HEIGHT=256" target="_blank">http://localhost/cgi-bin-last/mapserv.exe?MAP=C:/inetpub/wwwroot/Openlayer/Mapserver/Mapfile/Map.map&LAYERS=Argentina&TRANSPARENT=true&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&BBOX=-62.9142,-17.3676,-57.2892,-11.7426&WIDTH=256&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"><<a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>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>
"wms_title" "Argentina" ##required<br>
END TYPE POLYGON<br>
STATUS ON<br>
INCLUDE "Connection.map" DATA "the_geom from tbl_argentina USING UNIQUE gid USING SRID=0"<br>
PROJECTION<br>
"proj=longlat"<br>
"ellps=WGS84"<br>
"datum=WGS84"<br>
"no_defs"<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't<br>
find "Invalid argument" in either MapServer or PROJ.4. Are you working on<br>
linux or Windows? Were the "/" 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'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><br>
<br>
> PROJECTION<br>
> "proj=longlat"<br>
> "ellps=WGS84"<br>
> "datum=WGS84"<br>
> "no_defs"<br>
> END<br>
<br></div>
to:<br>
<br>
PROJECTION<br>
"+init=epsg:4326"<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><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></div></div><br>
<br></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><br><span style="color: black;"></span>
</blockquote></div><br>