WFS_transactionUpdateGeom.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <!-- YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE
  2. IT WILL MODIFY YOUR SOURCE DATA FILES
  3. This will update one of the geometry fields in the tasmania_roads dataset.
  4. -->
  5. <wfs:Transaction service="WFS" version="1.0.0"
  6. xmlns:topp="http://www.openplans.org/topp"
  7. xmlns:ogc="http://www.opengis.net/ogc"
  8. xmlns:wfs="http://www.opengis.net/wfs"
  9. xmlns:gml="http://www.opengis.net/gml"
  10. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  11. xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd">
  12. <wfs:Update typeName="topp:tasmania_roads">
  13. <wfs:Property>
  14. <wfs:Name>the_geom</wfs:Name>
  15. <wfs:Value>
  16. <gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
  17. <gml:lineStringMember>
  18. <gml:LineString>
  19. <gml:coordinates>500000,5450000,0 540000,5450000,0</gml:coordinates>
  20. </gml:LineString>
  21. </gml:lineStringMember>
  22. </gml:MultiLineString>
  23. </wfs:Value>
  24. </wfs:Property>
  25. <ogc:Filter>
  26. <ogc:FeatureId fid="tasmania_roads.1"/>
  27. </ogc:Filter>
  28. </wfs:Update>
  29. </wfs:Transaction>