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)…
access_code = Restricted
access_code = Approved with Conditions
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…
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
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.
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