Select to view content in your preferred language

Retrieve Raw Service Pixel Value with arcpy from image service

40
0
10 hours ago
Labels (2)
fcoud92
New Contributor

Hello,

I need to make a python tool to intersect a mosaic dataset (shared as an image layer) and a line and retrieve the pixel values every x meters on the line.
I managed to do this with this method :
- use GeneratePointsAlongLines to create points every x meters on the line;
- use ExtractValuesToPoints to get the pixel values on those points location;

But, it does not retrieve the right values. Instead of the Raw Service Pixel Value, I get the first value of Service Pixel Value.

Does anyone know how I can get the Raw Service Pixel Value ?

I created the python tool with Arcgis Pro 3.5, and I am testing it before sharing with Arcgis Pro too.

0 Kudos
0 Replies