difficulity displaying GRASS rasters

Kurt Menke kmenke at EDAC.UNM.EDU
Fri Jul 7 11:19:01 EDT 2006


Hello,

I have a Mapserver client which is trying to access a GRASS raster but I get
the following error message: .Unrecognized or unsupported image format
drawEPP(): Image handling error.
/var/www/cgi-bin/vc/valles/modis/PERMANENT/cellhd/MT3VG_2006_186_1521_250m_N
DVI.rc is not an EPPL file.

 

The grass database is on a different server but the database location is set
up as a share so that it appears to be a local drive on the server running
Mapserver and the client.  I've tried putting a shapefile in the same shared
drive and Mapserver can read that.  Permissions are open on the data.  Any
ideas on why I may be getting this error would be greatly appreciated.
Machine details are below.

 

Mapserver machine:

RHEL 3.0

Maperver 4.6.1 compiled against GDAL

            Layer definition in mapfile

            ###########################

                 #NDVI

                ###########################

                LAYER

                                NAME "NDVI"

                                DATA
"/var/www/cgi-bin/vc/valles/modis/PERMANENT/cellhd/MT3VG_2006_186_1521_250m_
NDVI.rc"

                                TYPE raster

                                STATUS off

                                TRANSPARENCY 65

                                

                                METADATA

                                                wms_abstract "NDVI"
#wms_abstract (Abstract)

                                                wms_keywordlist "NDVI"
#wms_keywordlist  (KeywordList)

                                                wms_opaque "0" #wms_opaque
(Layer)

                                                wms_title "NDVI" #wms_title
(Title)

                                                layer_title "NDVI"

                                                legend_display "no"

                                                queryable "no"

                                                queryable_default "no"

                                                background "no"

                                                static "no"

                                                checked "unchecked"

                                                raster_selected "no"

                                                END # METADATA

                                CLASS

                                                TITLE "NDVI"

                                NAME "NDVI"

                END

                PROJECTION

                                                "proj=laea"  

                                                "lat_0=45.00" 

                                "lon_0=-100"

                                "x_0=0.00"

                                "y_0=0.00"

                END # PROJECTION

                END  #LAYER     

GRASS 6.0.1

GDAL 1.2.5 - supported formats output

            Supported Formats:

  VRT (rw+): Virtual Raster

  GTiff (rw+): GeoTIFF

  NITF (rw+): National Imagery Transmission Format

  HFA (rw+): Erdas Imagine Images (.img)

  SAR_CEOS (ro): CEOS SAR Image

  CEOS (ro): CEOS Image

  ELAS (rw+): ELAS

  AIG (ro): Arc/Info Binary Grid

  AAIGrid (rw): Arc/Info ASCII Grid

  SDTS (ro): SDTS Raster

  DTED (rw): DTED Elevation Raster

  PNG (rw): Portable Network Graphics

  JPEG (rw): JPEG JFIF

  MEM (rw+): In Memory Raster

  JDEM (ro): Japanese DEM (.mem)

  GIF (rw): Graphics Interchange Format (.gif)

  ESAT (ro): Envisat Image Format

  BSB (ro): Maptech BSB Nautical Charts

  XPM (rw): X11 PixMap Format

  BMP (rw+): MS Windows Device Independent Bitmap

  AirSAR (ro): AirSAR Polarimetric Image

  RS2 (ro): RadarSat 2 XML Product

  PCIDSK (rw+): PCIDSK Database File

  HDF4 (ro): Hierarchical Data Format Release 4

  HDF4Image (rw+): HDF4 Dataset

  PNM (rw+): Portable Pixmap Format (netpbm)

  DOQ1 (ro): USGS DOQ (Old Style)

  DOQ2 (ro): USGS DOQ (New Style)

  ENVI (rw+): ENVI .hdr Labelled

  EHdr (rw+): ESRI .hdr Labelled

  PAux (rw+): PCI .aux Labelled

  MFF (rw+): Atlantis MFF Raster

  MFF2 (rw+): Atlantis MFF2 (HKV) Raster

  FujiBAS (ro): Fuji BAS Scanner Image

  GSC (ro): GSC Geogrid

  FAST (ro): EOSAT FAST Format

  BT (rw+): VTP .bt (Binary Terrain) 1.3 Format

  LAN (ro): Erdas .LAN/.GIS

  CPG (ro): Convair PolGASP

  L1B (ro): NOAA Polar Orbiter Level 1b Data Set

  FIT (rw): FIT Image

  USGSDEM (rw): USGS Optional ASCII DEM (and CDED)

  GXF (ro): GeoSoft Grid Exchange Format

  GRASS (ro): GRASS Database Rasters

 

GRASS machine:

RHEL 3.0

GRASS 6.0.1

GDAL-Grass 1.3.1

GDAL 1.3.1 - supported formats output:

Supported Formats:

  GRASS (ro): GRASS Database Rasters (5.7+)

  VRT (rw+): Virtual Raster

  GTiff (rw+): GeoTIFF

  NITF (rw+): National Imagery Transmission Format

  HFA (rw+): Erdas Imagine Images (.img)

  SAR_CEOS (ro): CEOS SAR Image

  CEOS (ro): CEOS Image

  ELAS (rw+): ELAS

  AIG (ro): Arc/Info Binary Grid

  AAIGrid (rw): Arc/Info ASCII Grid

  SDTS (ro): SDTS Raster

  DTED (rw): DTED Elevation Raster

  PNG (rw): Portable Network Graphics

  JPEG (rw): JPEG JFIF

  MEM (rw+): In Memory Raster

  JDEM (ro): Japanese DEM (.mem)

  GIF (rw): Graphics Interchange Format (.gif)

  ESAT (ro): Envisat Image Format

  BSB (ro): Maptech BSB Nautical Charts

  XPM (rw): X11 PixMap Format

  BMP (rw+): MS Windows Device Independent Bitmap

  AirSAR (ro): AirSAR Polarimetric Image

  RS2 (ro): RadarSat 2 XML Product

  PCIDSK (rw+): PCIDSK Database File

  PCRaster (rw): PCRaster Raster File

  ILWIS (rw+): ILWIS Raster Map

  RIK (ro): Swedish Grid RIK (.rik)

  HDF4 (ro): Hierarchical Data Format Release 4

  HDF4Image (rw+): HDF4 Dataset

  PNM (rw+): Portable Pixmap Format (netpbm)

  DOQ1 (ro): USGS DOQ (Old Style)

  DOQ2 (ro): USGS DOQ (New Style)

  ENVI (rw+): ENVI .hdr Labelled

  EHdr (rw+): ESRI .hdr Labelled

  PAux (rw+): PCI .aux Labelled

  MFF (rw+): Atlantis MFF Raster

  MFF2 (rw+): Atlantis MFF2 (HKV) Raster

  FujiBAS (ro): Fuji BAS Scanner Image

  GSC (ro): GSC Geogrid

  FAST (ro): EOSAT FAST Format

  BT (rw+): VTP .bt (Binary Terrain) 1.3 Format

  LAN (ro): Erdas .LAN/.GIS

  CPG (ro): Convair PolGASP

  IDA (rw+): Image Data and Analysis

  NDF (ro): NLAPS Data Format

  ECW (rw): ERMapper Compressed Wavelets

  JP2ECW (rw+): ERMapper JPEG2000

  L1B (ro): NOAA Polar Orbiter Level 1b Data Set

  FIT (rw): FIT Image

  RMF (rw+): Raster Matrix Format

  USGSDEM (rw): USGS Optional ASCII DEM (and CDED)

  GXF (ro): GeoSoft Grid Exchange Format

 

 

Kurt

*************************************

Kurt A. Menke, GISP

GIS Analyst/Programmer

Earth Data Analysis Center

MSC01 1110

1 University of New Mexico

Albuquerque, NM 87131-0001

Ph: 505-277-3622 x239

Fax: 505-277-3614

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060707/27e392a9/attachment.html


More information about the mapserver-users mailing list