Hi Andrew, as far as I can see, the code setting up queries to fetch data for vector tiles are simply not aware of the sortby vendor parameters in your style, and thus, are not accounting for them. It's not a big change, but nevertheless, one that requires some code development, test writing and the like.
See this guide on how to make the necessary development happen: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-fixes,-improvements-and-new-features-in-GeoServer 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 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 On Mon, Jun 24, 2024 at 7:53 AM Andrew Hughes <ahhug...@gmail.com> wrote: > Hi Jody, > > Thanks so much for the response. > > I may have not been clear enough in my question - my bad. But this is for > vector tile (pbf). All doco appears to only discuss sever side rendering > which is not applicable for us. > > We did have some success with "ORDER BY" in our sql/views (however this is > less than ideal performance wise). > > If you have any more advice, I would really appreciate it > > Many Thanks, > Andrew > > On Wed, 5 Jun 2024 at 12:36, Jody Garnett <jody.garn...@gmail.com> wrote: > >> Hi Andrew, >> >> FeatureTypeStyle is each drawn into its own buffer which is then merged >> during composing the final image. >> >> >> - FeaureTypeStyles are used in the order defined >> - If this default order is not desired there are some vendor options >> for greater control of z-order >> - You can adjust the alpha and blending effects when buffers are >> merged as a special effect >> - You can also control z-order by introducing filtering (to control >> what order features are drawn in within a z-order). >> >> >> Best documented in the GeoServer manual on "sld extensions". >> >> - >> >> https://docs.geoserver.org/latest/en/user/styling/sld/extensions/z-order/index.html >> >> And with pictures here: >> >> - >> >> https://docs.geoserver.org/latest/en/user/styling/ysld/reference/featurestyles.html#drawing-order >> >> >> >> >> >> >> -- >> Jody Garnett >> >> >> On May 27, 2024 at 6:20:22 PM, Andrew Hughes <ahhug...@gmail.com> wrote: >> >>> Hi All, >>> >>> Im looking to know if it is possible to control the rendering/z order in >>> the following: >>> >>> Geoserver: >>> + Group Layer (mapbox vector tile, pbf) >>> + Layer A >>> + Layer B >>> >>> Given both Layer A and Layer B have a common field called >>> "access_code".... and values that I would like rendered (top first)... >>> 1. access_code = Restricted >>> 2. access_code = Approved with Conditions >>> 3. access_code = Approved >>> >>> And, the client is OpenLayers. >>> >>> We would like access_code = Restricted always on top (regardless of >>> being in A or B) and so forth.. >>> >>> Is there an SLD/CSS option that will control the sorting/ordering of the >>> data so that it streams out the pbf and rendered in such an order? or >>> perhaps we need to split Layer A and B into a total of 6 layers within the >>> group layer... >>> >>> Layer A - Restricted >>> Layer B - Restricted >>> Layer A - Approved with Conditions >>> Layer B - Approved with Conditions >>> Layer A - Approved >>> Layer B - Approved >>> >>> Or.... something else? or nothing else will work? >>> >>> Any help would be greatly appreciated. >>> >>> Cheers, >>> Andrew >>> _______________________________________________ >>> 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 >>> >> _______________________________________________ > 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 >
_______________________________________________ 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