showing 2 landsat utm geotiff

Jan Hartmann j.l.h.hartmann at UVA.NL
Sat Oct 2 07:01:22 PDT 2004


Joerg,

You have two layers in different projections. This means that you have
to define a projection block in each layer *plus* an output projection
in the "map" part of the mapfile. I'm not sure what that last one should
be; probably some sort of global German epsg projection.

And then: both layers have to be STATUS DEFAULT!

Jan


joerg p wrote:

> hello,
>
> I have landsat utm geotiffs zone 32 and 33 and would like to show them
> both. I can show only either 32 or 33... Whats wrong?
>
> joerg
>
> mapfile:
> MAP
>
> IMAGETYPE jpeg
> EXTENT 203700.00 5700000.00 800000.00 6000000.00
> UNITS METERS
> SIZE 800 400
> IMAGECOLOR 112 135 148
> DEBUG ON
>
> WEB
>   LOG "C:\ms_tmp\logfile.txt"
>   IMAGEPATH "C:\ms_tmp\"
>   IMAGEURL "/ms_tmp/"
>   TEMPLATE "northTempl_2.html"
> END
>
> LAYER
>        NAME landsathamburgz32
>        STATUS DEFAULT
>        DATA "data/raster/landsat/z32_etmMosaic_halftone.tif"
>        #OFFSITE 0 0 0
>        TYPE RASTER
>        DEBUG ON
> END
> LAYER
>        NAME landsatberlinz33
>        STATUS ON
>        DATA "data/raster/landsat/z33_etmMosaic_halftone.tif"
>        #OFFSITE 0 0 0
>        TYPE RASTER
>        DEBUG ON
> END
>
> END # Map File
>



More information about the MapServer-users mailing list