Read coordinate reference system data from E57 file

您所在的位置:网站首页 matlab的input命令 Read coordinate reference system data from E57 file

Read coordinate reference system data from E57 file

#Read coordinate reference system data from E57 file| 来源: 网络整理| 查看: 265

Open Live Script

Download a ZIP file containing an E57 file, and then unzip the file.

zipFile = matlab.internal.examples.downloadSupportFile("lidar","data/e57ParkingLot.zip"); saveFolder = fileparts(zipFile); e57FileName = [saveFolder filesep 'parkingLot.e57']; if ~exist(e57FileName,"file") unzip(zipFile,saveFolder) end

Create an e57FileReader object using the downloaded E57 file.

e57Reader = e57FileReader(e57FileName);

Check for CRS data in the E57 file by using the hasCRSData function. If the file contains CRS data, read the CRS data by using the readCRS function.

if hasCRSData(e57Reader) crs = readCRS(e57Reader); disp(crs) else disp("No CRS data available.") endNo CRS data available.


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3