[Mapserver-users] Fw: Setting up a custom projection object in MapEdit
Daniel Morissette
morissette at dmsolutions.ca
Tue Jul 29 06:47:54 PDT 2003
This is not directly related to MapServer or PROJ, it must be something
related either to MapLab or your PHP settings (I think there are some
PHP settings to automatically escape strings and you may have enabled
them). First thing to try would be making sure that you're running the
latest version of MapLab, and if the problem persists then try the
maplab-users list, maybe someone on that list will have already seen
this and will have some hints to offer.
Daniel
Nathan Niemi wrote:
>
> 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 -
>
> PROJECTION
> \\proj=tmerc\\
> \\lat_0=0.000000000\
> \\lon_0=-117.000000000\\
> \\k=0.999600\\
> \\x_0=500000.000\\
> \\y_0=0.000\\
> \\ellps=WGS84\\
> \\units=m\\
> \\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 -
>
> *Warning*: MapServer Error in msProcessProjection(): projection not
> named in *C:\www\ms\maplab\htdocs\common\wrapper\map_session.php* on
> line *208*
> **
> 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 <mailto:niemi at crustal.ucsb.edu>
More information about the MapServer-users
mailing list