[Mapserver-users] Offsite

Till Adams adams at terrestris.de
Tue Oct 28 12:56:44 EST 2003


Dear Jan,

if you use mapserver from v4.0 you must define an RGB value instead of 
the index for the offsite, the syntax changed ;-)

greetings,
Till

Jan Vietmeier schrieb:
> 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
> 


-- 

***** Besuchen Sie uns auf der acqua alta *****
*****   vom 24.-27. November in München   *****

-----

Dipl. Geogr. Till Adams
terrestris, Paulsen&Adams GbR
Siemensstr. 8 * 53121 Bonn
Tel.: 0228 962 899 52 * Fax.: 0228 962 899 57
info at terrestris.de * www.terrestris.de





More information about the mapserver-users mailing list