On 4 May 2010 02:23, Lester Caine <les...@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. > In previous versions i could do it without problem, i am using dynamic extents from php_mapscript, there is no way to pass it an "empty" file to a mapobject, or something like that?
thanks for the response =D... > -- > 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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users