Hi,
I need to duplicate some functionality from a javascript project we have using the getSamples method on a imagerylayer in iOS and I have been unable to locate a similar operation on the AGSRasterLayer. Is this supported at all, maybe a different path that isn't so clear?
Hello, and thank you for your question! The "getSamples" method is not supported, but "Identify" is. "Identify" is similar to "getSamples", but not quite the same. Here's a snippet of the doc from "AGSRasterLayer":
Each raster layer supports identify on its individual cells when it is displayed in an @c AGSMapView or @c AGSSceneView.
You can use one of the "Identify" methods on the "AGSGeoView".
Let us know if you have more questions.
Mark
Aha! I have actually started to implement the getSamples using the REST API but I will explore the identify later, just made some codable structs and it would be a shame to not try it out 🙂
Ha ha ha, yea codable structs are pretty cool. If you need any more help or have questions, feel free to reach out!
Mark