Hello,
I have found the following: https://www.arcgis.com/home/item.html?id=edc6d54479014a49941122acf1104cbe which suggests it could be used to get the distance to coast from a point. I would like to be able to give a lat / lng and it returns the distance. Is this doable with ArcGIS online?
Thanks
Solved! Go to Solution.
Hi charlie.grosvenor@bellandclements.com ,
When you add the layer to a web map in ArcGIS Online you can search for the lat lon location and click on the map to get the result:
You can also use the REST API, like this:
This will return the result in the format you specify:
Hi charlie.grosvenor@bellandclements.com ,
When you add the layer to a web map in ArcGIS Online you can search for the lat lon location and click on the map to get the result:
You can also use the REST API, like this:
This will return the result in the format you specify:
Thank you for the response. Have it working now. Do you know if its possible to get decimal values back. The API only seems to return whole numbers?
Hi bcgrosvenor ,
Is it a floating raster or integer?
Hi charlie.grosvenor@bellandclements.com ,
I'm sorry, but yes the pixel type of the service is U16 (unsigned 16 bit integer, range 0 to 65535), so you will not obtain a decimal value.