[Mapserver-users] Fw: Setting up a custom projection object in MapEdit
Nathan Niemi
niemi at crustal.ucsb.edu
Mon Jul 28 18:03:29 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_037F_01C35532.8D03AD20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I'm trying to add a Projection Object to my map file, using a custom =
projection. I've added a projection object to the map, and one to the =
only layer, a raster image. The projection information is as follows -=20
PROJECTION
\\proj=3Dtmerc\\
\\lat_0=3D0.000000000\
\\lon_0=3D-117.000000000\\=20
\\k=3D0.999600\\
\\x_0=3D500000.000\\
\\y_0=3D0.000\\
\\ellps=3DWGS84\\=20
\\units=3Dm\\
\\no_defs\\
END
The '\\' were originally ' " '; each time I save the map file or click =
Apply Changes, the " are replaced with one set of \.
When I try to preview the map I get the following error message -=20
Warning: MapServer Error in msProcessProjection(): projection not named =
in C:\www\ms\maplab\htdocs\common\wrapper\map_session.php on line 208=20
The map I was building was working great until I added projection =
information; I've reinstalled Proj.4 twice, I'm sure it's installed =
correctly.
Can anyone suggest where I should start looking for the problem?
Thanks.
Nathan
-------------------------------------------
Dr. Nathan A. Niemi
Institute for Crustal Studies
University of California
Santa Barbara, CA 93106-1100
(805) 893-2260
niemi at crustal.ucsb.edu
------=_NextPart_000_037F_01C35532.8D03AD20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><BR> </DIV>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to add a Projection Object =
to my map=20
file, using a custom projection. I've added a projection object to =
the=20
map, and one to the only layer, a raster image. The projection =
information=20
is as follows - </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>PROJECTION<BR> <A=20
href=3D"file://\\proj=3Dtmerc\\">\\proj=3Dtmerc\\</A><BR> &nbs=
p; <A=20
href=3D"file://\\lat_0=3D0.000000000\">\\lat_0=3D0.000000000\</A><BR>&nbs=
p; =20
<A =
href=3D"file://\\lon_0=3D-117.000000000\\">\\lon_0=3D-117.000000000\\</A>=
=20
<BR> <A=20
href=3D"file://\\k=3D0.999600\\">\\k=3D0.999600\\</A><BR> &nbs=
p; <A=20
href=3D"file://\\x_0=3D500000.000\\">\\x_0=3D500000.000\\</A><BR> &n=
bsp; <A=20
href=3D"file://\\y_0=3D0.000\\">\\y_0=3D0.000\\</A><BR> =
=20
\\ellps=3DWGS84\\ <BR> =
\\units=3Dm\\<BR> =20
\\no_defs\\<BR>END</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The '\\' were originally ' " '; each =
time I save=20
the map file or click Apply Changes, the " are replaced with one set of=20
\.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When I try to preview the map I get the =
following=20
error message - </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><!--StartFragment --> <B>Warning</B>: MapServer Error in=20
msProcessProjection(): projection not named in=20
<B>C:\www\ms\maplab\htdocs\common\wrapper\map_session.php</B> on line =
<B>208</B>=20
</DIV>
<DIV><STRONG></STRONG> </DIV>
<DIV>The map I was building was working great until I added projection=20
information; I've reinstalled Proj.4 twice, I'm sure it's installed=20
correctly.</DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone suggest where I should start =
looking for=20
the problem?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Nathan</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2>-------------------------------------------<BR>Dr.=20
Nathan A. Niemi<BR>Institute for Crustal Studies<BR>University of=20
California<BR>Santa Barbara, CA 93106-1100<BR>(805) 893-2260<BR><A =
href=3D"mailto:niemi at crustal.ucsb.edu">niemi at crustal.ucsb.edu</A></FONT><=
/DIV></BODY></HTML>
------=_NextPart_000_037F_01C35532.8D03AD20--
More information about the MapServer-users
mailing list