Mapserver coordinates

Steve Lime Steve.Lime at DNR.STATE.MN.US
Mon Aug 6 11:23:40 EDT 2007


Check out the documentation regarding PROJECTIONs in mapfiles. Basically
you need to define the projection of the raster in the LAYER object and then
the output PROJECTION at the map level. Every layer can have a different
projection but it is costly to do so.

Steve

>>> >>> On 8/6/2007 at 7:41 AM, in message
<LISTSERV%200708060741410212.0152 at LISTS.UMN.EDU>, Vishal Nagpal
<vishu_73ns at YAHOO.COM> wrote:
> > Hi Steve 
> > thanks a lot for prompt reply,
> > You hit the bull's eye,
> > 
> > the tif/dted file i am trying to open has different coordinate system GEOGCS
> > 
> > 
> > My queries
> > 
> > 1.  How do I open raster (tif or DTED) file with different coordinate sytem
> > in mapfile.
> > 
> > 2.  Is it possible to open ogr file with extents defined and tif with above
> > coordinate system in same project as diffrent layers.
> > 
> > Thanks a ton.
> > 
> > 
> > 
> > 
> > Coordinate System is:
> > GEOGCS["Geographic (Longitude, Latitude); user-defined (non-standard);
> > user-defined (non-standard)",
> >     DATUM["unknown",
> >         SPHEROID["unretrievable - using WGS84",6378137,298.257223563]],
> >     PRIMEM["Greenwich",0],
> >     UNIT["degree",0.0174532925199433]]
> > Origin = (73.000000000000000,29.999999999999996)
> > Pixel Size = (0.000061865874791,-0.000061850569027)
> > Metadata:
> >   AREA_OR_POINT=Area
> >   TIFFTAG_XRESOLUTION=200
> >   TIFFTAG_YRESOLUTION=200
> >   TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)



More information about the Tcmug mailing list