In ArcGIS Runtime, how do you determine whether an image service is suitable for use as an elevation source?

628
2
Jump to solution
05-18-2018 06:31 AM
JonathanBailey
Occasional Contributor III

In ArcGIS Runtime (specifically, for Qt, but this is applicable across all ArcGIS Runtime SDKs), how can one use the API to determine whether an image service is suitable for use as an elevation source?

Esri's WorldElevation3D/Terrain3D service is an elevation data set. The service has a property named serviceDataType, which has a value of esriImageServiceDataTypeElevation.

However, the corresponding ImageServiceRaster type in the Runtime API doesn't appear to have a corresponding property.

Is there a way to determine, using the Runtime API, whether an image service is suitable for use as an elevation source?

0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

We have it on the list of items to add, but currently, this is not exposed through the Runtime API. For the time being, you might want to just make a request to that endpoint and see if serviceDataType is equal to esriImageServiceDataTypeElevation

View solution in original post

2 Replies
LucasDanzinger
Esri Frequent Contributor

We have it on the list of items to add, but currently, this is not exposed through the Runtime API. For the time being, you might want to just make a request to that endpoint and see if serviceDataType is equal to esriImageServiceDataTypeElevation

JonathanBailey
Occasional Contributor III

Thanks, Lucas. That's what I ended up doing.

Same for exporting an image from an image service --> use the REST endpoint.

0 Kudos