[Mapserver-users] shape file reprojection on the fly.

Pericles Nacionales nacional at cbs.umn.edu
Thu Feb 5 18:22:05 EST 2004


Can of worms, I tell you... :)

When you say OGIS are you talking about WMS/WFS?  If so, that's where the
METADATA "wms_srs" parameter is for.  Specify the epsg codes for all
projections you want supported.  Perhaps the wms folks can confirm this?

See http://mapserver.gis.umn.edu/doc40/wms-server-howto.html for more
info.

-Perry

On Thu, 5 Feb 2004, Amit S BEHERE wrote:

> Hi,
>
> I have an additional question on this one. I understand that the
> projection in the MAP object is the output projection. However say I have
> a map with a few layers and I want to do a OGIS get map request on one or
> more
> layer(s). So unless I do the request in the same SRS as the one defined on
> the map object I am not going to get useful stuff back. Is that right ?
> So whats the use of the SRS field in the OGIS Getmap request ?
>
> Is there any way I can send th OGIS getmap request with an srs thats
> different from the one specified on the map object and have it return the
> correct image.
>
>
> -Amit
>
>
> Amit Behere.
> UCSD.
> "Technology doesn't make your life more difficult or easy, it just changes
> the rules"......Vishwanathan Anand
>
>
> On Wed, 4 Feb 2004, Pericles S. Nacionales wrote:
>
> > Correct.  The projection definition on the main MAP object is your
> > output projection and the projection definition in your LAYER object is
> > whatever projection your data is in.  See
> > http://hypnos.cbs.umn.edu/projects/tutorial/example1-6.html for an
> > example.
> >
> > -Perry
> >
> > On Wed, 2004-02-04 at 16:30, Jason M. Nielsen wrote:
> > > To reproject shape files on the fly can you simply define a projection for the
> > > main portion of your map and then also provide one in the definition of a layer?
> > > Resulting in the proj in the layer def being transformed to the one in the main
> > > part of the map file.
> > >
> > > Someone beat me with a clue stick if I am off in left field on this.
> > >
> > > -------------------------------------------------
> > > This mail sent through IMP: http://horde.org/imp/
> > > _______________________________________________
> > > Mapserver-users mailing list
> > > Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > --
> > "He's no geek.His tan's too good." -Benjamin Choate
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list