Esri / collector-tools

A set of python scripts and geoprocessing tools to automate common tasks and workflows in conjunction with Collector for ArcGIS
Apache License 2.0
74 stars 35 forks source link
arcgis-api collector data-management python python-scripts

A set of utilities to help configure web maps and feature layers for use with Collector for ArcGIS. Browse the sections below, or jump to a specific section.

Note: Many of the scripts, notebooks, and toolboxes can also be applied to ArcGIS Field Maps.

Notebooks

Scripts

Toolboxes

Notebooks

Jupyter notebooks are provided to demonstrate various methods to streamline and automate configuration, administration, and deployment of data collection projects.

Functionality
Exclude web maps from Collector
Configure search for a web map
Generate app links for Collector

Scripts

Supports ArcGIS API for Python v1.4.1 (https://developers.arcgis.com/python/)

Functionality Format
Reset Required Fields (ArcGIS API for Python) Python script
Add GNSS Metadata Fields (Pro) - FeatureClass Python Script
Add GNSS Metadata Fields (Pro) - Hosted Feature Service (ArcGIS API for Python) Python Script
Configure GNSS Popup (ArcGIS API for Python) Python Script
Project Z Model Builder

Toolboxes

The scripts and ModelBuilder are also available as a GeoProcessing Toolbox for use in ArcGIS Pro.

capture

If you are still using ArcMap, we offer a GeoProcessing Toolbox and associated python scripts that works with ArcMap 10.4 or higher.

Dependencies

Instructions

Script instructions 1. Install ArcGIS API for Python package as described [here](https://developers.arcgis.com/python/guide/install-and-set-up/). 1. Clone or download this repository. 1. Run the scripts from command line.
Toolbox instructions 1. Clone or download this repository. 1. If you prefer to use in ArcGIS Pro, right-click on Toolboxes, and select **Add Toolbox**. Navigate and select **CollectorUtils_Pro** toolbox. 1. Run the tools in the toolbox (Pro requires 2.0+) or run the scripts from command line.

Resources

Issues

Although we do our best to ensure these scripts, notebooks, and toolboxes work as expected, they are provided as is and there is no official support.

If you find a bug, please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2020 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.