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â€:yâ€10.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?