Upon analyzing the code you provided, I noticed a potential issue in the export section. It seems that the NDBI image (ndbi2020) you are trying to export is of data type Float32, but you are attempting to convert it to Int16 using the .int16() method before exporting. This could result in the pixel values being rounded down to 0, as you mentioned. To resolve this issue, you can modify the export code to export the image as Float32 directly. Here's the updated code for the export section: javascript Copy code // 5. Export to Drive Export.image.toDrive({ image: ndbi2020, description: 'NDBI image 2020', scale: 30, region: point, maxPixels: 1e13 }); By removing the .int16() method, the image will be exported as Float32, which should preserve the decimal values of the NDBI index and avoid the issue of getting pixel values of 0 in the exported image.
@TheCosmo882 Жыл бұрын
Great job. Thanks!
@TerraSpatial Жыл бұрын
Hi Joao Antonio, Thanks for your valuable comments and wonderful feedback.
@lifehacker4331 Жыл бұрын
while i have exported the image in q gis I got complete dark image with no pixel values
@lifehacker4331 Жыл бұрын
i have done this to resolve the issue but then got only one very small area just over a house
@lifehacker4331 Жыл бұрын
BRO IN EXPORT I AM GETTING 0 VALUES COMPLETE DARK TIFF IN EXPORT WHAT IS THE ISSUE ?
@gamerchan8754 Жыл бұрын
Good one
@TerraSpatial Жыл бұрын
Thanks Mr. Chan
@mirwado138420 күн бұрын
@TerraSpatial I have one issue in finding NDBI that it also shows barren land as NDBI so how can i elaborate that graph if i am working on Urban Heat Island