Re: [Geoserver-users] Styling Polygons without styling the polygon overlays

2017-03-28 Thread Daniel Araujo Miranda
Andrea beat me to the answer...

Is it possible to set transparency "style - wide" instead of 
individually for symbolizers? I was trying to find a way to make 
transparency work for that case.

I suppose one could implement the transparency when rendering at the 
client, but it would be best if it were baked into the SLD.

--Daniel



Em 28/03/2017 10:56, Andrea Aime escreveu:
> On Tue, Mar 28, 2017 at 3:39 PM, Nachtigall, Jens (init) 
> mailto:jens.nachtig...@init.de>> wrote:
>
> Hi,
>
> good idea, but I think the problem will be that the overlapping
> transparency of the fill will add to each other. So I guess this
> would work if there was no transparency… Right?
>
>
> Ah right, I did not notice the transparency
>
> Or is there some way of setting the fill color in absolute values
> with rgba or similar, so that the two feature styles’ fill would
> not add up.
>
>
> You can try with composite controls, maybe with a mix of 
> composite-base in the fill layer and
> using copy compositing along with it... unsure :-)
> However, the strokes would become visible, maybe you can put them on 
> top and use a destination-out compositing for them.
> Again, not sure, you'll have to try that out :-)
>
> Cheers
> Andrea
>
> -- 
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054 Massarosa (LU)
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> *AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
>
> Le informazioni contenute in questo messaggio di posta elettronica e/o 
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. 
> Il loro utilizzo è consentito esclusivamente al destinatario del 
> messaggio, per le finalità indicate nel messaggio stesso. Qualora 
> riceviate questo messaggio senza esserne il destinatario, Vi preghiamo 
> cortesemente di darcene notizia via e-mail e di procedere alla 
> distruzione del messaggio stesso, cancellandolo dal Vostro sistema. 
> Conservare il messaggio stesso, divulgarlo anche in parte, 
> distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità 
> diverse, costituisce comportamento contrario ai principi dettati dal 
> D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely 
> for the attention and use of the named addressee(s) and may be 
> confidential or proprietary in nature or covered by the provisions of 
> privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New 
> Data Protection Code).Any use not in accord with its purpose, any 
> disclosure, reproduction, copying, distribution, or either 
> dissemination, either whole or partial, is strictly forbidden except 
> previous formal approval of the named addressee(s). If you are not the 
> intended recipient, please contact immediately the sender by 
> telephone, fax or e-mail and delete the information in this message 
> that has been received in error. The sender does not give any warranty 
> or accept liability as the content, accuracy or completeness of sent 
> messages and accepts no responsibility  for changes made after they 
> were sent or for other risks which arise as a result of e-mail 
> transmission, viruses, etc.
>
>
> ---
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling Polygons without styling the polygon overlays

2017-03-28 Thread Chris Snider
The circles are the result of the stroke on the two overlapping polygons.  If 
you remove/make transparent the stroke, and leave the fill as is, it will 
remove the circles.  Mind you, this will also remove the hard edge of the 
polygon, but it should still delineate the edge simply due to the difference in 
the styled polygon and surrounding image data.

Chris Snider
Senior Software Engineer
Intelligent Software Solutions, A Polaris Alpha Company
[Description: Description: Description: cid:image001.png@01CA1F1F.CBC93990]

From: Andrea Aime [mailto:andrea.a...@geo-solutions.it]
Sent: Tuesday, March 28, 2017 7:56 AM
To: Nachtigall, Jens (init) 
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Styling Polygons without styling the polygon 
overlays

On Tue, Mar 28, 2017 at 3:39 PM, Nachtigall, Jens (init) 
mailto:jens.nachtig...@init.de>> wrote:
Hi,

good idea, but I think the problem will be that the overlapping transparency of 
the fill will add to each other. So I guess this would work if there was no 
transparency… Right?

Ah right, I did not notice the transparency

Or is there some way of setting the fill color in absolute values with rgba or 
similar, so that the two feature styles’ fill would not add up.

You can try with composite controls, maybe with a mix of composite-base in the 
fill layer and
using copy compositing along with it... unsure :-)
However, the strokes would become visible, maybe you can put them on top and 
use a destination-out compositing for them.
Again, not sure, you'll have to try that out :-)

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling Polygons without styling the polygon overlays

2017-03-28 Thread Andrea Aime
On Tue, Mar 28, 2017 at 3:39 PM, Nachtigall, Jens (init) <
jens.nachtig...@init.de> wrote:

> Hi,
>
>
>
> good idea, but I think the problem will be that the overlapping
> transparency of the fill will add to each other. So I guess this would work
> if there was no transparency… Right?
>

Ah right, I did not notice the transparency


> Or is there some way of setting the fill color in absolute values with
> rgba or similar, so that the two feature styles’ fill would not add up.
>

You can try with composite controls, maybe with a mix of composite-base in
the fill layer and
using copy compositing along with it... unsure :-)
However, the strokes would become visible, maybe you can put them on top
and use a destination-out compositing for them.
Again, not sure, you'll have to try that out :-)

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling Polygons without styling the polygon overlays

2017-03-28 Thread Nachtigall, Jens (init)
Hi,

good idea, but I think the problem will be that the overlapping transparency of 
the fill will add to each other. So I guess this would work if there was no 
transparency… Right? Or is there some way of setting the fill color in absolute 
values with rgba or similar, so that the two feature styles’ fill would not add 
up.

Best,
Jens


On Tue, Mar 28, 2017 at 2:38 PM, Nachtigall, Jens (init) 
mailto:jens.nachtig...@init.de>> wrote:
Is there some kind of SLD rule that avoids these red circle overlaps at the 
beginning of the polygons?

Can you do something like it's done for lines, two feature type styles:
- The first one only does the strokes, as sits at the bottom
- The second one does only filling (or maybe also a thin stroking with the same 
color as the fill) and sits at the top

Mind, I did not try it out, but as I picture it in my mind, it seems like it 
could work.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styling Polygons without styling the polygon overlays

2017-03-28 Thread Andrea Aime
On Tue, Mar 28, 2017 at 2:38 PM, Nachtigall, Jens (init) <
jens.nachtig...@init.de> wrote:

> Is there some kind of SLD rule that avoids these red circle overlaps at
> the beginning of the polygons?
>
>
Can you do something like it's done for lines, two feature type styles:
- The first one only does the strokes, as sits at the bottom
- The second one does only filling (or maybe also a thin stroking with the
same color as the fill) and sits at the top

Mind, I did not try it out, but as I picture it in my mind, it seems like
it could work.

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users