Ticket #1537 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years 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 Owned by: 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 Download (0.6 KB) - added by edgemaster 5 years ago.
One-line patch in getFullRequestString() to use layer.projection.getCode()

Change History

Changed 5 years ago by edgemaster

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

Changed 5 years ago 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)

Note: See TracTickets for help on using tickets.