[TinyOWS-dev] [tinyows] #15: Insert transaction doesn't return id of features in the response
tinyows
trac at camptocamp.com
Tue Apr 21 06:41:27 EST 2009
#15: Insert transaction doesn't return id of features in the response
----------------------------+-----------------------------------------------
Reporter: nsavard | Owner: nsavard
Type: defect | Status: assigned
Priority: blocker | Version: SVN
Resolution: | Keywords: insert,response,fid
Stage: Unreviewed | Approval: Proposed
Patch: None | Complexity: Unknown
Compatibility: Unknown | Specification: Unnecessary
----------------------------+-----------------------------------------------
Comment (by nsavard):
Olivier: I don't think idgen = ReplaceDuplicate means delete the existing
feature in the database that has the same id as the one in the insert
request. Of my understanding of the OGC 04-094 table 3 of the
specification document, it means more to replace the id of the request
with a new generated id.
Next, I don't think we need to generate a random id when idgen =
Generatenew or when idgen = ReplaceDuplicate. For my part I would take
the id of the last feature in the layer and increment it by one. I think
it will be simpler to manage.
--
Ticket URL: <https://www.tinyows.org/trac/tinyows/ticket/15#comment:7>
tinyows <https://www.tinyows.org/trac/tinyows>
TinyOWS
More information about the TinyOWS-dev
mailing list