Skip to content

Latest commit

 

History

History
84 lines (61 loc) · 4.02 KB

README.md

File metadata and controls

84 lines (61 loc) · 4.02 KB

Tracker Scripts

A set of Python scripts and notebooks to help administer track views and analyze track data

Features

Several example Jupyter notebooks and scripts are provided to demonstrate some more advanced workflows that are possible via the ArcGIS API for Python and Tracker.

Notebooks:

In addition, we have uploaded our AGOL-compatible notebooks into a publicly accessible group of Hosted Notebooks in ArcGIS Online

Scripts:

Instructions

To run locally:

  1. Install Anaconda
  2. Run conda env create --file environment.yml to create the virtual environment with the correct dependencies
  3. Run conda activate tracker-scripts to activate the environment
  4. Start the jupyter server using jupyter notebook or run the Python script from command line
  5. Open the notebook, modify it, and then it run it
  6. (Optional - dev only) Configure pre-commit to run flake8 linting on pushes
    • pre-commit install --hook-type pre-push

To run in ArcGIS Notebooks:

  1. Visit our AGOL Hosted Notebooks group
  2. Click on "Content"
  3. Choose a notebook you'd like
  4. Click on the thumbnail for "Open Notebook" to open the Notebook in ArcGIS Notebooks

Requirements

  • Anaconda must be installed
  • Web browser capable of running jupyter notebooks

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 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.