经纬度PLT文件格式说明

Track File (. pit) 轨迹文件

Line 1 : File type and version information 文件类型和版本信息

Line 2 : Geodetic Datum used for the Lat/Lon positions for each trackpoint 经纬位置基准

Line 3 : "Altitude is in feet" - just a reminder that the altitude is always stored in feet 仅用于提醒

Line 4 : Reserved for future use 无用

Line 5 : multiple fields as below 有多个字段如下:

Field 1 : always zero (0) 就是0

Field 2 : width of track plot line on screen - 1 or 2 are usually the best 轨迹线宽度 1或者2合适

Field 3  :        track         color (RGB) 颜色

Field 4  :        track         description (no commas allowed) 描述(不允许出现逗号)

Field 5  :        track         skip value - reduces number of track       points plotted,          usually      set to 1 (增量 用于少绘制轨迹点)

Field 6  :        track         type - 0 = normal , 10 = closed polygon , 20 = Alarm       Zone 类型

Field 7  :        track         fill style - 0 =bsSolid; 1 =bsClear:     2 =bsBdiagonal:       3 =bsFdiagonal; 4

=bsCross: 5 =bsDiagCross; 6 =bsHorizontal: 7 =bsVertical:  填充风格

Field 8 : track fill color (RGB)  填充颜色

Line 6 : Number of track points in the track, not used, the number of points is determined when reading the points file 轨迹点数量 无用 具体数量在读文件时在确定

Trackpoint data 轨迹点数据

One line per trackpoint 一行一个轨迹点

each field separated by a comma 字段用逗号分隔

non essential fields need not be entered but cornua separators must still be used (example ,,) defaults will be used for empty fields 非核心字段可以不用填,但逗号必须保留

Field 1 : Latitude - decimal degrees. 纬度 十进制度

Field 2 : Longitude - decimal degrees. 经度 十进制度

Field 3 : Code - 0 if normal, 1 if break in track line 标记:0是正常点 1是线段分隔点

Field 4 : Altitude in feet (-777 if not valid)  高度(英尺单位)

Field 5 : Date - see Date Format below, if blank a preset date will be used 日期 具体格式见下

Field 6 : Date as a string 日期字符串

Field 7 : Time as a string 时间字符串

Note that OziExplorer reads the Date/Time from field 5, the date and time in fields 6 & 7 are ignored. 注意:OziExplorer 只从第5个字段读取日期和时间,6和7字段是忽略无用的。

Example

-27. 350436, 153. 055540, 1, -777, 36169. 6307194, 09-Jan-99, 3:08:14

-27. 348610, 153. 055867, 0, -777, 36169. 6307194, 09-Jan-99, 3:08:14

来一个示例文件说明一下(从奥维中导出的,奥维只识别线段,不识别区域):

OziExplorer Track Point File Version 2.0
WGS 84
Altitude is in Feet
Reserved 3
0,2,255,OziCE Track Log File,1
0
	37.86099175,107.64961984,1,0.000000,25569.000000,0,0
	34.90295531,106.56510208,0,0.000000,25569.000000,0,0
	36.67082021,105.42420653,1,0.000000,25569.000000,0,0
	36.75941577,110.00386168,0,0.000000,25569.000000,0,0
	35.08482145,110.68451746,0,0.000000,25569.000000,0,0
	35.80637750,105.22246910,1,0.000000,25569.000000,0,0
	37.43673815,108.84550808,0,0.000000,25569.000000,0,0
	35.88097093,112.32115752,0,0.000000,25569.000000,0,0
	34.23412216,108.16469986,0,0.000000,25569.000000,0,0

 

也就是说,只要更改经纬度和标记,就可以达到bln文件的效果。奥维是可以直接加载的。这个解决了matlab 2012a无法将线段输出成kml的问题。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Intimes

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值