I've been trying to write a script to extract values from some rasters (.tif) to a point shapefile. After sometime I noticed I'm not getting the same values I get when running the same tool from Arcgis Interface.
This is the calling for the tool on the script:
inPointFeatures = "C:\\Users\\pbi.ap\\Desktop\\GUSTAVO_GEO\\CHUVA\\Vetores\\Pontos_SP.shp"
output_field_name = "valor_mean"
ExtractMultiValuesToPoints(
inPointFeatures,
[['img05032024_CopyRaster/Band_1',output_field_name]],
bilinear_interpolate_values="NONE")
I've seen a post from 2013 about this same issue but links for workarounds are no longer working.
This is a sample of both outputs. Yellow points are values equal to -9999 empty points
![Comparativo.png Comparativo.png](/t5/image/serverpage/image-id/103485i4F1DCFD2C3DC0C87/image-size/large?v=v2&px=999)
Anyone has any idea how to solve this ?