[Mapserver-users] Offsite

Ed McNierney ed at topozone.com
Tue Oct 28 12:43:27 EST 2003


Jan -

In MapServer 4.0, the OFFSITE value is an RGB triplet, rather than a pixel index.  If color 0 corresponds to black (as it usually does) then use OFFSITE 0 0 0 instead.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Jan Vietmeier [mailto:jan at vietmeier.de]
Sent: Tuesday, October 28, 2003 11:58 AM
To: mapserver users
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