Giter Club home page Giter Club logo

arcpy-sdk-analytics-examples's Introduction

Combining Arcpy and ArcgisPRO SDK for spatial analysis

Example 1 - Interactive Density-Based Clustering Analysis

This example shows how to use a python script in a Add-in, using an example of Density-Based Clustering Analysis

Requirements

  1. Repository folder "InteractiveAnalytics"
  2. ArcGIS PRO 2.3
  3. Visual Studio 2017 C#

How To Use

This example "InteractiveAnalytics" contains the source code for an ArcGIS Pro Add-in. The Add-in allows you to perform an interactive clustering of points using a popular machine learning clustering algorithm called OPTICS (Ankerst et al., 1999). The repro contains a pyt file whose path must be explicitly referenced in the file Dockpanel1ViewModel.cs (167).

The Add-in is designed to work with the output of the Density-based Clustering geoprocessing tool found in the Spatial Statistics toolbox. This tool provides three clustering methods. The Add-in requires that you run the tool using the Multi-scale (OPTICS) Clustering Method. Density-based Clustering creates all the required output (Reachability distance/Reachability Order) for the Add-in. The Add-in will automatically detect clusters and allows you to dynamically and interactively explore alternative clustering solutions by adjusting tolerances and threshold distances.

Mihael Ankerst, Markus M. Breunig, Hans-Peter Kriegel, Jörg Sander (1999). OPTICS: Ordering Points To Identify the Clustering Structure. ACM SIGMOD international conference on Management of data. ACM Press. pp. 49–60.

alt text

Example 2 - Managing Origin-Destination data in a Space-Time Cube

This example shows how to use a python tool in a Add-in for selecting origin - destination in Space-Time Cube.

Requirements

  1. Repository folder "Origin_Destination_Space_Time_Cube"
  2. ArcGIS PRO 2.3
  3. Visual Studio 2017 C#

How To Use

This example "Origin_Destination_Space_Time_Cube" contains the source code for an ArcGIS Pro Add-in. The Add-in allows you to perform an interactive searching of destination of each bin in the Space-Time Cube. Additionally, a new python tool "Create Origin-Destination Cubes" creates and stores the origin-destination in two cubes (origin and destination)

The Add-in is designed to work with the output of the Visualize Space-Time Cube 3D geoprocessing tool found in the Space Time Pattern Mining Tools toolbox.

alt text

Licensing

Copyright 2019 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.txt file.

arcpy-sdk-analytics-examples's People

Contributors

caroso avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.