[Geoserver-users] Inclusion mapOnly not working?

2023-06-22 Thread Jonathan D
It seems in Geoserver 22.0 and above that:

mapOnly

is not working (excluding the symbolizer from the legend) when included
inside a  element.

Can anyone else confirm this is the case?
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [GeoWebCache/GS] Cache-Recycling

2023-06-22 Thread Alexandre Gacon
Perhaps you should avoid automatic creation of cache for your layers and
manage all by hand (consider GeoServer has a WMS source of GeoWebCache).

Alexandre

Le jeu. 22 juin 2023 à 13:35, Stephan H.  a écrit :

> Hi Ian an Andrea,
>
> thanks for your input, I really appreciate it.
>
> your answers helped, thanks.
>
> In my case I only need to change the MinScaleDenoms inside the SLD to make
> the styleing-rule available for another zoom-scale. So  no need to recreate
> the whole bunch of tiles, only seed another additional scale. My SLDs
> currently have the MinScaleDnoms fitting to the used
> tiling-scheme-scale-breaks though.
>
> As a workarround I will mount an empty tile-storage-volume, do my changes
> inside the SLDs, let geoserver delete all (non-existant) tiles and remount
> the storage with the seeded tiles back in, and start seeding the additional
> scale-level. This is untested though, hope this will do...
>
> I hoped there was somewhere a hidden variable to set to stop the
> cache-truncation.
>
> Anyway, thanks for your help!
>
> Best
>
> Stephan
>
>
> Am 22.6.2023 09:17, schrieb Andrea Aime:
>
> On Wed, Jun 21, 2023 at 4:44 PM Ian Turton  wrote:
>
> Again GeoServer has no way of knowing (without a lot of work) which tiles
> are invalid with a style change so it needs to redraw all of them
>
>
> A comparison of two SLD trees would be possible, figuring out if the edits
> changed the tiles, but as you say,
> it's going to be complicated. Having the automatic tile drop automation
> admin controllable (on/off) is certainly easier.
>
> There are some classes of edits that could be identified, which do not
> affect, or just partially affect, the tiles:
>
>- Changes rule names, titles and the like
>- Changes in a rule that is active only in a given scale range (just
>drop tiles in such range)
>- Changes in a rule that matches only certain features (attribute
>filter), figure out their bbox if there is a quick way to do so, only drop
>in the bbox
>
> As said, far away from trivial... a parallel scan of the two SLD object
> trees would have to be implemented, which goes
> hunt for certain types of differences.
>
> Cheers
> Andrea
>
>
> ==
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
> mob:   +39  339 8844549
>
> https://www.geosolutionsgroup.com/
>
> http://twitter.com/geosolutions_it
>
> ---
>
> Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
> 2016/679 - Regolamento generale sulla protezione dei dati "GDPR"), si
> precisa che ogni circostanza inerente alla presente email (il suo
> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
> operazione è illecita. Le sarei comunque grato se potesse darmene notizia.
>
> This email is intended only for the person or entity to which it is
> addressed and may contain information that is privileged, confidential or
> otherwise protected from disclosure. We remind that - as provided by
> European Regulation 2016/679 "GDPR" - copying, dissemination or use of this
> e-mail or the information herein by anyone other than the intended
> recipient is prohibited. If you have received this email by mistake, please
> notify us immediately by telephone or e-mail
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 
Alexandre Gacon
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserve

Re: [Geoserver-users] [GeoWebCache/GS] Cache-Recycling

2023-06-22 Thread Stephan H.



Hi Ian an Andrea,

thanks for your input, I really appreciate it.

your answers helped, thanks.

In my case I only need to change the MinScaleDenoms inside the SLD to 
make the styleing-rule available for another zoom-scale. So  no need to 
recreate the whole bunch of tiles, only seed another additional scale. 
My SLDs currently have the MinScaleDnoms fitting to the used 
tiling-scheme-scale-breaks though.


As a workarround I will mount an empty tile-storage-volume, do my 
changes inside the SLDs, let geoserver delete all (non-existant) tiles 
and remount the storage with the seeded tiles back in, and start seeding 
the additional scale-level. This is untested though, hope this will 
do...


I hoped there was somewhere a hidden variable to set to stop the 
cache-truncation.


Anyway, thanks for your help!

Best

Stephan

Am 22.6.2023 09:17, schrieb Andrea Aime:


On Wed, Jun 21, 2023 at 4:44 PM Ian Turton  wrote:

Again GeoServer has no way of knowing (without a lot of work) which 
tiles are invalid with a style change so it needs to redraw all of 
them


A comparison of two SLD trees would be possible, figuring out if the 
edits changed the tiles, but as you say,
it's going to be complicated. Having the automatic tile drop automation 
admin controllable (on/off) is certainly easier.


There are some classes of edits that could be identified, which do not 
affect, or just partially affect, the tiles:


* Changes rule names, titles and the like
* Changes in a rule that is active only in a given scale range (just 
drop tiles in such range)
* Changes in a rule that matches only certain features (attribute 
filter), figure out their bbox if there is a quick way to do so, only 
drop in the bbox


As said, far away from trivial... a parallel scan of the two SLD object 
trees would have to be implemented, which goes

hunt for certain types of differences.

Cheers
Andrea

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us [1] for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/ [2]

http://twitter.com/geosolutions_it [3]

---
Con riferimento alla normativa sul trattamento dei dati personali (Reg. 
UE 2016/679 - Regolamento generale sulla protezione dei dati "GDPR"), 
si precisa che ogni circostanza inerente alla presente email (il suo 
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è 
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il 
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra 
operazione è illecita. Le sarei comunque grato se potesse darmene 
notizia.


This email is intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential 
or otherwise protected from disclosure. We remind that - as provided by 
European Regulation 2016/679 "GDPR" - copying, dissemination or use of 
this e-mail or the information herein by anyone other than the intended 
recipient is prohibited. If you have received this email by mistake, 
please notify us immediately by telephone or e-mail




Links:
--
[1] http://bit.ly/gs-services-us
[2] https://www.geosolutionsgroup.com/
[3] http://twitter.com/geosolutions_it___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [Externo] R: Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
Just a general reminder that if you find a problem in GeoServer please let
us know, even if you have a workaround in place. There is absolutely no
chance of it getting fixed if the developers don't know about it.

Ian

On Thu, 22 Jun 2023 at 10:50, Miguel Ángel Parrilla Godínez <
maparri...@itracasa.es> wrote:

> Hi Daniele,
>
> We had the same version. It does not work. In older versions it worked.
>
> We have try this. It works:
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
> *ttf://Wingdings#108*
>
> 
>
> 
> #00
>
> 
>
> 
>
> 1
>
> 1
>
> 0
>
> 
>
> 
>
> 
>
> 2
> 
>
> 
>
>
>
> Regards.
>
> Miguel Ángel.
>
> *De:* Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net>
> *Enviado el:* jueves, 22 de junio de 2023 8:41
> *Para:* Ian Turton 
> *CC:* geoserver-users@lists.sourceforge.net
> *Asunto:* [Externo] [Geoserver-users] R: Styled marks shape dot does not
> work in geoserver version 2.23.1
>
>
>
> *ADVERTENCIA: *Este correo electrónico se originó fuera de Tracasa
> Instrumental. No pinches en enlaces, abras ficheros adjuntos o respondas si
> no reconoces al emisor y no tienes la certeza de que el contenido es seguro
> .
>
>
>
> Hi, the result I get is a polygon without filling with dots.
>
> If I use shape://slash it works like it always did in all versions
> (showing me the lines as a fill of the polygon). The only one I can't get
> to work anymore is shape://dot (in 2.23.1 version).
>
>
>
> Daniele
>
>
>
>
>
> *Da:* Ian Turton 
> *Inviato:* martedì 20 giugno 2023 18:11
> *A:* Daniele Maggiolo 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
> geoserver version 2.23.1
>
>
>
> can you give us any clues as to what doesn't work? is nothing drawn? does
> the program crash? is a penguin produced?
>
>
>
> What does the log file show any interesting information? what if you turn
> logging up to GeoTools-dev level and try again?
>
>
>
> Ian
>
>
>
> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi,
>
> I noticed that the styled mark shape://dot doesn't work in GeoServer
> version 2.23.1.
>
> I've tried both creating a style with CSS and SLD. In version 2.22.2
> everything worked fine.
>
> Below is an example of a style created using CSS.
>
>
>
> @mode 'Auto';
> @styleTitle 'Test';
> @styleAbstract 'Test';
>
> /* @title Test
> * @abstract Test
> */
> *{
>   stroke: #a0a0f5;
>   stroke-width: 1;
>   fill: symbol("shape://dot");
> :fill {
> size: 5;
> stroke: #a0a0f5;
> stroke-width: 1;
>   fill: #a0a0f5;
> }
> }
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> 
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
> 
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 

Re: [Geoserver-users] [Externo] R: Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Miguel Ángel Parrilla Godínez via Geoserver-users
Hi Daniele,
We had the same version. It does not work. In older versions it worked.
We have try this. It works:






ttf://Wingdings#108

#00


1
1
0



2


Regards.
Miguel Ángel.
De: Daniele Maggiolo via Geoserver-users 
Enviado el: jueves, 22 de junio de 2023 8:41
Para: Ian Turton 
CC: geoserver-users@lists.sourceforge.net
Asunto: [Externo] [Geoserver-users] R: Styled marks shape dot does not work in 
geoserver version 2.23.1

ADVERTENCIA: Este correo electrónico se originó fuera de Tracasa Instrumental. 
No pinches en enlaces, abras ficheros adjuntos o respondas si no reconoces al 
emisor y no tienes la certeza de que el contenido es seguro.


Hi, the result I get is a polygon without filling with dots.
If I use shape://slash it works like it always did in all versions (showing me 
the lines as a fill of the polygon). The only one I can't get to work anymore 
is shape://dot (in 2.23.1 version).

Daniele


Da: Ian Turton mailto:ijtur...@gmail.com>>
Inviato: martedì 20 giugno 2023 18:11
A: Daniele Maggiolo 
mailto:daniele.maggi...@abitat.it>>
Cc: 
geoserver-users@lists.sourceforge.net
Oggetto: Re: [Geoserver-users] Styled marks shape dot does not work in 
geoserver version 2.23.1

can you give us any clues as to what doesn't work? is nothing drawn? does the 
program crash? is a penguin produced?

What does the log file show any interesting information? what if you turn 
logging up to GeoTools-dev level and try again?

Ian

On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
Hi,
I noticed that the styled mark shape://dot doesn't work in GeoServer version 
2.23.1.
I've tried both creating a style with CSS and SLD. In version 2.22.2 everything 
worked fine.
Below is an example of a style created using CSS.


@mode 'Auto';
@styleTitle 'Test';
@styleAbstract 'Test';

/* @title Test
* @abstract Test
*/
*{
  stroke: #a0a0f5;
  stroke-width: 1;
  fill: symbol("shape://dot");
:fill {
size: 5;
stroke: #a0a0f5;
stroke-width: 1;
  fill: #a0a0f5;
}
}

___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton





This email has been scanned for spam and viruses by Proofpoint Essentials. 
Click 
here

Re: [Geoserver-users] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
On Thu, 22 Jun 2023 at 09:54, Andrea Aime 
wrote:

> Thinking out loud, could it be that something environmental changed then?
> Like, for example, the JDK in use?
>

I'm on Ubuntu: 11.0.19 (OpenJDK 64-Bit Server VM)

Ian

>
> Cheers
> Andrea
>
> On Thu, Jun 22, 2023 at 9:43 AM Ian Turton  wrote:
>
>> I can confirm that the dot pattern doesn't seem to work in 2.22.2 either
>> but the relevant code (
>> https://github.com/geotools/geotools/blame/379ae1335ebfba758a03b61be97a20be838900e3/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java#L47)
>> doesn't seem to have changed in more than 5 years.
>>
>> Looking at the logs seems to indicate that the renderer looks through
>> some (all) the MarkFactories and finds the mark and draws it
>>
>> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name
>> shape://dot
>> 22 Jun 08:30:34 TRACE  [renderer.style] - Could not find the symbol,
>> returning null
>> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name
>> shape://dot
>> 22 Jun 08:30:34 TRACE  [renderer.style] - applying stroke to mark
>>
>> So it looks like something odd is happening, if you can raise a bug
>> someone may look at it, though probably not this coming week as its FOSS4G
>>
>> Ian
>>
>>
>>
>> On Thu, 22 Jun 2023 at 07:41, Daniele Maggiolo <
>> daniele.maggi...@abitat.it> wrote:
>>
>>> Hi, the result I get is a polygon without filling with dots.
>>>
>>> If I use shape://slash it works like it always did in all versions
>>> (showing me the lines as a fill of the polygon). The only one I can't get
>>> to work anymore is shape://dot (in 2.23.1 version).
>>>
>>>
>>>
>>> Daniele
>>>
>>>
>>>
>>>
>>>
>>> *Da:* Ian Turton 
>>> *Inviato:* martedì 20 giugno 2023 18:11
>>> *A:* Daniele Maggiolo 
>>> *Cc:* geoserver-users@lists.sourceforge.net
>>> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work
>>> in geoserver version 2.23.1
>>>
>>>
>>>
>>> can you give us any clues as to what doesn't work? is nothing drawn?
>>> does the program crash? is a penguin produced?
>>>
>>>
>>>
>>> What does the log file show any interesting information? what if you
>>> turn logging up to GeoTools-dev level and try again?
>>>
>>>
>>>
>>> Ian
>>>
>>>
>>>
>>> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
>>> geoserver-users@lists.sourceforge.net> wrote:
>>>
>>> Hi,
>>>
>>> I noticed that the styled mark shape://dot doesn't work in GeoServer
>>> version 2.23.1.
>>>
>>> I've tried both creating a style with CSS and SLD. In version 2.22.2
>>> everything worked fine.
>>>
>>> Below is an example of a style created using CSS.
>>>
>>>
>>>
>>> @mode 'Auto';
>>> @styleTitle 'Test';
>>> @styleAbstract 'Test';
>>>
>>> /* @title Test
>>> * @abstract Test
>>> */
>>> *{
>>>   stroke: #a0a0f5;
>>>   stroke-width: 1;
>>>   fill: symbol("shape://dot");
>>> :fill {
>>> size: 5;
>>> stroke: #a0a0f5;
>>> stroke-width: 1;
>>>   fill: #a0a0f5;
>>> }
>>> }
>>>
>>>
>>>
>>> ___
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>>
>>> --
>>>
>>> Ian Turton
>>>
>>
>>
>> --
>> Ian Turton
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
> --
>
> Regards,
>
> Andrea Aime
>
> ==
> GeoServer Professional Services from the experts!
>
> Visit http://bit.ly/gs-services-us for more information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions Group
> phone: +39 0584 962313
>
> fax: +39 0584 1660272
>
> mob:   +39  339 8844549
>
> https://www.geosolutionsgroup.com/
>
> http://twitter.com/geosolutions_it
>
> ---
>
> Con riferimento alla nor

Re: [Geoserver-users] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Andrea Aime
Thinking out loud, could it be that something environmental changed then?
Like, for example, the JDK in use?

Cheers
Andrea

On Thu, Jun 22, 2023 at 9:43 AM Ian Turton  wrote:

> I can confirm that the dot pattern doesn't seem to work in 2.22.2 either
> but the relevant code (
> https://github.com/geotools/geotools/blame/379ae1335ebfba758a03b61be97a20be838900e3/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java#L47)
> doesn't seem to have changed in more than 5 years.
>
> Looking at the logs seems to indicate that the renderer looks through some
> (all) the MarkFactories and finds the mark and draws it
>
> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
> 22 Jun 08:30:34 TRACE  [renderer.style] - Could not find the symbol,
> returning null
> 22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
> 22 Jun 08:30:34 TRACE  [renderer.style] - applying stroke to mark
>
> So it looks like something odd is happening, if you can raise a bug
> someone may look at it, though probably not this coming week as its FOSS4G
>
> Ian
>
>
>
> On Thu, 22 Jun 2023 at 07:41, Daniele Maggiolo 
> wrote:
>
>> Hi, the result I get is a polygon without filling with dots.
>>
>> If I use shape://slash it works like it always did in all versions
>> (showing me the lines as a fill of the polygon). The only one I can't get
>> to work anymore is shape://dot (in 2.23.1 version).
>>
>>
>>
>> Daniele
>>
>>
>>
>>
>>
>> *Da:* Ian Turton 
>> *Inviato:* martedì 20 giugno 2023 18:11
>> *A:* Daniele Maggiolo 
>> *Cc:* geoserver-users@lists.sourceforge.net
>> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
>> geoserver version 2.23.1
>>
>>
>>
>> can you give us any clues as to what doesn't work? is nothing drawn? does
>> the program crash? is a penguin produced?
>>
>>
>>
>> What does the log file show any interesting information? what if you turn
>> logging up to GeoTools-dev level and try again?
>>
>>
>>
>> Ian
>>
>>
>>
>> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
>> geoserver-users@lists.sourceforge.net> wrote:
>>
>> Hi,
>>
>> I noticed that the styled mark shape://dot doesn't work in GeoServer
>> version 2.23.1.
>>
>> I've tried both creating a style with CSS and SLD. In version 2.22.2
>> everything worked fine.
>>
>> Below is an example of a style created using CSS.
>>
>>
>>
>> @mode 'Auto';
>> @styleTitle 'Test';
>> @styleAbstract 'Test';
>>
>> /* @title Test
>> * @abstract Test
>> */
>> *{
>>   stroke: #a0a0f5;
>>   stroke-width: 1;
>>   fill: symbol("shape://dot");
>> :fill {
>> size: 5;
>> stroke: #a0a0f5;
>> stroke-width: 1;
>>   fill: #a0a0f5;
>> }
>> }
>>
>>
>>
>> ___
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>> --
>>
>> Ian Turton
>>
>
>
> --
> Ian Turton
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto

[Geoserver-users] R: Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Daniele Maggiolo via Geoserver-users
Hi, the result I get is a polygon without filling with dots.
If I use shape://slash it works like it always did in all versions (showing me 
the lines as a fill of the polygon). The only one I can't get to work anymore 
is shape://dot (in 2.23.1 version).

Daniele


Da: Ian Turton 
Inviato: martedì 20 giugno 2023 18:11
A: Daniele Maggiolo 
Cc: geoserver-users@lists.sourceforge.net
Oggetto: Re: [Geoserver-users] Styled marks shape dot does not work in 
geoserver version 2.23.1

can you give us any clues as to what doesn't work? is nothing drawn? does the 
program crash? is a penguin produced?

What does the log file show any interesting information? what if you turn 
logging up to GeoTools-dev level and try again?

Ian

On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
Hi,
I noticed that the styled mark shape://dot doesn't work in GeoServer version 
2.23.1.
I've tried both creating a style with CSS and SLD. In version 2.22.2 everything 
worked fine.
Below is an example of a style created using CSS.


@mode 'Auto';
@styleTitle 'Test';
@styleAbstract 'Test';

/* @title Test
* @abstract Test
*/
*{
  stroke: #a0a0f5;
  stroke-width: 1;
  fill: symbol("shape://dot");
:fill {
size: 5;
stroke: #a0a0f5;
stroke-width: 1;
  fill: #a0a0f5;
}
}

___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


--
Ian Turton
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Styled marks shape dot does not work in geoserver version 2.23.1

2023-06-22 Thread Ian Turton
I can confirm that the dot pattern doesn't seem to work in 2.22.2 either
but the relevant code (
https://github.com/geotools/geotools/blame/379ae1335ebfba758a03b61be97a20be838900e3/modules/library/render/src/main/java/org/geotools/renderer/style/ShapeMarkFactory.java#L47)
doesn't seem to have changed in more than 5 years.

Looking at the logs seems to indicate that the renderer looks through some
(all) the MarkFactories and finds the mark and draws it

22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
22 Jun 08:30:34 TRACE  [renderer.style] - Could not find the symbol,
returning null
22 Jun 08:30:34 TRACE  [renderer.style] - fetching mark of name shape://dot
22 Jun 08:30:34 TRACE  [renderer.style] - applying stroke to mark

So it looks like something odd is happening, if you can raise a bug someone
may look at it, though probably not this coming week as its FOSS4G

Ian



On Thu, 22 Jun 2023 at 07:41, Daniele Maggiolo 
wrote:

> Hi, the result I get is a polygon without filling with dots.
>
> If I use shape://slash it works like it always did in all versions
> (showing me the lines as a fill of the polygon). The only one I can't get
> to work anymore is shape://dot (in 2.23.1 version).
>
>
>
> Daniele
>
>
>
>
>
> *Da:* Ian Turton 
> *Inviato:* martedì 20 giugno 2023 18:11
> *A:* Daniele Maggiolo 
> *Cc:* geoserver-users@lists.sourceforge.net
> *Oggetto:* Re: [Geoserver-users] Styled marks shape dot does not work in
> geoserver version 2.23.1
>
>
>
> can you give us any clues as to what doesn't work? is nothing drawn? does
> the program crash? is a penguin produced?
>
>
>
> What does the log file show any interesting information? what if you turn
> logging up to GeoTools-dev level and try again?
>
>
>
> Ian
>
>
>
> On Tue, 20 Jun 2023 at 16:05, Daniele Maggiolo via Geoserver-users <
> geoserver-users@lists.sourceforge.net> wrote:
>
> Hi,
>
> I noticed that the styled mark shape://dot doesn't work in GeoServer
> version 2.23.1.
>
> I've tried both creating a style with CSS and SLD. In version 2.22.2
> everything worked fine.
>
> Below is an example of a style created using CSS.
>
>
>
> @mode 'Auto';
> @styleTitle 'Test';
> @styleAbstract 'Test';
>
> /* @title Test
> * @abstract Test
> */
> *{
>   stroke: #a0a0f5;
>   stroke-width: 1;
>   fill: symbol("shape://dot");
> :fill {
> size: 5;
> stroke: #a0a0f5;
> stroke-width: 1;
>   fill: #a0a0f5;
> }
> }
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
> --
>
> Ian Turton
>


-- 
Ian Turton
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [GeoWebCache/GS] Cache-Recycling

2023-06-22 Thread Andrea Aime
On Wed, Jun 21, 2023 at 4:44 PM Ian Turton  wrote:

> Again GeoServer has no way of knowing (without a lot of work) which tiles
> are invalid with a style change so it needs to redraw all of them
>

A comparison of two SLD trees would be possible, figuring out if the edits
changed the tiles, but as you say,
it's going to be complicated. Having the automatic tile drop automation
admin controllable (on/off) is certainly easier.

There are some classes of edits that could be identified, which do not
affect, or just partially affect, the tiles:

   - Changes rule names, titles and the like
   - Changes in a rule that is active only in a given scale range (just
   drop tiles in such range)
   - Changes in a rule that matches only certain features (attribute
   filter), figure out their bbox if there is a quick way to do so, only drop
   in the bbox

As said, far away from trivial... a parallel scan of the two SLD object
trees would have to be implemented, which goes
hunt for certain types of differences.

Cheers
Andrea

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] [GeoWebCache/GS] Cache-Recycling

2023-06-22 Thread Andrea Aime
On Mon, Jun 19, 2023 at 2:24 PM  wrote:

> Hi GeoServer-experts,
>
> I am running a fairly large GS-deployment on k8s with the included,
> preseeded GWC.
> I noticed that changing SLD-files results in invalidating the cache-Folder
> and deleting the whole preseeded cache. I was hit by this "feature" in the
> past once.
>
> So 2 questions in this context:
>
> 1) Is it possible to deactivate this feature by myself to that I can
> decide when I will recreate the new Cache?
>

No, it's hard coded. Could be made configurable with some development.


> 2) Does the removal of the preseeded Cache also for changing
> Min/MaxScaleDenominators inside the SLDs and in the GWC-layer-config?
>

It's quite primitive, does not check what type of change you made, just
cleans everything that might be affected.
This catalog listener has pretty much stayed unchanged in the last 10
years. It's the classic "we'll do a basic implementation
now and surely someone will pop up to contribute a smarter implementation
down the road", and years later the answer is still "nope, not yet".

Not all hope is lost though, see this document on how to make it happen:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-fixes,-improvements-and-new-features-in-GeoServer

Cheers
Andrea

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions Group
phone: +39 0584 962313

fax: +39 0584 1660272

mob:   +39  339 8844549

https://www.geosolutionsgroup.com/

http://twitter.com/geosolutions_it

---

Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE
2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si
precisa che ogni circostanza inerente alla presente email (il suo
contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è
riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il
messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra
operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is
addressed and may contain information that is privileged, confidential or
otherwise protected from disclosure. We remind that - as provided by
European Regulation 2016/679 “GDPR” - copying, dissemination or use of this
e-mail or the information herein by anyone other than the intended
recipient is prohibited. If you have received this email by mistake, please
notify us immediately by telephone or e-mail
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users