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 <ijtur...@gmail.com> > *Inviato:* martedì 20 giugno 2023 18:11 > *A:* Daniele Maggiolo <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 < > 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