[Maplab-dev] Projection error
Zak James
zak4ms at gmail.com
Thu Feb 24 09:29:19 EST 2005
Hi,
I think you are addressing your problem to the wrong list. This list
is for discussion of development of maplab. You should ask for general
help on the maplab-users or chameleon-users lists. Since your problem
is with proj parameters, you may want to look at
http://proj.maptools.org for pointers, too.
zak
On Thu, 24 Feb 2005 04:26:14 -0500 (EST), Edith TAKI <edithaki at yahoo.ca> wrote:
> 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 an error ?? can someone help me ?
>
>
> ______________________________________________________________________
> Post your free ad now! http://personals.yahoo.ca
> _______________________________________________
> Maplab-dev mailing list
> Maplab-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-dev
>
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the Maplab-dev
mailing list