Cesium: The xyz coordinates of the CGCS2000 coordinate system are converted to the latitude and longitude height of the WGS84 coordinate system, and then converted to the xyz coordinates of the Cartesian coordinate system.

Author:CSDN @ _乐多_

This article will introduce the use of Vue, cesium, and proj4 frameworks to convert the xyz coordinates of the CGCS2000 coordinate system into the latitude and longitude height of the WGS84 coordinate system, and then convert the longitude and latitude height of the WGS84 coordinate system into the xyz coordinates of the Cartesian coordinate system. And the input and output are displayed using the Vue front-end framework. The code is plug and play.

The effect of the web page is as shown below,

Insert image description here


Article directory


1. Complete code

Please install proj4 and cesium libraries before use.

<template>
    <el-container>
        <el-header

おすすめ

転載: blog.csdn.net/yyyyyyyyyyy_9/article/details/134165069