Ticket #1430 (closed feature: wontfix)

Opened 5 years ago

Last modified 4 years ago

wfs bbox: make the use of BBOX paramter on a WFS layer configurable

Reported by: thijsbrentjens Owned by: tschaub
Priority: minor Milestone:
Component: Layer.WFS Version: 2.5
Keywords: WFS, BBOX, Filter Cc:
State:

Description

The BBOX parameter is always used for a WFS layer (in the moveTo function). For some case one wants to not use this parameter. For example to get all features or when a filter is provided in the FILTER-param. (BBOX and FILTER are mutually exclusive).

See  http://trac.openlayers.org/ticket/1113 as well.

Patch will be attached.

Attachments

WFS.js.patch Download (1.4 KB) - added by thijsbrentjens 5 years ago.

Change History

Changed 5 years ago by thijsbrentjens

  Changed 5 years ago by thijsbrentjens

Simple example:

// the layer with the useBbox option var wfsLayer = new OpenLayers.Layer.WFS(

'The Layer name', ' http://www.somewfs.org/wfs', {typename: 'ns:FEATURETYPENAME'}, {

typename: 'FEATURETYPENAME', featureNS: ' http://www.somewfs.org/', useBbox: false

}

)

// adding a filter to the layer wfsLayer.params.FILTER=

'<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">'+ '<ogc:PropertyIsEqualTo>' + '<ogc:PropertyName>ns:PROPERTYNAME</ogc:PropertyName>'+ '<ogc:Literal>a value</ogc:Literal>' + '</ogc:PropertyIsEqualTo>' + '</ogc:Filter>';

follow-up: ↓ 3   Changed 5 years ago by bartvde

  • status changed from new to closed
  • resolution set to wontfix

This can be closed since there now is the BBOX and Fixed Strategy which can be used to achieve this.

in reply to: ↑ 2   Changed 4 years ago by openlayers

Replying to bartvde:

This can be closed since there now is the BBOX and Fixed Strategy which can be used to achieve this.

Sorry to comment on a closed bug, but could you provide a link explaining the BBOX and Fixed Strategy and how this can be used to achieve a WFS layers with a filter. Thank you so much.

Note: See TracTickets for help on using tickets.