Hi,
I am not sure if stable fids can be guaranteed for shapefile backend like tasmania_roads. For database backends it works if Geoserver can recognize the primary key. WFS-T with shapefiles suits best for experiments.
-Jukka Rahkonen-
···
Jonathan Moules wrote:
Hi,
I’ve not used WFS-T myself and work’s blocking your images, however in response to item(2), the 1.1 specification says:
This document assumes that every feature instance that a particular WFS implementation can operate upon is uniquely identifiable. That is to say, when a WFS implementation reports a feature identifier for a feature instance, that feature identifier is unique to the server and can be used to repeatedly reference the same feature instance (assuming it has not been deleted). It is further assumed that a feature identifier is encoded as described in the OpenGIS® Filter Encoding Implementation Specification [3]. A feature identifier can be used wherever a feature reference is required.
So in theory at least your id’s shouldn’t be changing. But it’s entirely possible I’m viewing this section of the spec out of context; they don’t write them to be simple after all.
Hopefully someone with more experience in the spec can comment.
Cheers,
Jonathan
From: Necmi Sefa Dolunay [mailto:n.sefa.dolunay@…84…]
Sent: Thursday, November 27, 2014 7:52 AM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Geoserver bugs
Hi, I am a new user of Geoserver 2.6.1 (Windows 7) and I am trying to use it for WFST service. However, I have encountered some errors and I will explain them here one by one;
1 - When I click workspaces, stores… etc links, I face with this error: http://i61.tinypic.com/zulaas.png
2 - When I do WFST transaction insert in demos like this http://i57.tinypic.com/27ywutj.png , I can see my addings here http://i61.tinypic.com/2zg92j7.png But when I delete some feature, all fid’s shift! For example when I delete tasmania_roads.15, then feature with the id tasmania_roads.16 becomes tasmania_roads.15. Is this normal or a bug?
3 - When I try to lock a feature like this http://i58.tinypic.com/2crrjmo.png, it does not get lock. http://i59.tinypic.com/w85g0l.png Even if I add a new feature, it does not work too. By chance if it gets lock and gives lock id(I experienced it), I cannot delete feature with its lock id! It says “Attempting to use a lockID that does not exist, it has either expired or was entered wrong.”
Am I doing something wrong or is that normal?
Thank you.
This message has been scanned for viruses by MailControl, a service from BlackSpider Technology
Click here to report this email as spam.
HR Wallingford and its subsidiaries uses faxes and emails for confidential and legally privileged business communications. They do not of themselves create legal commitments. Disclosure to parties other than addressees requires our specific consent. We are not liable for unauthorised disclosures nor reliance upon them.
If you have received this message in error please advise us immediately and destroy all copies of it.
HR Wallingford Limited
Howbery Park, Wallingford, Oxfordshire, OX10 8BA, United Kingdom
Registered in England No. 02562099