|
From: Hendrik S. <Hen...@gm...> - 2006-12-21 09:02:56
|
I’m trying to build an application to synchronize open source server via web feature service.
The application should mirror the features from the source server to the target server.
The features are saved in a PostgreSQL Database.
On the synchronisation the application sends a getFeatures request to the source server, the response will be parsed, and the attributes of the feature are written in an Insert request, this
request will be send to the target server. As a result of this, I get identical features on the target server and the source server.
The problem I have is, that the Key value (gid) changes during this operation.
It seems that geoserver generates a new gid value in place of taking the
value of the insert request (the highest gid value is added by one). So first:is it a bug or a feature? and second:
if it's a feature, how can i configure geoserver that it takes MY
gid-value of the request and not an arbitrary guid?
I would like to know if it is possible to take over the Key value of the insert Request.
Example:
Tag of the insert Request: <cite:states fid="states.246"> old maximum Key value of the source server = 246
New Key value after insert request at the target server = 247
Second question is there a maximum number of objects to update?
When I’m trying to update a huge number of objects I get an error response?
I will be grateful for your information
Yours Hendrik
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
|