Line 19: LAI.setDefaultProjection(...).Float is not a function
这里我们需要注意的是这个设定默认投影的坐标,因为这里函数中有三个参数,所以如果我们不设定其中一个参数就一定要用null去替代,或者我们可以使用字典类型分别设定,这样就不用担心错误将第三个参数的值传入到第二个参数值。
函数:
setDefaultProjection(crs, crsTransform, scale)
Set a default projection to be applied to this image. The projection's resolution may be overridden by later operations.
设置要应用于此图像的默认投影。 投影的分辨率可能会被以后的操作覆盖。
Arguments:
this:image (Image):
The image to reproject.
crs (Projection):
The CRS to project the image to.
crsTransform (List, default: null):
The list of CRS transform values. This is a row-major ordering of the 3x2 transform matrix. This option is mutually e