[Geoserver-users] Geoserver highlighting features from GetFeature request

Guys,

I am able to do a GetFeature request that returns a list of several thousand feature ids (attribute PKs). The only way I have been able to highlight these on the map is via SLDs but that is very slow and really not workable.

So I was wondering does Geoserver (12.2) have anything to highlight these returned features (polygons) as part of the GetFeature request?

I am now looking at using a combination of SLD (for rendering ) and CQL_FILTER IN filter for filtering. But this also seems to be a very clunky option.

Any thoughts?

Cheers,

Brad Spencer

Managing Director

cid:image001.png@anonymised.com

http://www.numaps.com.au/

mob: 0404 841 131

BradArt

Since you are only talking several thousand features consider using wfs and doing the selection client side (with a library like open layers).

image001.png

···


Jody Garnett

Jody,

So are you suggesting using vectors in the client? I do have the geometry so could do that; I hadn’t thought of that but will give it a go.

Cheers, Brad…

From: Jody Garnett jody.garnett@anonymised.com
Sent: 29 February 2020 13:01
To: Brad Spencer brad@anonymised.com
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Geoserver highlighting features from GetFeature request

Since you are only talking several thousand features consider using wfs and doing the selection client side (with a library like open layers).

On Fri, Feb 28, 2020 at 5:37 PM Brad Spencer <brad@anonymised.com> wrote:

Guys,

I am able to do a GetFeature request that returns a list of several thousand feature ids (attribute PKs). The only way I have been able to highlight these on the map is via SLDs but that is very slow and really not workable.

So I was wondering does Geoserver (12.2) have anything to highlight these returned features (polygons) as part of the GetFeature request?

I am now looking at using a combination of SLD (for rendering ) and CQL_FILTER IN filter for filtering. But this also seems to be a very clunky option.

Any thoughts?

Cheers,

Brad Spencer

Managing Director

cid:image001.png@anonymised.com

http://www.numaps.com.au/

mob: 0404 841 131

BradArt


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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

Jody Garnett

Hi Brad,
looks like you want client side filtering and styling, without having to reload data from the client?
OpenLayers should be able to do that with the GetFeature WFS output format, if you want to try something
different, you can also install the Mapbox vector tiles plugin, MVT are supported by both OpenLayers and
Leaflet

Cheers
Andrea

image001.png

···

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it 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.