I want to collect elevation against list of points via python, I have gone through the given description and Elevation profile add-in code and I am able to collect the elevation of the polyline, but getting difficulties for Points FC.
It will really help me if I will get the sample code of python where I can pass it point feature class or lat-longs and collect the elevation value in individually or in bulk in Arcmap desktop 10.6 and I have to use same logic in Android as well were I can show the elevation of current location.
I can share the ArcMap (with Spatial Analyst) scenario.
If you have the Elevation Raster and the point layer, you could use Extract Values to Points (Spatial Analyst) . A sample python code is also available in the webpage linked above.
You will need an ArcGIS Organizational account to extract the values from Esri's Elevation service, since Esri's Terrain Image layer is a Subscriber content.
1. In ArcMap, sign-in to ArcGIS Online using your organizational account.
2. In ArcCatalog, GIS Servers > Add ArcGIS Server > Use GIS Services
3. Expand the Server connection, and add the Terrain Image Service to Table of Content of ArcMap. You may need to provide the login credentials again.
4. You can use this image layer Extract Values to Points Geoprocessing Tool.
What is subscriber content?
Subscriber content is the collection of ready-to-use map layers, analytic tools, and services published by Esri that requires an ArcGIS Online organizational subscription account to access. This includes layers from Esri such as NAIP imagery, landscape analysis layers, and historical maps. Subscriber content does not consume ArcGIS Online credits.
Appreciate for your valuable support.
I tried with given solution but I am not able to view the terrain map. I have login through my organization account but there is no credits available.
Please ensure your organizational account still active (Check expiry Date). It should have credits, if it is an organizational account. Usually, the account gets suspended if the credits get consumed.
I hope you have organizational account, and not Public account. What are the ArcGIS account types and where can I use them?
You may reach out to Esri Technical Support for addressing any issue with your ArcGIS Online Organizational Account.
Thanks for your actively support.
Yea, I have Organization account. My point is I want to access the elevation API and get the elevation against each point. Is there any other workaround to get this.