OpenLayers OpenLayers

Ticket #1575 (closed bug: fixed)

Opened 6 months ago

Last modified 5 months ago

WFS Layer does not allow use of non-XML based formats

Reported by: edgemaster Assigned to:
Priority: minor Milestone: 2.7 Release
Component: Tile.WFS Version: 2.6
Keywords: Cc:
State: Complete

Description

The GeoJSON format fails with the WFS layer, this is because the document is forced through an XML parser regardless of format.

Patch attached, based upon GML layer, not tested for formats other than GeoJSON.

Attachments

1575.Tile.WFS.patch (0.6 kB) - added by edgemaster on 06/06/08 07:52:49.

Change History

06/06/08 07:52:49 changed by edgemaster

  • attachment 1575.Tile.WFS.patch added.

06/09/08 12:15:23 changed by edgemaster

Not the patch is unlikely to work in the non-vector mode.

06/21/08 10:23:33 changed by crschmidt

  • status changed from new to closed.
  • state set to Complete.
  • resolution set to fixed.

(In [7416]) Expand on a patch by Edgemaster to support non-XML vector formats via the current XML layer. This patch rearranges the reading of the document from XML so that it is done later on, building on the work in #1575. It also adds tests for the two cases that aren't currently tested:

  • Vector Mode with non-XML format
  • non-vectormode with XML DOM passed in

Tests continue to pass, confirmed via manual inspection as well as the tests.

(Closes #1575)