Skip to main content

Hello,

I am trying to fetch images using the api using javascript. i tried to encode the png data that was fetched but was not able to visualize it. Anyone here can help with the same

I suggest you check senitnelhub-js library:

GitHub

18bf53bcd7b157a41683561fbb4374af1ae3c339.png

GitHub - sentinel-hub/sentinelhub-js: Download and process satellite imagery...

Download and process satellite imagery in JavaScript or TypeScript using Sentinel Hub services. - GitHub - sentinel-hub/sentinelhub-js: Download and process satellite imagery in JavaScript or TypeS..

 

Here are also two small demo projects



  • project using sentinelhub.js to get images and display them as <img> DOM elements


  • project using Process API to get images and put them on a Leaflet map and Catalog API to get the dates (without using sentinelhub.js)


Reply