OpenLayers OpenLayers

Ticket #1537 (closed bug: fixed)

Opened 4 months ago

Last modified 3 months ago

WFS Layer reports a different SRS to the server to that of the coordinates it requests when projection differs from map projection

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

Description

When the WFS layer's projection (ie projection property set as a shortcut to externalProjection), the WFS layer will report the map projection as the SRS parameter as opposed to the layer's projection (which the BBOX it provides is sent as).

This is a minor bug, since crschmidt says he doesn't think any WFS servers use the SRS parameter. Patch attached.

Attachments

1537.WFS-SRSparams.patch (0.6 kB) - added by edgemaster on 05/03/08 19:44:20.
One-line patch in getFullRequestString() to use layer.projection.getCode()

Change History

05/03/08 19:44:20 changed by edgemaster

  • attachment 1537.WFS-SRSparams.patch added.

One-line patch in getFullRequestString() to use layer.projection.getCode()

06/21/08 09:27:16 changed by crschmidt

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

(In [7415]) SRS sent with WFS requests should match projection of requested extents. (Closes #1537)