[Mapserver-users] Problem with colours when displaying a GEOTiff image along with vector layers
Covariance
Covariance at shaw.ca
Tue Oct 14 19:22:12 PDT 2003
I recently downloaded and installed version 4.0 for WIN32 and started going
through my example files that I had implemented with version 3.5 on another
computer. Everything was going fine and I was able to display all of my
examples OK until I hit one that had a GEOTiff file, then the colours on the
vector layer suddenly became monochrome along with the GEOTiff image. If I
turn off the raster layer then the colours appear fine.
Help on getting the vector colours back along with displaying the raster
layer would be much appreciated.
thanks,
Bob Bruce
The listing of the MapServer version is:
C:\Program Files\Apache Group\Apache2\cgi-bin>MAPSERV.EXE -v
MapServer version 4.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SWF SUPPORTS=P
ROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIEN
T INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
and the listing of the mapfile (with the raster layer commented out) is:
NAME T12R02E_s2ex2
EXTENT 620000 5537250 631000 5547350
SIZE 400 400
SHAPEPATH "c:/apache/htdocs/tileswwinnipeg"
# LAYER # Single ortho image display
# NAME "6205531GeoTIFF"
# DATA "orthodata/6205531G.tiff"
# STATUS DEFAULT
# TYPE RASTER
# # OFFSITE 0
# END
LAYER # DLS Polys
NAME "DLSPolys"
DATA "t12r02e/t12r02ev03_DLSPolygons"
STATUS DEFAULT
TYPE POLYGON
CLASSITEM "PART"
CLASS # Whole DLS Parcel
# STATUS OFF
NAME "WHOLE DLSPOLY"
EXPRESSION ""
COLOR 255 202 149
OUTLINECOLOR 0 0 0
END # end of Whole DLS Parcel class object
CLASS # Part DLS Parcel
NAME "PART DLSPOLY"
EXPRESSION "PT"
COLOR 255 164 72
OUTLINECOLOR 0 0 0
END # end of Part DLS Parcel class object
END # end of layer object
LAYER # Plan Parcel Layer
NAME "Plan Parcels"
DATA "t12r02e/t12r02ev03_LotPolygons"
STATUS DEFAULT
TYPE POLYGON
CLASSITEM "PART"
CLASS # Whole Plan Parcels
NAME "Whole Plan Parcels"
EXPRESSION ""
COLOR 212 178 176
OUTLINECOLOR 0 0 0
END # end of Whole Plan Parcels class
CLASS # Part Plan Parcels
NAME "Part Plan Parcels"
EXPRESSION "PT"
COLOR 170 103 100
OUTLINECOLOR 0 0 0
END # end of Whole Plan Parcels class
END # end of water features layer
END # end of map file
More information about the MapServer-users
mailing list