ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Publish Edits To WFS

Available with Production Mapping license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Publishes modified features, including new and deleted features, back to a Web Feature Service (WFS).

Usage

  • To publish, you must have downloaded from the WFS service using the WFS To Geodatabase tool.

  • Your service must have transactional capabilities to utilize this functionality.

  • If the service supports locking features, this tool will try to lock the edited features before publishing them.

Syntax

arcpy.production.PublishEditsToWFS(wfs_geodatabase)
ParameterExplanationData Type
wfs_geodatabase

A file geodatabase or .wfs file that contains the changes to publish.

Workspace

Code sample

PublishEditsToWFS example (stand-alone script)

The following stand-alone sample script demonstrates how to use the PublishEditsToWFS tool.

# Name: PublishEditsToWFSExample.py 
# Description: Publishes the edited WFS features to their corresponding web feature service.       
# Author: Esri     
# Date: August 2016                        

# Import arcpy module 
import arcpy                      

# Check out Production Mapping license                
arcpy.CheckOutExtension("Foundation")                               

# Define variables            
input_geodatabase = "C:/data/SampleWorldCities.wfs"                     

# Execute WFSToGeodatabase   
arcpy.PublishEditsToWFS_production( input_geodatabase )

Environments

  • Current Workspace

Licensing information

  • Basic: No
  • Standard: Requires Production Mapping
  • Advanced: Requires Production Mapping

Related topics

  • An overview of the Conversion toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal