[Mapserver-users] Offsite

Stephen Clark stephen.clark at focus.ca
Tue Oct 28 10:34:46 PST 2003


Try this:


LAYER
  NAME clrs_94A_040
  DATA "full path name/Tiff-Image.tif"
  TYPE RASTER
  STATUS ON
  OFFSITE 255 255 255
  CLASSITEM "[pixel]"
  CLASS
    COLOR 255 0 0
  END
END



----- Original Message ----- 
From: "Jan Vietmeier" <jan at vietmeier.de>
To: "mapserver users" <mapserver-users at lists.gis.umn.edu>
Sent: Tuesday, October 28, 2003 8:57 AM
Subject: [Mapserver-users] Offsite


> Hi Mapserver users,
> I have a Problem regarding the OFFSITE property of mapserver. If I set an
> OFFSITE value mapserver have the error:
> 
> [MapServer Error]: getInteger(): Parsing error near (STATUS):(line 36)
> 
> The layer section looks like this:
> 
>    LAYER
>         NAME "Tiff-Image"
>         TYPE RASTER
>         MINSCALE 25001
>         OFFSITE 0               # THIS IS LINE 35
>         STATUS ON               # LINE 36
> 
>         DATA "../raster/raster.tif"
> 
>         PROJECTION
>            "init=epsg:31468"
>         END
>     END # Layer
> 
> My Computer:  WIN2K
> My Webserver: Apache
> My Mapserver: Version 4.0 with php/mapscipt pre-compiled by dm-solutions
> 
> Everythink is working fine on mapserver using php/mapscript instead the
> OFFSITE property. I can display, zoom-in, zoom-out, query the map ... is
> there any other property I have to set if I whant to use the OFFSITE
> property (e.g. the imagetype must be a png or gif)?
> 
> regards
> 
> Jan
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 



More information about the MapServer-users mailing list