[mapserver-users] Layer opacity not working

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Mon Oct 31 12:27:49 PDT 2016


Hi,

I can confirm with Linux and Mapserver 7.0.2.  I found also an easy workaround: go back to deprecated style - opacity

          STYLE
            OUTLINECOLOR "#000000"
            COLOR "#98C06B"
          OPACITY 50  
          END

-Jukka Rahkonen-

-----Alkuperäinen viesti-----
Lähettäjä: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Jeff McKenna
Lähetetty: 31. lokakuuta 2016 21:16
Vastaanottaja: mapserver-users at lists.osgeo.org
Aihe: Re: [mapserver-users] Layer opacity not working

I've created a small test case to reproduce (and included the commands to run) and filed a ticket: 
https://github.com/mapserver/mapserver/issues/5343

Also, I've noticed that when running the GetMap request at the commandline, 7.0.2 returns this odd error message (works fine with 7.0.1):

*** BUG ***
In ???: The expression bits == NULL || (rowstride_bytes % sizeof
(uint32_t)) == 0 was false
Set a breakpoint on '_pixman_log_error' to debug


-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





On 2016-10-24 7:37 AM, mmohr wrote:
> Hello, somehow the layer opacity isn’t working. I tried to configure a WMS
> with MS 7.0.1 and 7.0.2 but mostly my response is non-transparent… The
> transparency appears only sometimes.
>
> I’m using “LAYER->COMPOSITE->OPACITY”:
>
> LAYER
>   […]
>   COMPOSITE
>     OPACITY 50
>   END
>   […]
> END
>
> What am I doing wrong? Does someone else observes this magical behavior?
>
> Hope someone can help.
>
> Best regards
> Marcus
>
>

_______________________________________________
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