Ticket #1344 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

SRS and attributes when updating a feature through WFS

Reported by: sbenthall Owned by: sbenthall
Priority: minor Milestone: 2.6 Release
Component: Format.WFS Version: 2.5
Keywords: Cc:
State: Complete

Description

When doing a feature update through WFS, the geometry node needs to know the layer's projection, and the attributes of the feature need to be put into the XML of the request.

Attachments

Format.WFS.srs-and-attributes.patch Download (1.6 KB) - added by sbenthall 5 years ago.
patch for Format.WFS; replaces all attributes.
wfs.patch Download (1.8 KB) - added by tschaub 5 years ago.
tweaked patch with explicit layer projection code

Change History

Changed 5 years ago by sbenthall

patch for Format.WFS; replaces all attributes.

Changed 5 years ago by sbenthall

  • owner changed from tschaub to sbenthall

In a nicer world, we would keep track of which attributes need to be updated and write only those into the XML. This is not yet a nicer world.

Changed 5 years ago by tschaub

That layer projection should be a string, not a projection object.

Changed 5 years ago by tschaub

tweaked patch with explicit layer projection code

Changed 5 years ago by tschaub

  • state changed from Review to Commit

Changed 5 years ago by tschaub

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

(In [6150]) Updating the WFS (transaction) format to add srsName to geometry and include attributes. Thanks sbenthall for the patch. r=me (closes #1344)

Note: See TracTickets for help on using tickets.