[mapserver-users] transparecy for colored polygons

2015-03-05 Thread rishi
hi all

i want to set transparency for colored polygons iam displaying a polygon
layer on the google image and i want to set transparency so that background
image has to visible in the colored polygons

i have attached my map also

my mapfile is

MAP EXTENT 8240841.450745 2400319.900386 9218007.463612 3107183.406947

IMAGETYPE png

size 150 500

 TRANSPARENT on

LEGEND

STATUS EMBED

POSITION LR

TRANSPARENT TRUE

END

web
metadata
wms_srs EPSG:4326 EPSG:900913
end
end

LAYER CONNECTIONTYPE postgis
CONNECTION user=postgres password=** dbname=mpdb host=localhost
port=5432 DATA geom FROM view_villagevidyut using unique village_code_c11

STATUS Default
TYPE polygon

labelitem villname

  CLASSITEM process
  CLASS
   NAME completed
   EXPRESSION completed

   STYLE
 COLOR 0 255 0
   outlinecolor 121 188 255
  END

LABEL

SIZE 2

color 121 188 255

END

END

CLASS NAME uncompleted

 EXPRESSION uncompleted

STYLE

 COLOR 135 206 235

 outlinecolor 121 188 255

END

END

CLASS NAME plan not covered

EXPRESSION 

   STYLE
   COLOR 240 128 128

   outlinecolor 121 188 255
  END
  LABEL
SIZE 2
color 121 188 255
END
  END

PROJECTION
  init=epsg:900913
END


end



END



On Thu, Mar 5, 2015 at 2:52 PM, Eichner, Andreas - SID 
andreas.eich...@sid.sachsen.de wrote:

  In Section 9.2.4 of the MapServer v6.0 Manual, under OGC Support and
  Configuration / WMS Server / WMS 1.3.0 Support / Some Missing features
 it
  lists WMS 1.3.0 Post request should be an XML document containing the
  different operations and parameters.  (Also appears in the current
  version
  documentation v7 beta, although page hasn't been updated since 2013.)
 
  - is this suggesting that POST is not supported?
 

 Nope. Sending the KVP request with mimetype
 application/x-www-form-urlencoded via POST is fully supported. Simple
 example:

 # wget -d -O- --post-data=service=WMSrequest=GetCapabilities
 http://host/cgi-bin/mapserv?map=/path/to/mapfile.map
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] transparecy for colored polygons

2015-03-05 Thread Eichner, Andreas - SID
 
 i want to set transparency for colored polygons iam displaying a polygon
 layer on the google image and i want to set transparency so that
 background image has to visible in the colored polygons

You should apply OPACITY at STYLE or LAYER.
http://mapserver.org/mapfile/style.html#index-37 
http://mapserver.org/mapfile/layer.html#opacity
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users