????
Current Path : C:/ProgramData/GeoServer/demo/ |
Current File : C:/ProgramData/GeoServer/demo/WFS_transactionUpdateGeom.xml |
<!-- YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE IT WILL MODIFY YOUR SOURCE DATA FILES This will update one of the geometry fields in the tasmania_roads dataset. --> <wfs:Transaction service="WFS" version="1.0.0" xmlns:topp="http://www.openplans.org/topp" xmlns:ogc="http://www.opengis.net/ogc" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"> <wfs:Update typeName="topp:tasmania_roads"> <wfs:Property> <wfs:Name>the_geom</wfs:Name> <wfs:Value> <gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326"> <gml:lineStringMember> <gml:LineString> <gml:coordinates>500000,5450000,0 540000,5450000,0</gml:coordinates> </gml:LineString> </gml:lineStringMember> </gml:MultiLineString> </wfs:Value> </wfs:Property> <ogc:Filter> <ogc:FeatureId fid="tasmania_roads.1"/> </ogc:Filter> </wfs:Update> </wfs:Transaction>