Project

General

Profile

1
<!--       YOU PROBABLY DO NOT WANT TO RUN THIS QUERY SINCE 
2
              IT WILL MODIFY YOUR SOURCE DATA FILES
3

    
4
     This will update one of the geometry fields in the tasmania_roads dataset.
5
     
6
     
7
-->
8
<wfs:Transaction service="WFS" version="1.0.0"
9
  xmlns:topp="http://www.openplans.org/topp"
10
  xmlns:ogc="http://www.opengis.net/ogc"
11
  xmlns:wfs="http://www.opengis.net/wfs"
12
  xmlns:gml="http://www.opengis.net/gml"
13
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14
  xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd">
15
  <wfs:Update typeName="topp:tasmania_roads">
16
    <wfs:Property>
17
      <wfs:Name>the_geom</wfs:Name>
18
      <wfs:Value>
19
        <gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#27345">
20
          <gml:lineStringMember>
21
          	<gml:LineString>
22
            	<gml:coordinates>500000,5450000,0 540000,5450000,0</gml:coordinates>
23
          	</gml:LineString>
24
          </gml:lineStringMember>
25
        </gml:MultiLineString>
26
      </wfs:Value>
27
    </wfs:Property>
28
    <ogc:Filter>
29
      <ogc:FeatureId fid="tasmania_roads.1"/>
30
    </ogc:Filter>
31
  </wfs:Update>
32
</wfs:Transaction>
(11-11/20)