Can't view Envi HDR file...

Eduardo Patto Kanegae lists at WEBMAPIT.COM.BR
Thu Aug 12 11:53:04 PDT 2004


Hi,

I'm trying to use MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR
INPUT=GDAL INPUT=SHAPEFILE

to display a raster layer based on a ENVI HDR file.

the 'gldainfo' result of this file is:
---------
Driver: ENVI/ENVI .hdr Labelled
Size is 8401, 7201
Coordinate System is:
LOCAL_CS["Geographic Lat/Lon",
     UNIT["Meter",1]]
Origin = (-183604.500000,-64798.500000)
Pixel Size = (3.00000000,-3.00000000)
Corner Coordinates:
Upper Left  ( -183604.500,  -64798.500)
Lower Left  ( -183604.500,  -86401.500)
Upper Right ( -158401.500,  -64798.500)
Lower Right ( -158401.500,  -86401.500)
Center      ( -171003.000,  -75600.000)
Band 1 Block=8401x1 Type=Int16, ColorInterp=Undefined
   Description = Mosaic (Band 1)
-------

Using OpenEV 1.80 I got a view like shown at the 'dem-openev.png' attached.

But using MapServer I got only an image like shown in
'dem-mapserver.png' attached.

My mapfile is:

MAP
     EXTENT -183604.500 -86401.500 -158401.500 -64798.500
     IMAGETYPE        dem
     SIZE            736 632

     OUTPUTFORMAT
         NAME dem
         DRIVER "GD/PNG"
         IMAGEMODE RGB
     END

     LAYER # imagem
         NAME        "imagem"
         TYPE        RASTER
         DATA        "C:\local\mapas\envi\MOSAICOHGT"
     END

END

What is wrong?

What should I change to display in MapServer just like the way it
appears in OpenEV?

best regards.

--
Eduardo Patto Kanegae
http://www.webmapit.com.br
UIN: 303747254
Valinhos/SP/Brasil +55(19)3871-4875

Treinamento em UMN MapServer -
http://www.webmapit.eti.br/ptbr/?menuoption=mapserver
I Encontro Nacional de Usuários MapServer -
http://mapserver.cttmar.univali.br/encontro2004
Fórum MapServer Brasil - http://mapserver.cttmar.univali.br/forum

***Fim da Mensagem / End of Message ***


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dem-openev.PNG
Type: image/png
Size: 476081 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040812/4b193aa8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dem-mapserver.png
Type: image/png
Size: 26923 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040812/4b193aa8/attachment-0001.png>


More information about the MapServer-users mailing list