[mapserver-users] Problem with an empty mapfile

Felipe Alcacibar falcacibar at gmail.com
Thu May 6 15:03:08 EDT 2010


Felipe Alcacibar Buccioni


On 4 May 2010 02:23, Lester Caine <lester at lsces.co.uk> wrote:
> Felipe Alcacibar wrote:
>>
>> I am using MapServer 5.6.3, and php mapscript, and i am making the
>> mapfiles dynamicly, but now when i update mapserver i cannot read the
>> mapserver file. i trying with:
>>
>> MAP
>>        PROJECTION
>>                "init=epsg:4326"
>>        END
>> END
>>
>> - i recive the following error:
>>
>> Warning: [MapServer Error]: msProcessProjection(): major axis or
>> radius = 0 or not given in res/include/gis.map.php on line 5
>>
>> Warning: Failed to open map file res/include/../map/main.map in
>>
>> /hosting/http/tryer.cl/dom/devel/www/orionforestal/openlayers/res/include/gis.map.php
>> on line 5
>>
>> - mapserver info:
>>
>> rohan openlayers # echo "<?= ms_GetVersion() ?>" | php
>> MapServer version 5.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
>> OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
>> SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
>> SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
>> SUPPORTS=SOS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS INPUT=EPPL7
>> INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
>>
>> how i could fix that?
>
> http://mapserver.org/introduction.html#map-object
>
> While the content of the error is not particularly clear, it is describing
> the situation correctly! Every map requires an EXTENT, and SIZE, otherwise
> the map does not exist .... hence the zero size ... hence failed to open.
>

trying with:
MAP
        NAME    "lalalala"
        EXTENT  -180 -90 180 90
        SIZE    320 250
        IMAGECOLOR 255 255 255
        PROJECTION
                "init=epsg:4326"
        END
END


with the same result =/

i'm start to thing about compilation problems =/


> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list