Identifying Raster Cell values in ArcGIS Online

9961
12
08-06-2015 07:10 PM
KeithHastings
New Contributor III

I have created a Map on AGOL, and want to load a Raster DEM layer into the map so that the users can identify the layer to get a specific cell's elevation.

So far it's not working. I am publishing the data into a Feature Layer on AGOL.

It seems that I can only publish the raster data as a tilemap, and not as a feature service. But then it seems that tilemaps cannot be configured to have popups.

Am I missing something here, or is this just a restriction of the AGOL publishing workflow?

Cheers

Keith

12 Replies
JayantaPoddar
MVP Esteemed Contributor

Hi Keith,

To identify the cell values of a raster in an application or webmap, one needs to publish the raster as an image service (not a Map Service). Unfortunately, you can not publish an image service directly to AGOL. This capability is not available with AGOL. An ArcGIS Server is required to publish an image service.

Note: Feature access capability is available for feature class, not raster.



Think Location
KeithHastings
New Contributor III

Thanks Jayanta.

Unfortunately you've confirmed my fears.

I can publish an image service through ArcGIS Server, but at the moment due to our server's security certificate not being recognised by AGOL, I can't store the credentials of this secure service in AGOL, so every time a user opens the AGOL map they would have to login with an ArcGIS Server account (which they don't have, and won't be getting) as well as their AGOL login. Or the service wold have to be unsecured, which also won't be happening.

0 Kudos
by Anonymous User
Not applicable

Hi all. 

I created an Idea.  Everyone interested in this please vote for it!   Esri really listens to Ideas and gives consideration, balancing feasibility with popularity. 

https://community.esri.com/ideas/12329

BenGrod
Occasional Contributor III

Keith,

An alternative to hosting your own raster/DEM image service is to use Esri's World Elevation/Terrain. Downside is this is Premium content so it does cost 'credits' when it is used. But, it's simple to use, just add it to your map, symbolize, and enable the pop up. Hope this helps and good luck

KeithHastings
New Contributor III

Thanks Ben, but unfortunately in our case we need to use our specific DEM as it has been created especially for some storm-water modelling project work.

jessemaps
Occasional Contributor

While not exactly the solution you're looking for (Image Service), you can achieve a similar outcome by converting your DEM to a polygon feature class using the Raster to Polygon tool. Publish that polygon layer as a feature service in addition to publishing the DEM as a tile layer.

Then add the tile layer to your web map and enable a popup using the feature service as the reference.

For smaller scales you might also want to use the Raster to Point tool to create a point layer from the DEM and add that to your feature service. Make sure to build the tiled layer with multiple layers for different map scales, even if it's the same data. Then you can configure the pop-ups to use different layers (point vs polygon) for different scales.

by Anonymous User
Not applicable

Jesse Wickizer Hm, quite interesting. Indeed that'd work. Creating a poly for every 6" pixel for a county though would be rather like killing a fly with a nuke.   If we did points that'd be less overhead, and I could adjust the click area to cover a wide area at a fine scale.. Still, cutting butter with a broadsword!  Esri should simply expose the pixel value field to the webmap identify...pretty please.  

FC_Basson
MVP Regular Contributor

I also struggle with this issue.  Funny thing is that you can easily do it in the Javascript API by using "Pixel Value" as identification field.

by Anonymous User
Not applicable

We also need this, for identifying elevations off DEM and DSM rasters. We need it to be implemented in ArcGIS Online, for dynamicmapservice and/or imageryservice, which will be extremely useful to all of us in our county.