[Fdo-trac] [fdo-trac] #1009: WFS Provider with restrictToBBox Removes Other Filters

FDO trac_fdo at osgeo.org
Mon Jul 7 11:55:13 PDT 2025


#1009: WFS Provider with restrictToBBox Removes Other Filters
----------------------------+-----------------------
   Reporter:  crispinatime  |      Owner:  gregboone
       Type:  defect        |     Status:  new
   Priority:  major         |  Milestone:  4.1.0
  Component:  FDO API       |    Version:  4.1.0
   Severity:  1             |   Keywords:
External ID:                |
----------------------------+-----------------------
 Please confirm if this is expected behaviour (it is unexpected to me!)

 When using the "new" restrictToBBox to create WFS queries using the BBOX=
 style of spatial query, the other aspatial elements are removed from the
 URL that is passed to the WFS server.  This results in the BBOX spatial
 filter being applied to the WFS data only, bringing back more (all) data.

 For example, in the UK the British Geological Survey publish data here:
 http://ogc.bgs.ac.uk/digmap625k_gsml_insp_gs/wfs?version=1.1.0

 gsmlp.GBR_BGS_625k_BA_INSP

 is a bedrock map - you can query for:
 lithology = 'Basalt'

 and see the WFS query filter for Basalt, but when applying an Intersects
 spatial filter to get a window of data the BBOX applies to the WFS URL but
 removes the aspatial filter
-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/1009>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list