Select to view content in your preferred language

How to perform rote imagery analysis in ArcGIS Online

403
4
Jump to solution
03-28-2025 08:29 AM
Jay_Gregory
Frequent Contributor

I'm curious if someone could provide a workflow for some simple imagery analysis in ArcGIS Online.  A user wants to show all land areas with elevations greater than 10,000 feet.  How would one accomplish this in arcgis online.  Would it require a professional or professional plus user type to perform some raster analysis on an elevation layer (and which layer), and then converting the result to vector? If someone could spell this out for me, that would be very helpful!

 

Thank you!

0 Kudos
1 Solution

Accepted Solutions
Ling_Tang_ESRI_Imagery
Occasional Contributor

Hi, this is Ling from Esri Raster Team. Thanks for the inquiry. Simple workflow can be done in ArcGIS Online, with either Creator user type, or Professional or Plus user type. 

For input imagery, you can use the `Terrain` service in Living Atlas, or service link here: https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer

Creator user type: 

1. Create a new Raster Function Template (RFT) in Content page-> New Item dialog. 

2. Open the RFT in Raster Function Editor through its item details page, using the "Open in Raster Function Editor" button. 

3. In the Editor, you can add two raster functions: "Remap" and "Attribute Table", and chain them together. 

Ling_Tang_ESRI_Imagery_3-1743464265705.png

 

 In Remap function, define something similar as below:

Ling_Tang_ESRI_Imagery_1-1743464066891.png

Please make sure the Output Pixel Type of Remap function is integer, if you want to leverage the second function "Attribute Table" to define a custom color. If you are fine with default color, Attribute Table function is not a must have.

Ling_Tang_ESRI_Imagery_2-1743464219300.png

Save the raster function template. 

4. When the Terrain layer is selected, on the white tools bar, open "Processing templates" pane. Import the template you just saved. 

Ling_Tang_ESRI_Imagery_4-1743464424945.png

 

For Professional or Professional Plus user type, you can leverage full raster analysis capabilities in ArcGIS Online in Map Viewer, which you can access all raster functions and raster analysis tools. You can use the Preview functionality to pre-visualize the analysis result. Currently since Terrain service provider has the request size limit per each service request, so it can only process 5k by 5k when running the analysis to persist the new output.  

Ling_Tang_ESRI_Imagery_5-1743464698180.png

 

 

 

 

  

View solution in original post

0 Kudos
4 Replies
Ling_Tang_ESRI_Imagery
Occasional Contributor

Hi, this is Ling from Esri Raster Team. Thanks for the inquiry. Simple workflow can be done in ArcGIS Online, with either Creator user type, or Professional or Plus user type. 

For input imagery, you can use the `Terrain` service in Living Atlas, or service link here: https://elevation.arcgis.com/arcgis/rest/services/WorldElevation/Terrain/ImageServer

Creator user type: 

1. Create a new Raster Function Template (RFT) in Content page-> New Item dialog. 

2. Open the RFT in Raster Function Editor through its item details page, using the "Open in Raster Function Editor" button. 

3. In the Editor, you can add two raster functions: "Remap" and "Attribute Table", and chain them together. 

Ling_Tang_ESRI_Imagery_3-1743464265705.png

 

 In Remap function, define something similar as below:

Ling_Tang_ESRI_Imagery_1-1743464066891.png

Please make sure the Output Pixel Type of Remap function is integer, if you want to leverage the second function "Attribute Table" to define a custom color. If you are fine with default color, Attribute Table function is not a must have.

Ling_Tang_ESRI_Imagery_2-1743464219300.png

Save the raster function template. 

4. When the Terrain layer is selected, on the white tools bar, open "Processing templates" pane. Import the template you just saved. 

Ling_Tang_ESRI_Imagery_4-1743464424945.png

 

For Professional or Professional Plus user type, you can leverage full raster analysis capabilities in ArcGIS Online in Map Viewer, which you can access all raster functions and raster analysis tools. You can use the Preview functionality to pre-visualize the analysis result. Currently since Terrain service provider has the request size limit per each service request, so it can only process 5k by 5k when running the analysis to persist the new output.  

Ling_Tang_ESRI_Imagery_5-1743464698180.png

 

 

 

 

  

0 Kudos
Jay_Gregory
Frequent Contributor

@Ling_Tang_ESRI_Imagery Thank you - this was very helpful to get started.  Unfortunately, even as a professional plus user I can't get it to work.  IF I try to estimate credits, I get "credit estimation failed - the analysis cannot be run with the current parameters.  I don't know if I need to be zoomed in to a specific scale to get around the request size limit or if my environment settings are incorrect.  If I click run, it will fail with Submission failed. Failed to execute EstimateRasterAnalysisCost.  Any thoughts on what I could be doing wrong?

analysis1.png

analysis2.png

analysis3.png

  

   

0 Kudos
Ling_Tang_ESRI_Imagery
Occasional Contributor

I attached my RFT for your reference. Please give it a try at your side. 

It is very easy to reach 5k by 5k processing extent, so either specify a small extent, or define the cell size to be larger within your extent, such as 100. 

Ling_Tang_ESRI_Imagery_0-1743726673290.png

Ling_Tang_ESRI_Imagery_2-1743726851666.png

 

Ling_Tang_ESRI_Imagery_1-1743726714314.png

 

If Estimate Cost still does not work, I need more information regarding the ArcGIS Online environment you are using to run raster analysis.  You can send me an email at: Ling_Tang@esri.com

0 Kudos
Jay_Gregory
Frequent Contributor

Okay, I figured it out - I had to set the output pixel type in remap and attribute table.  It's unknown by default and that's what was causing it to fail.  I was serious when I said "spell it out for me".  I compared the json between my template and yours.  thanks again!