Hi everyone,
I have an app-schema (complex features) layer, where I have issues with displaying all the geometries that are supposed to be inside the bounding box I send. The data is located in a PostGIS database, and I have a WPS process as the last step to process some of the features (labeling, smoothing etc.).
I have issues with features that wrap around the globe - if I have map wrapping turned on and don’t zoom in, I can see all the features - however zooming in, they disappear. The geometries of said features are given in a weird way, as can be seen in the second picture, where continuous map wrapping is turned off - hence the features not displaying when zooming in the center of the map.
Querying the same geometries in an SQL view works fine, and I tested the queries I get on the app schema layer from the logs as well. These queries return all the features, as they are only filtered by the dimensions. So my features are being dropped somewhere between querying the database and the WPS process.
What could be done so my WPS process receives all the features that are supposed to be in the bounding box? I thought of properly implementing the invertQuery method, but I’m not sure where to start with that. I cannot change the query area to the extent of the projection every time, as this is just testing data; including all features would slow the postprocessing down enormously. Any tips or help is appreciated!