My data is stored in PostGIS in EPSG:3035, and I query the data using WFS
GetFeature as follows (in CoffeeScript)
This builds the following URL:
And this works, apparently, until I want to select the pipeline as well.
My pipelines are all in the same table, but I use a separate layer for each (so same table with different SLD), then I see two things:
- For each pipeline layer I get the same pipelines (so it does not use the SLD, which determines what is visible?)
- I get pipelines which are not inside the BBOX, but close. Which is weird, because for my other objects this is not the case (only get objects inside the BBOX).
I would want the WFS request to also take the SLD of the layer into account, is that possible? And why does the selection of the BBOX seems more forgiving for some layers?
I am guessing I misconfigured something?
One idea I might have is that WFS is matching on BBOX? So the BBOX of my pipeline falls inside the BBOX, not the actual linestring itself? Because that could explain part of the behaviour. It is still not using the SLD :)