使用动态色标的颜色范围工具显示 GEOTIFF 文件中的 NDVI 图层

问题描述 投票:0回答:0

今天我们展示数据(geotiff 文件)——我们从无人机多光谱图像创建的。 我们使用 plotty 库在画布层上显示——用户有颜色工具来改变颜色比例 性能太差了——是时候把画布放在地图上了——(为了渲染 plotty) 和执行请求的时间获取文件

我很高兴有任何想法以最好的方式做到这一点 谢谢

        const plot = new plotty.plot({
        canvas: canvas,
        data: tiffData.readRasterResult[0],
        width: tiffData.image.getWidth(),
        height: tiffData.image.getHeight(),
        displayRange: [0, 255],
        applyDisplayRange: true,
        domain: [0, 255],
        noDataValue: 255,
        colorScale: "orthoNdviColorScale"
    });

    plot.render();

我尝试显示 GEOTIFF 文件中的 NDVI 图层 我将 plotty 库与 mapbox gl js 一起使用 - 在画布层中显示 很好 但性能最差

[在此处输入图片描述][1]

![]:https://i.stack.imgur.com/Sugz6.jpg

mapbox mapbox-gl-js
© www.soinside.com 2019 - 2024. All rights reserved.