As you may know Survey123 for ArcGIS creates its own feature service when creating a survey. This exists in either ArcGIS Online's or your Portal's Hosted Data. From there, the data can be downloaded as a File Geodatabase easily. This makes it possible to import the data into a geodatabase, though this works best as a one-time import. To help synchronize an enterprise geodatabase with an on-going survey, we're introducing a Python Script and ArcGIS Toolbox Tool, available on ArcGIS Online. You may choose to use this as a one-type migration or as part of an ongoing data synchronization routine.
This script does the following:
This was authored with ArcGIS Desktop 10.4, but will work with ArcGIS Desktop 10.3 if the
pytz python module is installed.
The following parameters are needed:
If you run the geoprocessing tool in ArcMap and are already signed into to your ArcGIS organization, the script will use that information instead of the
There are three ways to use the script:
python syncSurvey.py <SDE Connection File | File Geodatabase> <Table Prefix> <Feature Service Url> <Time Zone> <Portal> <Username> [Password]
python syncSurvey.py CONFIG <path to config file> <section name>.
sde_conn: <The path to a .sde file that connects to the destination DB OR a File GDB>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.