arcrest.agol.helperservices package

Submodules

arcrest.agol.helperservices.analysis module

class arcrest.agol.helperservices.analysis.analysis(securityHandler, url=None, proxy_url=None, proxy_port=None)[source]

Bases: arcrest._abstract.abstract.BaseAGOLClass

ArcGIS Online is a collaborative, cloud-based platform that lets members of an organization create, share, and access maps, applications, and data, including authoritative basemaps published by Esri. Through ArcGIS Online, you get access to Esri’s secure cloud, where you can manage, create, store, and access hosted web services. ArcGIS Online includes the Spatial Analysis service. The Spatial Analysis service contains a number of tasks, listed below, that you can access and use in your applications. Using Spatial Analysis service tasks consumes credits. For more information on credits, see see Service credits overview which includes access to an interactive Service Credits Estimator.

Site Reference: https://developers.arcgis.com/rest/analysis/

Inputs:

securityHandler - ArcGIS Online security handler object url - optional url to the site.

proxy_url - optional proxy IP proxy_port - optional proxy port required if proxy_url specified

Basic Usage:

import arcrest import arcrest.agol as agol

if __name__ == “__main__”:

username = “username” password = “password” sh = arcrest.AGOLTokenSecurityHandler(username, password) a = agol.analysis(securityHandler=sh) for task in a.tasks:

if task.name.lower() == “aggregatepoints”:
for params in task.parameters:
print( params)
gpService

returns the geoprocessing object

tasks

returns the available analysis tasks

arcrest.agol.helperservices.elevation module

class arcrest.agol.helperservices.elevation.elevation(securityHandler, url=None, proxy_url=None, proxy_port=None)[source]

Bases: arcrest._abstract.abstract.BaseAGOLClass

The Elevation Analysis services provide a group of capabilities for performing analytical operations against data hosted and managed by Esri. This allows you to perform certain common analytical tasks quickly and easily, without having to collect, maintain, or update an authoritative set of base data. That’s done for you.

Inputs:

securityHandler - arcgis online security handler url - orginization url

proxy_url - IP/address of proxy proxy_port - port # of proxy is on.

gpService

returns the geoprocessing service object

tasks

returns a list of GPTask objects for GPService

class arcrest.agol.helperservices.elevation.elevationSync(securityHandler, url=None, proxy_url=None, proxy_port=None)[source]

Bases: arcrest._abstract.abstract.BaseAGOLClass

These are synchronus gp tasks.

The Elevation Analysis services provide a group of capabilities for performing analytical operations against data hosted and managed by Esri. This allows you to perform certain common analytical tasks quickly and easily, without having to collect, maintain, or update an authoritative set of base data. That’s done for you.

Inputs:

securityHandler - arcgis online security handler url - orginization url

proxy_url - IP/address of proxy proxy_port - port # of proxy is on.

gpService

returns the geoprocessing service object

tasks

returns a list of GPTask objects for GPService

arcrest.agol.helperservices.geocoder module

class arcrest.agol.helperservices.geocoder.geocode(url, securityHandler=None, proxy_url=None, proxy_port=None, initialize=False)[source]

Bases: arcrest.ags._geocodeservice.GeocodeService

agol geocode object

arcrest.agol.helperservices.hydrology module

class arcrest.agol.helperservices.hydrology.hydrology(securityHandler, url=None, proxy_url=None, proxy_port=None)[source]

Bases: arcrest._abstract.abstract.BaseAGOLClass

The data being operated on are maintained by Esri and made available to you through these tasks. A primary benefit of using these data sources is that a lot of the hard work has already been done, freeing you up to just work on performing analysis instead of having to worry about compiling, processing and storing very large datasets of continental and global scales on your local machine or network.

Find out more here: https://developers.arcgis.com/rest/elevation/api-reference/source-data-for-hydrology-analysis-tasks.htm

Inputs:

securityHandler - arcgis online security handler url - orginization url

proxy_url - IP/address of proxy proxy_port - port # of proxy is on.

gpService

returns the geoprocessing service object

tasks

returns a list of GPTask objects for GPService

Module contents