MapTools.org

[Chameleon] Install problems

Jean-Francois.Doyon@CCRS.NRCan.gc.ca Jean-Francois.Doyon@CCRS.NRCan.gc.ca
Thu, 15 Jan 2004 15:27:32 -0500
Jeff,

The demo uses a map that is in a non standard EPSG projection.

Find your PROJ's "epsg" file (Most likely in /usr/local/share/proj/), and
add the following at the bottom:

# WGS84 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) 
<42101> +proj=lcc +ellps=WGS84 +lat_0=0 +lon_0=-95 +lat_1=49 +lat_2=77
+x_0=0 +y_0=-8000000 +datum=WGS84 +units=m no_defs <>
# NAD83 Canada LCC (WARNING: FAKE EPSG CODE, NON STANDARD) (This is the
standard Atlas of Canada data's projection)
<42304> +proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat_1=49 +lat_2=77
+datum=NAD83 +units=m no_defs <>

(There's 2 common canadian projections here, forget exactly which one the
demo uses)

J.F.

-----Original Message-----
From: chameleon-admin@lists.maptools.org
[mailto:chameleon-admin@lists.maptools.org]On Behalf Of Jeff Berry
Sent: Thursday, January 15, 2004 3:08 PM
To: Chameleon
Subject: [Chameleon] Install problems


I've installed Chameleon 1.1 on Redhat 8.0, running MapServer 4.0.1.  I'm
having real trouble getting the demo app to work.  I have chameleon
installedin /opt/cwc2.  I've installed all the demo documents within the
appropriate directories under /opt/cwc2, and have edited the config,
index.phtml and map document to refelct paths correctly.  However, when I
try to open the index.phtml I get the following error:

Warning: [MapServer Error]: msProcessProjection(): no options found in
'init' file in /opt/cwc2/htdocs/common/wrapper/map_session.php on line 215

Warning: Failed to open map file /opt/cwc2/map/chameleon.map in
/opt/cwc2/htdocs/common/wrapper/map_session.php on line 215
ERROR: Invalid map file file (/opt/cwc2/map/chameleon.map).
Fatal error: Call to a member function on a non-object in
/opt/cwc2/htdocs/widgets/KeyMap.widget.php on line 190

Any suggestions?

Jeff Berry
GIS Analyst
Erlandsen & Associates
P.O. Box 2029
Chelan, WA 98816
(509) 682-4189
jeffb@erlandsen.com

_______________________________________________
Chameleon mailing list
Chameleon@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon


This archive was generated by Pipermail.