osgb转json_GitHub - Elvis-Wylde/CesiumTool-OsgbTo3dtiles: a serials of tools for cesium 3dtiles

3dtiles

A suit of tools for cesium 3dtiles, impl by rust and c++.

include these tools:

osgb => 3dtile , aim at having a high efficiency。

shapefile => 3dtile, aim at large scale of buiding outline。

倾斜摄影 (osgb 格式) 转 3dtile 工具。

命令行:

3dtile.exe [FLAGS] [OPTIONS] --format --input --output

示例:

3dtile.exe -f osgb -i E:\Data\倾斜摄影\hgc -o E:\Data\倾斜摄影\hgc_test

3dtile.exe -f osgb -i E:\Data\倾斜摄影\dayanta -o E:\Data\倾斜摄影\dayanta_test -c "{\"offset\": 0}"

参数说明:

-c, --config

{

"x": 120,

"y": 30,

"offset": 0 , // 模型最低面地面距离

"max_lvl" : 20 // 处理切片模型到20级停止

}

-f, --format

-i, --input

-o, --output

命令行参数详解:

-c 在命令行传入 json 配置的字符串, json 内容为选配,可部分实现。

-f 输入数据格式: osgb 为倾斜摄影格式数据。

-i 输入数据的目录,截止到 "\Data" 目录的上一级。

-o 输出目录。最终结果位于输出目录的 "\Data" 目录。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值