WFS-T插入数据

  xmlns:wfs=”http://www.opengis.net/wfs”
  xmlns:KS_DataBase=”http://www.openplans.org/KS_DataBase”
  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.1.0/WFS-transaction.xsd http://www.openplans.org/KS_DataBase http://192.168.1.9:8093/geoserver/wfs/DescribeFeatureType?typename=KS_DataBase:flow”>
  <wfs:Insert>
    <flow>
      <KS_DataBase:Name>zwTest</KS_DataBase:Name>
      <KS_DataBase:Code>zwTest</KS_DataBase:Code>
      <KS_DataBase:geom>
        <gml:Point srsDimension=”1″ srsName=”http://www.opengis.net/gml/srs/epsg.xml#4326″>
        <gml:coordinates decimal=”.” cs=”,” ts=” “>119.725056,30.234302</gml:coordinates>
        </gml:Point>
      </KS_DataBase:geom>
    </flow>
  </wfs:Insert>
</wfs:Transaction>

转载自:https://blog.csdn.net/jsboy123/article/details/51211023

You may also like...