Understood on both counts, Andrea. Thank you for the help!

Best,
Chris
________________________________
From: Andrea Aime <andrea.a...@geosolutionsgroup.com>
Sent: Tuesday, September 26, 2023 4:02 AM
To: Reffett, Christopher <christopher.reff...@ga-ccri.com>
Cc: geoserver-users@lists.sourceforge.net 
<geoserver-users@lists.sourceforge.net>
Subject: -EXT-Re: [Geoserver-users] Trouble getting SLD property function to 
work with namespaced properties


WARNING:  This message is from an external source.  Evaluate the message 
carefully BEFORE clicking on links or opening attachments.

Hi Christopher,
that GeoServer is a security liability, I advise to replace it as soon as 
possible.

That said, the property function cannot work against complex features with 
namespaced properties, as it does not have a namespace
context to work against. Off the top of my head, I would not know how to pass 
one into it, but with some research and code
changes, it may be possible in the end (TBD). Like, maybe one could pass the 
namespace of a single property as a new function
argument, but if the path traverses properties in different namespaces, then a 
map from prefix to URI would be needed.

Cheers
Andrea


On Mon, Sep 25, 2023 at 10:27 PM Reffett, Christopher 
<christopher.reff...@ga-ccri.com<mailto:christopher.reff...@ga-ccri.com>> wrote:
Hello all,

I'm trying to write an SLD but am having trouble getting the "property" 
function to work as expected. In short, I have a layer that has namespaced 
fields (it's coming from a data source that produces complex features) and am 
trying to make the label on those features able to be set by an env variable in 
a request.
This wor

I am using geoserver 2.17.3 - sorry, I know it's out of date, it'll be some 
time before we can update.
_______________________________________________
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#/<https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2F&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=3mPsESKQL3nefMapvOkxlIaIrqiAMacVGRP5R8OPQno%3D&reserved=0>
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html<https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.html&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=yKptlYRHG9FXQKibk3A4U9jma2aclxWmOf7dxnl0xpw%3D&reserved=0>

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<https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=tNUgBphcjPr5rBqQivCLrBfwIyWGITleDqe1c8T8Nj0%3D&reserved=0>


Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-users&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FXQ%2BQdlT0vkGL70THdbivBjQarnwgSgytPBSA4eXEZs%3D&reserved=0>


--

Regards,

Andrea Aime

==
GeoServer Professional Services from the experts!

Visit 
http://bit.ly/gs-services-us<https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Fbit.ly%2Fgs-services-us&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jNL1UtnQ1Sl%2FgjyhCfTdX%2BF0vet4wwTYQmbnqdWqi0M%3D&reserved=0>
 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/<https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fwww.geosolutionsgroup.com%2F&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SbFCH5mouVoJyZXgPoMnOcF3rYE5rQaFKaiJCtNknsc%3D&reserved=0>

http://twitter.com/geosolutions_it<https://usg02.safelinks.protection.office365.us/?url=http%3A%2F%2Ftwitter.com%2Fgeosolutions_it&data=05%7C01%7CChristopher.Reffett%40ga-ccri.com%7Ce3e1cb5e4d0b47ca271208dbbe66e559%7C05e53887e4b3459587f73ae79f0e723e%7C0%7C0%7C638313121377969988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0J4YPnspLddaqFUbiSFXdc3yauK0TlFnIXMYa8Lqmgs%3D&reserved=0>

-------------------------------------------------------

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

Reply via email to