Skip to main content

Pixel value in API

  • April 26, 2024
  • 3 replies
  • 327 views

3 replies

Hi @tilila.aitjeddi,
what do you mean “pixel value”? Like an actual number, rather than raster pixel?
If so, I would recommend you use Statistical API:

6315b8a4f88ff2b00eab2ab5cd802fe56048560c.pngsentinel-hub.com
d3714e73b38a87afa3c31502a6696052a7395163.png

FIS - DEPRECATED

The Statistical Info API (FIS), performed elementary statistical computations on remotely sensed data. It has been deprecated, as we developed a new powerful Statistical API.

You will need to provide a polygon geometry rather than point, but you can simply construct a super small rectangle around the point.


i mean when I’m working with the NDVI layer, I want everytime I point at a pixel, to find its NDVI value in display. Is that even possible?


This depends quite a bit on qht kind of application are you using. Our API can provide actual NDVI value for any chosen pixel, as I demonstrated above. However, if you create a layer with NDVI values, you will require FLOAT32-supported raster layers (as NDVI values are typically between -1 and 1), which is not supported in most GIS tools out there.

That said, if you want to get a layer of NDVI values, you can simply configure it as described here:

cc2429fe2929b5e713489c44359b57f8cc9d9eeb.pngsentinel-hub.com
d3714e73b38a87afa3c31502a6696052a7395163.png

FAQ

Check our list of frequently asked questions and answers on Sentinel Hub services.