I have a table with a fairly big multipolygon geometry (400k points).
As expected, Oracle returns the complete geometry to geoserver after the
spatial query.
*WFS*
Since Oracle returns the complete geometry to Geoserver, I always get all
the points/vertices of the geometry on the client (browser-Chrome) side. No
matter if I'm zoomed closely or not, I always get the same amound of data
which tells me that the browser has to weed out the points that are outside
of the bbox and thus slowing the rendering process.
With *WMS* the points are weeded out by geoserver.
Would it be possible to use the same process for *WFS* requests as well ?
Geoserver receives the data from Oracle, weeds out the points that are
outside of the bbox and sends them out to the client.
I noticed that a FastBBOX is used with a WMS request while a BBOXImpl is
returned with a WFS request so it may have something to do in the process.
Hi,
no, WFS does not do any clipping, it’s not part of the protocol.
But you can use the WPS Clip process, giving it an internal WFS request, to do the clipping for you,
and have it return WPS.
You can try out the request builder (available in demo once you’ve installed WPS) in order to
build a first sample request
Cheers
Andrea
···
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.ithttp://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.
thanks for your answer and I'm sorry for posting in the dev maling list.
I've subscribed and waiting for approval.
I can move (delete and create) this thread in the user list.
I've never used WPS with another protocol like WFS.
What would be the flow if I incorporate WPS in the process ?
Client pans-->Geoserver gets WFS GET request-->spatial query sent to db
server-->response sent to Geoserver-->WPS process result-->WFS result
forwarded to client ?
The WPS process needs to be called automatically at each pan/zoom.