[mapserver-users] transparecy for colored polygons
rishi
rishe28 at gmail.com
Thu Mar 5 01:49:24 PST 2015
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.Eichner at 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=WMS&request=GetCapabilities"
> http://host/cgi-bin/mapserv?map=/path/to/mapfile.map
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150305/33ae2147/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.jpg
Type: image/jpeg
Size: 29145 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20150305/33ae2147/attachment.jpg>
More information about the MapServer-users
mailing list