本次是在GEE上画出经纬度,本届用到的函数:
ee.Image.pixelLonLat()
Creates an image with two bands named 'longitude' and 'latitude', containing the longitude and latitude at each pixel, in degrees.
创建一个有两个带子的图像,名为 "经度 "和 "纬度",包含每个像素的经度和纬度,单位是度。
No arguments.
Returns: Image
floor()
Computes the largest integer less than or equal to the input.
计算小于或等于输入值的最大整数。
Arguments:
this:value (Image):
The image to which the operation is applied.应用该操作的图像。
Returns: Image
代码:
//使用pix