Select to view content in your preferred language

ArcGIS Online Spatial Analysis

5746
4
01-27-2015 05:13 AM
AnishKumar1
Deactivated User

I am using ArcGIS API for flex for developing ArcGIS Server based solutions.

Currently, I am working on ArcGIS Online Service, where I am able to use services provided by ArcGIS Online but I am unable to access ArcGIS Online Spatial Analysis Services.

I want to know the procedure of calling Spatial Analysis Services.

If anyone knows how to access ArcGIS Online Spatial Analysis Service, kindly let me know the workflow to access the Services,

Thanks in Advance

Anish Kumar

0 Kudos
4 Replies
KellyGerrow
Esri Alum

Hi Anish,

To access the analysis services hosted in ArcGIS Online, you will need to follow the steps listed in this documentation:

https://developers.arcgis.com/rest/analysis/api-reference/programmatically-accessing-analysis-servic...

Thanks,

Kelly

0 Kudos
AnishKumar1
Deactivated User

Hi Kelly,

Thank you for the reply. I have gone through this link before, but there were some problems which I was not able to sort out.

For accessing this Spatial Analysis Service we need token, there is a term "portal_url" which I am not getting what exactly it is.

Kindly help me to figure out this problem.

Thanks

Anish Kumar

0 Kudos
KellyGerrow
Esri Alum

HI Anish,

As you are using ArcGIS Online as your portal, use the following URL to work with the script:

https://arcgis.com/sharing/rest

The portal URL indicates which portal you are generating the token from.

Thanks,

Kelly

0 Kudos
AnishKumar1
Deactivated User

Hi Kelly,

Thank you for this information.

Thanks & Regards

Anish

0 Kudos