At that point it is a straight ECQL expression (anything between ${ .... }).It looks like from the docs <https://docs.geoserver.org/latest/en/user/filter/ecql_reference.html> that envelope is a custom type that expects a different format: ENVELOPE ( x1 x2 y1 y2 ) So this extension provided by ECQL is masking a function envelope of the same name! -- Jody Garnett On Thu, 28 May 2020 at 03:22, 4harry4444 <[email protected]> wrote: > Hi, > > I would like to ask You if You have used the *envelope *function in YSLD > on GeoServer. My YSLD code: > > *- line: > uom: metre > geometry: ${envelope(geometry)}* > > wont't validate with error: > *java.lang.IllegalArgumentException: Invalid cql expression > 'envelope(geometry)'* > > Similar functions: *convexHull*, *boundary *or even octagonalenvelope working > correct in YLSD. > > I've already asked about it at: > https://gis.stackexchange.com/questions/362402/geoserver-envelope-function-not-working-in-ysld > and want to confirm this issue before posting a ticket for it. > Envelope function works perfect in pure SLD. > > Best Regards > Daniel Hawryluk > _______________________________________________ > 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 > > > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
