<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: arial,sans-serif; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">Hello all...<br>
I´m stuck trying to convert a mapscript app to WMS ...<br><br>My mapfile :<br><br>MAP<br>    EXTENT -79.7892 -34.2426 -24.9958 6.11775<br>    FONTSET &quot;..\Fonts.txt&quot;<br>    IMAGECOLOR 230 254 254<br>    IMAGETYPE png<br>
    SIZE 400 200<br>    STATUS ON<br>    UNITS dd<br>    NAME &quot;Map&quot;    <br>    <br>    INCLUDE &quot;Simbols.sym&quot;<br>    <br>    OUTPUTFORMAT<br>        NAME &quot;png&quot;<br>        MIMETYPE &quot;image/png&quot;<br>
        DRIVER &quot;GD/PNG&quot;<br>        EXTENSION &quot;png&quot;<br>        IMAGEMODE &quot;PC256&quot;<br>        TRANSPARENT TRUE<br>    END<br>    <br>    PROJECTION<br>        &#39;proj=longlat&#39;<br>        &#39;ellps=WGS84&#39;<br>
        &#39;datum=WGS84&#39;<br>        &#39;no_defs&#39;<br>    END<br><br>    WEB<br>        IMAGEPATH &#39;C:\map\temp&#39;<br>        IMAGEURL &#39;/tmp/&#39;<br>        QUERYFORMAT text/html<br>        LEGENDFORMAT text/html<br>
        BROWSEFORMAT text/html<br>        <br>        METADATA<br>            &quot;wms_title&quot;     &quot;WMS Server&quot;  ##required<br>            &quot;wms_onlineresource&quot; &quot;<a href="http://localhost/cgi-bin-last/mapserv.exe">http://localhost/cgi-bin-last/mapserv.exe</a>?&quot;   ##required<br>
            &quot;wms_srs&quot;       &quot;EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326&quot;  ##recommended<br>        END<br>    END    <br><br>    LEGEND<br>       ...<br>    END  <br>        <br>    REFERENCE<br>       ...<br>
    END    <br><br>        LAYER<br>        NAME Argentina<br>        METADATA<br>            &quot;wms_title&quot;    &quot;Argentina&quot;   ##required<br>        END        <br>        TYPE POLYGON<br>        STATUS ON<br>
        INCLUDE &quot;Connection.map&quot;         <br>        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():<span class="Apple-converted-space"> </span><em style="font-weight: bold; font-style: normal;">Projection library error</em>.<span class="Apple-converted-space"> </span><em style="font-weight: bold; font-style: normal;">Invalid argument<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%3A4326&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%3A4326&amp;BBOX=-62.9142,-17.3676,-57.2892,-11.7426&amp;WIDTH=256&amp;HEIGHT=256</a><br>
<br>Any help pleasssssse!<br><br>Stella<br></em></span>