{"action":"opened","issue":{"url":"https://api.github.com/repos/faunalia/rt_mapserver_exporter/issues/14","labels_url":"https://api.github.com/repos/faunalia/rt_mapserver_exporter/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/faunalia/rt_mapserver_exporter/issues/14/comments","events_url":"https://api.github.com/repos/faunalia/rt_mapserver_exporter/issues/14/events","html_url":"https://github.com/faunalia/rt_mapserver_exporter/issues/14","id":124543228,"number":14,"title":"Transparency is set globally at style level","user":{"login":"aperi2007","id":2136684,"avatar_url":"https://avatars.githubusercontent.com/u/2136684?v=3","gravatar_id":"","url":"https://api.github.com/users/aperi2007","html_url":"https://github.com/aperi2007","followers_url":"https://api.github.com/users/aperi2007/followers","following_url":"https://api.github.com/users/aperi2007/following{/other_user}","gists_url":"https://api.github.com/users/aperi2007/gists{/gist_id}","starred_url":"https://api.github.com/users/aperi2007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperi2007/subscriptions","organizations_url":"https://api.github.com/users/aperi2007/orgs","repos_url":"https://api.github.com/users/aperi2007/repos","events_url":"https://api.github.com/users/aperi2007/events{/privacy}","received_events_url":"https://api.github.com/users/aperi2007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-01T12:30:47Z","updated_at":"2016-01-01T12:30:47Z","closed_at":null,"body":"I notice the plugin use the OPACITY command at style level to obtain the transparency.\r\nThe opacity act globally on all the style settings. So if in the style is defined a fill and an outline , the opacity act globally on both of them.\r\n\r\nThis is compliant with the QGIS style when in the qgis style is set the transparency at style level.\r\n\r\nBut when in qgis the transparency is set using the fourth color value , also in the mpasever should be use the 4th parameter for transparency instead of the opacity.\r\n\r\nMapserver allo to set a transparency using the 4th colo parameters if the color are set using hexadecimale.\r\n\r\nLike this (for a 50% transparency):\r\n\r\nInfact the standard solution for a 50% transparency on the outline should be set like this:\r\nCOLOR \"#RRGGBBTT\"\r\n\r\nI will try to resolve this in my locally version of plugin (I'm using a heavy customized fork of rt_mapserver_.exporter).\r\nIf the solution will be quite standard I will produce a pull for this version.\r\n"}}