[ms4w-users] Projection Objects
Jeff McKenna
jmckenna at dmsolutions.ca
Fri Jul 9 15:54:50 EDT 2004
Hey Jeff,
The error 'no options found in init file..' usually means mapserver
cannot find the epsg code in the "init" file, which is located in
/ms4w/proj/nad/epsg. In that file you will find the projection
definition for 42304 (search for "42304"). So is it possible that you
did not specify it correctly? Open the tutorial.map in a text editor
and look at the projection object that u just added, it should appear as:
PROJECTION
"init=epsg:42304"
END
Also, as you're testing the components that you've downloaded
(Chameleon, MapLab..) please send any questions regarding these
components to their associated user lists. Your specific question
should really be posed to the MapLab list
(http://lists.maptools.org/mailman/listinfo/maplab-users).
hope this helps.
jeff
Jeff Moxley wrote:
> Hi,
>
>
>
> I have just installed MS4W and CWC2 1.0 (Chameleon 1.0), Chameleon 1.99
> Beta, GMap, and MapLab 2.1 RC1.
>
>
>
>
>
> I was working through the tutorial included with MapLab and I ran into
> problems when I added the projection object.
>
>
>
> After adding it I get the following errors:
>
>
>
>
> Warning: [MapServer Error]: msProcessProjection(): no options found in
> 'init' file in
> C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215
>
> Warning: Failed to open map file C:/ms4w/tmp//40eeec7ed37b3.map in
> C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215
>
> Warning: [MapServer Error]: msProcessProjection(): no options found in
> 'init' file in
> C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215
>
> Warning: [MapServer Error]: msProcessProjection(): no options found in
> 'init' file in
> C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215
>
> Warning: Failed to open map file C:/ms4w/tmp//40eeec7ed37b3.map in
> C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215
>
> Fatal error: Call to a member function on a non-object in
> C:\ms4w\apps\maplab-2.1\htdocs\mapedit\preview.php on line 304
>
>
>
>
>
> I really want to start working with WMS and WFS based applications and
> the tutorial states that this is a required step in adding these types
> of layers.
>
>
>
> Is this a known issue?
>
>
>
> J
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
--
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the ms4w-users
mailing list