Re: [mapserver-users] Set OPACITY through runtime substitution

2016-02-08 Thread Space
Thank you Steve, this works and offers a workable solution! Regards Han -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093p5249423.html Sent from the Mapserver - User mailing list archive at Nabble.com. __

Re: [mapserver-users] Set OPACITY through runtime substitution

2016-02-06 Thread Rahkonen Jukka (MML)
7.0 (it did work for COLOR/OUTLINECOLOR). Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Space Sent: Friday, February 05, 2016 7:23 AM To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Set OPACITY through runtime substi

Re: [mapserver-users] Set OPACITY through runtime substitution

2016-02-05 Thread Lime, Steve D (MNIT)
s[0].style[0]=OPACITY+10) but wasn't for me with 7.0 (it did work for COLOR/OUTLINECOLOR). Steve -Original Message- From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Space Sent: Friday, February 05, 2016 7:23 AM To: mapserver-users@lists.osgeo.org S

Re: [mapserver-users] Set OPACITY through runtime substitution

2016-02-05 Thread Space
In the above example I used invalid syntax. This is what I meant: CLASS EXPRESSION ('%opacity%' = '10') STYLE OPACITY 10 END END CLASS EXPRESSION ('%opacity%' = '20') STYLE OPACITY 20 END END --

[mapserver-users] Set OPACITY through runtime substitution

2016-02-05 Thread Space
Hello, I'd like to be able to set OPACITY of a layer through a parameter within a request, like: http://mapserver-prelive.myserver.net/cgi-bin/mapserv?map=/var/www/mapserver/mymapfile.map&service=wms&request=GetMap&version=1.1.1&layers=wind_area&srs=EPSG:4326&BBOX=-43.6,17.5,42.8,73.6&WIDTH=400&H