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
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命令打包地图数据,并详细解释了各项参数的作用及使用方法,包括边界设置、覆盖已存在文件、写入earth文件等选项。
448

被折叠的 条评论
为什么被折叠?



