osgearth_package的一些用法

本文介绍了如何使用osgearth_package命令打包地图数据,并详细解释了各项参数的作用及使用方法,包括边界设置、覆盖已存在文件、写入earth文件等选项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

New options include:

--bounds xmin ymin xmax ymax:
Specify the bounds to export (in map coordinates)

--overwrite
Tells the packager to overwrite tiles that already exist in the TMS repo

--out-earth <earthfile>
Writes out a .earth file in the root folder of the TMS repo that points to the repo's contents

Caveats:

1) --out-earth will always put the earth file in the root folder if you specify a relative path.
2) --out-earth will always output an earth file based on the *most recent* packaging, regardless of what layers may already exist in the repo folder.
3) The TMS repo's tms.xml file will always have at least 23 tileset levels in it.
4) There is no "--min-level" option at this time, but you can always say "min_level" in your earth file.

一些例子:
osgearth_package test.earth --tms --ext png --out /tms_output_directory  --bounds 7.3828125000 46.8603050992 7.5586175468 46.9802523552 --max-level 13

osgearth_package gdal_my.earth --tms --max-level 20 --out g:\oren\testAir\tms\

osgearth_package --tms test_gdal.earth --out . --out-earth test_tms.earth --max_level 5 --overwrite

 osgearth_package --tms 3857_projected.earth --out . --out-earth tms_package.earth

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值