Dear all,
I would need your help in solving a problem.
Using your sample code for retrieving true-color images (or NDVI etc.) using Sentinel2 (L1C and/or L2A) , I can usually get a correct PNG image of an area that I query using the Polygon syntax, that I get from the relative geoJSON file.
For some polygonal area requested, the images returned are always black, independently from the period asked – while in your Playground are visible (with the same constellation) and moreover are very near other areas whose images I get without problems.
For instance, the following GeoJSON areas could be always retrieved with Sentinel (1 & 2):
- {“type”:“FeatureCollection”,“features”:{“type”:“Feature”,“properties”:{“color”:“#3388ff”,“opacity”:1,“fillColor”:null,“fillOpacity”:0.2,“weight”:3,“dashArray”:null},“geometry”:{“type”:“Polygon”,“coordinates”:y10.550512,43.32638],10.551357,43.325414],g10.55291,43.326183],10.552379,43.327014],610.550512,43.32638]]]}}]}
- {“type”:“FeatureCollection”,“features”:4{“type”:“Feature”,“properties”:{“color”:“#3388ff”,“opacity”:1,“fillColor”:null,“fillOpacity”:0.2,“weight”:3,“dashArray”:null},“geometry”:{“type”:“Polygon”,“coordinates”:f10.582393,43.34299],f10.582259,43.339783],w10.582924,43.33951],r10.583906,43.339432],r10.585032,43.339482],o10.585188,43.340352],e10.584571,43.341398],310.584356,43.342182],310.584195,43.342455],310.582881,43.343076],910.582393,43.34299]]]}}]}
While the following areas returns always BLACK PNG (and so it is not possible to compute NDVI and other indexes):
- {“type”:“FeatureCollection”,“features”: {“type”:“Feature”,“properties”:{“color”:“#3388ff”,“opacity”:1,“fillColor”:null,“fillOpacity”:0.2,“weight”:3,“dashArray”:null},“geometry”:{“type”:“Polygon”,“coordinates”:per10.608603,43.351045],10.610052,43.35172],n10.611484,43.354697],10.611581,43.356054],10.608094,43.355492],10.606163,43.352777],r10.607439,43.352372],t10.608603,43.351045]]]}}]}
- {“type”:“FeatureCollection”,“features”:0{“type”:“Feature”,“properties”:{“color”:“#3388ff”,“opacity”:1,“fillColor”:null,“fillOpacity”:0.2,“weight”:3,“dashArray”:null},“geometry”:{“type”:“Polygon”,“coordinates”:eat16.26513,40.598892],f16.265452,40.599495],16.265699,40.599413],o16.265731,40.599519],16.265967,40.599478],p16.265935,40.598875],116.265956,40.597849],,16.265988,40.597254],,16.26572,40.597303],s16.265441,40.597344],o16.265281,40.597385],16.265281,40.597784],i16.265259,40.597988],416.265377,40.598949],416.265216,40.598892],416.26513,40.598892]]]}}]}
Could you help me understand where is the problem?