WFS_transactionInsert.xml 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <!--
  2. YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE
  3. IT WILL MODIFY YOUR SOURCE DATA FILES
  4. It will add a simple line to the tasmania_roads dataset.
  5. -->
  6. <wfs:Transaction service="WFS" version="1.0.0"
  7. xmlns:wfs="http://www.opengis.net/wfs"
  8. xmlns:topp="http://www.openplans.org/topp"
  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 http://www.openplans.org/topp http://localhost:8080/geoserver/wfs/DescribeFeatureType?typename=topp:tasmania_roads">
  12. <wfs:Insert>
  13. <topp:tasmania_roads>
  14. <topp:the_geom>
  15. <gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#4326">
  16. <gml:lineStringMember>
  17. <gml:LineString>
  18. <gml:coordinates decimal="." cs="," ts=" ">
  19. 494475.71056415,5433016.8189323 494982.70115662,5435041.95096618
  20. </gml:coordinates>
  21. </gml:LineString>
  22. </gml:lineStringMember>
  23. </gml:MultiLineString>
  24. </topp:the_geom>
  25. <topp:TYPE>alley</topp:TYPE>
  26. </topp:tasmania_roads>
  27. </wfs:Insert>
  28. </wfs:Transaction>