raster error

Jose Luis Gonzalez joseluismapserver at YAHOO.ES
Mon Jan 31 07:46:06 PST 2005


I obtain this error after attempting to display a raster map:

java.lang.UnknownError: Attempt to open a RASTER layer, but this is only supported after a raster query.

Does anyone know what this means, and what am I possibly doing wrong.

This is my  .map file:

MAP
    NAME praha
    STATUS ON
    IMAGETYPE PNG
    SIZE 800 500
    SHAPEPATH "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8"
    EXTENT 3445375 5539250 3474000 5560000
    UNITS METERS
    PROJECTION "proj=tmerc" "lat_0=0" "lon_0=15" "k=1" "x_0=0" "y_0=3500000" END
  WEB
   IMAGEPATH "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8/"
   IMAGEURL "/test8/"
  END
  LAYER
   NAME "Nighttime lights"
   TYPE RASTER
   STATUS ON
   DATA "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8/praha.tif"
  END
END

Thank you

Jose Luis


---------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050131/732bc006/attachment.htm>


More information about the MapServer-users mailing list