This bug has been opened in late February for version 2.4.1. https://jira.codehaus.org/browse/GEOS-6367
I am on version 2.4.8 and am still seeing this issue. If I try to update two or more features, all edited features get the geometry of the first feature in the list. An example: <?xml version="1.0" encoding="UTF-8"?> <wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" service="WFS" version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd gov.usgs.cida.ch.ye3dbe10d4be14cdf8a0110bccf34a062 geoserver/ye3dbe10d4be14cdf8a0110bccf34a062/wfs/DescribeFeatureType?version=1.1.0&outputFormat=GML3&typename=ye3dbe10d4be14cdf8a0110bccf34a062:test_test_shorelines_transects"> <wfs:Update xmlns:feature="gov.usgs.cida.ch.ye3dbe10d4be14cdf8a0110bccf34a062" typeName="feature:test_test_shorelines_transects"> <wfs:Property> <wfs:Name>the_geom</wfs:Name> <wfs:Value> <gml:MultiCurve xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"> <gml:curveMember> <gml:LineString> <gml:posList>-17597914.13042791 2420343.559791646 -17598378.054163497 2423221.2031396953</gml:posList> </gml:LineString> </gml:curveMember> </gml:MultiCurve> </wfs:Value> </wfs:Property> <Filter xmlns="http://www.opengis.net/ogc"> <PropertyIsEqualTo> <PropertyName>TransectID</PropertyName> <Literal>3</Literal> </PropertyIsEqualTo> </Filter> </wfs:Update> <wfs:Update xmlns:feature="gov.usgs.cida.ch.ye3dbe10d4be14cdf8a0110bccf34a062" typeName="feature:test_test_shorelines_transects"> <wfs:Property> <wfs:Name>the_geom</wfs:Name> <wfs:Value> <gml:MultiCurve xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913"> <gml:curveMember> <gml:LineString> <gml:posList>-17597384.688466575 2420429.895606989 -17597821.79825631 2423141.7380101085</gml:posList> </gml:LineString> </gml:curveMember> </gml:MultiCurve> </wfs:Value> </wfs:Property> <Filter xmlns="http://www.opengis.net/ogc"> <PropertyIsEqualTo> <PropertyName>TransectID</PropertyName> <Literal>4</Literal> </PropertyIsEqualTo> </Filter> </wfs:Update> </wfs:Transaction> The response: <wfs:TransactionResponse xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows"xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ye3dbe10d4be14cdf8a0110bccf34a062="gov.usgs.cida.ch.ye3dbe10d4be14cdf8a0110bccf34a062"version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs http://localhost:8081/coastal-hazards-geoserver/schemas/wfs/1.1.0/wfs.xsd"> <wfs:TransactionSummary> <wfs:totalInserted>0</wfs:totalInserted> <wfs:totalUpdated>3</wfs:totalUpdated> <wfs:totalDeleted>0</wfs:totalDeleted> </wfs:TransactionSummary> <wfs:TransactionResults/> <wfs:InsertResults> <wfs:Feature> <ogc:FeatureId fid="none"/> </wfs:Feature> </wfs:InsertResults> </wfs:TransactionResponse> Note that I’ve only requested two features to be updated. The response tells me that 3 features were updated and the second feature in my request gets the geometry of the first feature instead __________________________ (╯°□°)╯︵ ┻━┻ Ivan Suftin - Applications Developer - [email protected] Office: (608) 821-3825 - Cell : (608) 345-8963 Center for Integrated Data Analytics - http://cida.usgs.gov/ United States Geological Survey 8505 Research Way, Middleton, WI 53562 On Feb 24, 2014, at 8:28 AM, Andrea Aime <[email protected]> wrote: > On Mon, Feb 24, 2014 at 3:19 PM, Rahkonen Jukka (Tike) > <[email protected]> wrote: > Hi, > > > > I can confirm that when I sent your request to Geoserver 2.5 RC1 the message > is ”SUCCESS” but the result is not correct and the poly_landmarks shapefile > gets corrupted. Both features .56 and .57 are getting the same geometry and > attributes. They seem to come from the latter update with LAND having a value > “82.0” . It does not seem to matter that your request is perhaps invalid for > WFS 1.0.0 because the native SRS of this feature type is EPSG:4326 and WFS > 1.0.0 does not officially support reprojecting. I tried also to edit two > features from the feature type with Kosmo GIS and the result was also faulty > even the message was “SUCCESS”. > > > Thanks for confirming. Can anybody open a bug report at > jira.codehaus.org/browse/GEOS > > Cheers > Andrea > > -- > == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more > information == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > ------------------------------------------------------- > ------------------------------------------------------------------------------ > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk_______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
