[mapserver-users] TR: [WMS] Styles not working with mode=tile

Clément MONIER Clement.MONIER at v-trafic.com
Thu Jan 12 08:40:58 EST 2012


Skipped content of type multipart/alternative-------------- next part --------------
MAP
NAME test
STATUS ON
SIZE 600 600
EXTENT -195095 5230888 861339 6610973
IMAGECOLOR 255 255 255
FONTSET "/ms4w/apps/gmap/etc/fonts.txt"
SHAPEPATH "/ms4w/apps/gmap/htdocs/data"
SYMBOLSET "/ms4w/apps/gmap/htdocs/symbols/shade.sym"
IMAGETYPE png
TRANSPARENT ON
UNITS METERS
IMAGETYPE AGGA
MAXSIZE 2048
RESOLUTION 72
CONFIG "MS_NONSQUARE" "no"

DEBUG 5
CONFIG  "MS_ERRORFILE" "/ms4w/apps/gmap/htdocs/mapserver.log"

OUTPUTFORMAT
 NAME 'AGGA'
 DRIVER AGG/PNG
 IMAGEMODE RGBA
 MIMETYPE "image/png"
 FORMATOPTION "TRANSPARENT=ON"
  FORMATOPTION "QUANTIZE_FORCE=ON"
  #FORMATOPTION "QUANTIZE_DITHER=OFF"
  FORMATOPTION "QUANTIZE_COLORS=256"
END

#
# Start of web interface definition
#
WEB
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root 
# of the drive where the .MAP file resides.
#
  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
  #TEMPLATE 'c:/ms4w/apps/gmap/htdocs/templates'
  METADATA
    "ows_enable_request"   "*"
  END
END

PROJECTION
   "init=epsg:3785"
END

#
# Start of layer definitions
#

LAYER
  
  NAME layer1
  TYPE LINE
  STATUS ON 
  DATA 'test.shp' 

PROJECTION
   "init=epsg:4326"
END

  CLASSGROUP 'black_style'  # default used style

  CLASS
	NAME "frc0"
    GROUP 'black_style'
      STYLE
        COLOR 0 0 0
        WIDTH 8
    END 
   END
   
  CLASS
	NAME "frc0"
    GROUP 'red_style'
      STYLE
        COLOR 255 0 0
        WIDTH 8
    END 
   END   
END


END
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmp.rar
Type: application/octet-stream
Size: 158157 bytes
Desc: tmp.rar
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120112/6ff53118/tmp-0001.obj
-------------- next part --------------
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list