WebGIS航线编辑器(无人机航线规划)

        无人机航点、航线规划,实现全自动航点飞行作业及飞行航拍。禁飞区、作业区功能保障飞行安全。

GIS引擎加载

const viewer = new Cesium.Viewer("cesiumContainer", {
  imageryProvider: new Cesium.IonImageryProvider({ assetId: 3872 }),
});

const imageryLayers = viewer.imageryLayers;
const nightLayer = imageryLayers.get(0);
const dayLayer = imageryLayers.addImageryProvider(
  new Cesium.IonImageryProvider({
    assetId: 3875,
  })
);
imageryLayers.lowerToBottom(dayLayer);

GIS航线

多相机联动

GIS多相机联动

航线加载

const czml = [
  {
    id: "document",
    name: "CZML Geometries: Polyline",
    version: "1.0",
  },
  {
    id: "redLine",
    name: "Red line clamped to terain",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 35, 0, -125, 35, 0],
      },
      material: {
        solidColor: {
          color: {
            rgba: [255, 0, 0, 255],
          },
        },
      },
      width: 5,
      clampToGround: true,
    },
  },
  {
    id: "blueLine",
    name: "Glowing blue line on the surface",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 37, 0, -125, 37, 0],
      },
      material: {
        polylineGlow: {
          color: {
            rgba: [100, 149, 237, 255],
          },
          glowPower: 0.2,
          taperPower: 0.5,
        },
      },
      width: 10,
    },
  },
  {
    id: "orangeLine",
    name:
      "Orange line with black outline at height and following the surface",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 39, 250000, -125, 39, 250000],
      },
      material: {
        polylineOutline: {
          color: {
            rgba: [255, 165, 0, 255],
          },
          outlineColor: {
            rgba: [0, 0, 0, 255],
          },
          outlineWidth: 2,
        },
      },
      width: 5,
    },
  },
  {
    id: "purpleLine",
    name: "Purple arrow at height",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 43, 500000, -125, 43, 500000],
      },
      material: {
        polylineArrow: {
          color: {
            rgba: [148, 0, 211, 255],
          },
        },
      },
      arcType: "NONE",
      width: 10,
    },
  },
  {
    id: "dashedLine",
    name: "Blue dashed line",
    polyline: {
      positions: {
        cartographicDegrees: [-75, 45, 500000, -125, 45, 500000],
      },
      material: {
        polylineDash: {
          color: {
            rgba: [0, 255, 255, 255],
          },
        },
      },
      width: 4,
    },
  },
];

const dataSourcePromise = Cesium.CzmlDataSource.load(czml);
viewer.dataSources.add(dataSourcePromise);

感兴趣的可以留言或发邮件1985692469@qq.com,欢迎一起交流!

相关推荐

  1. 基于强化学习的航线规划算法

    2024-03-25 11:22:04       37 阅读
  2. 无人机航向

    2024-03-25 11:22:04       18 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-03-25 11:22:04       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-03-25 11:22:04       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-03-25 11:22:04       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-03-25 11:22:04       18 阅读

热门阅读

  1. 4k stars! 如何实现按拼音首字母查询证券代码?

    2024-03-25 11:22:04       18 阅读
  2. 鸿蒙开发的入门

    2024-03-25 11:22:04       21 阅读
  3. 3527. 旋转矩阵 考研上机复试真题 暴力模拟

    2024-03-25 11:22:04       17 阅读
  4. 函数封装冒泡排序

    2024-03-25 11:22:04       13 阅读
  5. sql中如何添加数据

    2024-03-25 11:22:04       16 阅读
  6. FPGA时钟资源详解——时钟Buffer的选择

    2024-03-25 11:22:04       16 阅读
  7. 数据结构——双向链表(C语言版)

    2024-03-25 11:22:04       14 阅读
  8. es6的核心语法

    2024-03-25 11:22:04       18 阅读
  9. 在DelayMS加入bsp_Idle,把单片机延时空闲利用起来

    2024-03-25 11:22:04       11 阅读
  10. 56. 携带矿石资源(第八期模拟笔试)

    2024-03-25 11:22:04       16 阅读
  11. python的基本语法解析

    2024-03-25 11:22:04       16 阅读