Hi Seth. I confirm the sintax STYLE COLOR "#e1cc4f" OPACITY 50 ANTIALIAS false MAXSCALEDENOM 5000000 MINSCALEDENOM 1 END
Is working. The opacity is in percent (50 => 50%) Il giorno lun 30 set 2019 alle ore 17:36 Andrea Peri <aperi2...@gmail.com> ha scritto: > The "#ffffff01" sintax was dismissed ? > > The 7.4.2 docs don't report this. > > > ------ from https://www.mapserver.org/mapfile/style.html > > - > > RGBA value (adding translucence): “#rrggbbaa”. To specify a > semi-translucent magenta, the following is used: > > COLOR "#FF00FFCC" > > > ------- > > I try this sintax with OPACITY. > > Thx, > A. > > > Il giorno lun 30 set 2019 alle ore 17:26 Seth G <se...@geographika.co.uk> > ha scritto: > >> Actually that does remind me of a recent issue I had when updating from >> 7.2 to 7.4. I have the following diff: >> >> STYLE >> # add an almost fully translucent colour >> # setting the aa value to 00 in the rrggbbaa setting causes >> any masked layers to no >> # longer display >> COLOR "#FFFFFF01" >> END >> >> The above no longer worked and I updated to: >> >> STYLE >> # add an almost fully translucent colour - if no colour then >> no MASK >> COLOR "#ffffff" >> OPACITY 1 >> END >> >> >> -- >> web:http://geographika.co.uk >> twitter: @geographika >> >> >> On Mon, Sep 30, 2019, at 4:56 PM, Andrea Peri wrote: >> >> Hi, >> >> this is the class I use >> >> The transparenc is used if RGBA hex. >> COLOR "#e1cc4f7f" >> >> CLASS >> NAME ' ' >> GROUP 'avorio' >> MAXSCALEDENOM 5000000 >> MINSCALEDENOM 1 >> STYLE >> COLOR "#e1cc4f7f" >> ANTIALIAS false >> MAXSCALEDENOM 5000000 >> MINSCALEDENOM 1 >> END >> STYLE >> WIDTH 2.0 >> OUTLINECOLOR "#e1cc4f" >> ANTIALIAS false >> MAXSCALEDENOM 5000000 >> MINSCALEDENOM 1 >> END >> END >> >> >> Il giorno lun 30 set 2019 alle ore 15:31 Seth G <se...@geographika.co.uk> >> ha scritto: >> >> >> Hi Andrea, >> >> Do you have a cut-down Mapfile to reproduce this? >> Are you using the COMPOSITE block to set OPACITY? >> https://mapserver.org/mapfile/composite.html#parameters >> Setting OPACITY on the layer directly is deprecated since 7.0 >> >> Seth >> >> -- >> web:http://geographika.co.uk >> twitter: @geographika >> >> >> On Mon, Sep 30, 2019, at 2:49 PM, Andrea Peri wrote: >> >> Hi, >> >> seem the issue is due to a more recent trunk of mapserver. >> I try with an older trunk version and it work . The transparency is ok. >> >> So the issue is in the last trunk. >> >> A. >> >> >> Il giorno lun 30 set 2019 alle ore 14:14 Andrea Peri <aperi2...@gmail.com> >> ha scritto: >> >> Hi, >> >> After update the Linux Debian to last Burst version , and recompile gdal >> and mapserver, I see the mapserver was no more capable to produce png >> images with transparency. >> >> I guess there is some library wrong. >> I try also to set gdal to recmpile using the internal version of png but >> don't seem to have any result. >> >> Any help is welcome. >> >> Thx, >> >> - >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> >> >> > > -- > ----------------- > Andrea Peri > . . . . . . . . . > qwerty àèìòù > ----------------- > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users