Fw: [Mapserver-users] initialisation Proj

Yvain Ballini yvain.ballini at seat.it
Tue Nov 18 08:56:03 EST 2003


----- Original Message -----
From: "Yvain Ballini" <yvain.ballini at seat.it>
To: "Frank Warmerdam" <warmerdam at pobox.com>
Sent: Tuesday, November 18, 2003 2:55 PM
Subject: Re: [Mapserver-users] initialisation Proj


> ok,
>
> for the layer "vie_navtech" which I want to see the projection, I've put
the
> following projection definition:
> LAYER
>
> NAME vie_navtech
>
> PROJECTION
>
> "proj=aeqd"
>
> "zone=15"
>
> "ellps=WGS60"
>
> "units=m"
>
> "no_defs"
>
> END
>
>
> If I put this definition, I don't see the projection of my layer. If I
> doesn't put it (That meens I've only the projection definition at the
start
> of the mapfile), I see the layer but with a bad projection. What I want to
> do is obtaining the right projection for my layers, but when I change the
> projection definition at the start of the mapfile, it changes nothing. Do
> you know where I'm wrong with the use of proj?
> Thanks.
>
> Yvain.
>
>
> ----- Original Message -----
> From: "Frank Warmerdam" <warmerdam at pobox.com>
> To: "Yvain Ballini" <yvain.ballini at seat.it>
> Cc: <mapserver-users at lists.gis.umn.edu>
> Sent: Tuesday, November 18, 2003 2:24 PM
> Subject: Re: [Mapserver-users] initialisation Proj
>
>
> > Yvain Ballini wrote:
> > > Hi List,
> > >
> > > I'm using the proj.lib under Mapserver and would like to know how to
> > > initialze the parameters of the projection I want to use. For the test
I
> > > use a mapfile where I define the projection like that (see under). The
> > > problem is that when I change the parameter proj, it changes nothing
on
> > > my map (which isn't good). It's as if there would an initialization by
> > > default...does someone know how to change these parameters?
> > > I'm using the proj.lib from proj-4.4.7, compiled with VC7.
> >
> > Yvain,
> >
> > You will also need to show the projection definition you use for your
> > layer(s) as well for us to diagnose what may be the problem.  The
> reprojection
> > is only done by MapServer when it knows the layer data is in a different
> > projection than the map projection definition.
> >
> > Best regards,
> >
> > --
>
> ---------------------------------------+----------------------------------
> ----
> > I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> > light and sound - activate the windows | http://pobox.com/~warmerdam
> > and watch the world go round - Rush    | Geospatial Programmer for Rent
> >
> >
>




More information about the mapserver-users mailing list