[Chameleon] Projection error

Edith TAKI edithaki at yahoo.ca
Wed Feb 23 10:28:21 EST 2005


Hi list,
 
I begin yet with Chameleon, i just install ms4w to develop and have quickly results and i get my map with default parameters ;
Now i want to put proper projection parameters but i get an error
 
 Warning: [MapServer Error]: msProcessProjection(): major axis or radius = 0 or not given in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215

Warning: Failed to open map file C:\ms4w\apps\myApp\htdocs/../map/commune_06.map in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line 215

-----------------------------------------------------

running proj.exe tool i het the same error

 projection initialization failure
cause: major axis or radius = 0 or not given
this is the Projection session in my map file
-----------------------
  PROJECTION
 "proj=lcc"
 "x_0=600000"
 "y_0=2200000"
 "lon_0=2.33"
 "lat_1=45.89"
 "lat_2=47.69"
 "unit=m"
#    "init=epsg:42304" 
  END
 
here are parameters i get from ogrinfo.exe tool
------------------
Layer name: dpt06-fusion_communes06
Geometry: Polygon
Feature Count: 1
Extent: (992569.359942, 6272465.833172) - (1077700.535189, 6370091.824686)
Layer SRS WKT:
PROJCS["unnamed",
    GEOGCS["unnamed",
        DATUM["North_American_Datum_1983",
            SPHEROID["Geodetic Reference System of 1980",6378137.0,298.257222100911]],
        PRIMEM["Greenwich",0.0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["false_easting",700000.0],
    PARAMETER["false_northing",6600000.0],
    PARAMETER["central_meridian",3.0],
    PARAMETER["standard_parallel_1",44.0],
    PARAMETER["standard_parallel_2",49.0],
    PARAMETER["latitude_of_origin",46.5],
    UNIT["METER",1.0]]
 
Do you notice some error ??



---------------------------------
Post your free ad now! Yahoo! Canada Personals
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050223/711c9215/attachment.html


More information about the Chameleon mailing list