Доступно с лицензией Production Mapping.
Краткая информация
Publishes modified features, including new and deleted features, back to a Web Feature Service (WFS).
Использование
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.
Синтаксис
PublishEditsToWFS(wfs_geodatabase)
Параметр | Объяснение | Тип данных |
wfs_geodatabase | A file geodatabase or .wfs file that contains the changes to publish. | Workspace |
Пример кода
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 )
Параметры среды
Информация о лицензиях
- ArcGIS Desktop Basic: Нет
- ArcGIS Desktop Standard: Требует Production Mapping
- ArcGIS Desktop Advanced: Требует Production Mapping