Hi all,
Does anyone know if it is a known issue that the wrong ID is returned while features are inserted into a shape file? I’m performing the following transaction operation.
(The feature itself is called “transaction”; hopefully that’s not too confusing)
<?xml version="1.0" encoding="iso-8859-1"?> 47124.76582,539411.3954 42170.60998,575421.6508 47455.04288,566501.6793 57363.35455,578725.344 69253.32857,540732.8727 61987.23334,548661.7363 47124.76582,539411.3954</gml:LinearRing>
</gml:outerBoundaryIs>
</gml:Polygon>
</gml:polygonMember>
</gml:MultiPolygon>
</the_geom>
<GM_CODE>gm_9876</GM_CODE>
<GM_NAAM>post response</GM_NAAM>
geen
I’m getting the following response:
<wfs:WFS_TransactionResponse version=“1.0.0” xmlns:wfs=“http://www.opengis.net/wfs” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/wfs http://localhost:8080/geoserver/schemas/wfs/1.0.0/WFS-transaction.xsd”>
<wfs:InsertResult handle=“http://www.example.org/cbs:transaction#449c8cab-4971-4f29-961f-2fa3b309ffb6”>
<ogc:FeatureId fid=“new0” />
</wfs:InsertResult>
wfs:TransactionResult
wfs:Status
<wfs:SUCCESS />
</wfs:Status>
</wfs:TransactionResult>
</wfs:WFS_TransactionResponse>
As you can see, the ID of the new feature is “new0”. However, when I query the entire layer, I’m not receiving a feature with this ID, but the id is, for example, “transaction.480”. Is this a known issue while using shapefiles? I’m using Geoserver 1.4.0.
Regards,
Frank