/field-maps-scripts

A set of scripts and notebooks to help administer maps and workflows for ArcGIS Field Maps.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

Field Maps Scripts

A set of Python scripts and notebooks to help configure maps and manage data for ArcGIS Field Maps.

Features

Scripts

Functionality Script
Copy Form Between Maps copy_form_between_maps.py
Download Attachments from Feature Layer download_attachments.py

Notebooks

Requirements

  • Python 3.6+
  • ArcGIS API for Python 1.8.4+
  • ArcGIS Field Maps (web and mobile applications)
  • ArcGIS Pro 2.5+ (Add GPS Metadata Fields (Pro) only)

Instructions

This repository requires the ArcGIS API for Python version 1.8.4 or greater to run. We recommend setting up your local environment via Anaconda.

  1. Install Anaconda
  2. Run conda env create --file environment.yml to create the virtual environment with the correct dependencies
  3. Run conda activate field-maps-scripts to activate the environment
  4. (Optional - dev only) Configure pre-commit to run flake8 linting on pushes
    • pre-commit install --hook-type pre-push

Resources

Issues

Although we do our best to ensure these scripts and notebooks 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 2022 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.