Pixel value in API

  • 26 April 2024
  • 3 replies

Hey everyone!
What should I add to the following API link if I want the pixel value to be displayed everytime I point at it in my webapp?

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:



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:



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


Planet Monitoring

© 2024 Planet Labs PBC. All rights reserved.
| Privacy Policy | California Privacy Notice | California Do Not Sell
Your Privacy Choices | Cookie Notice | Terms of Use