当前位置: 首页 > news >正文

日本二手手表网站最新新闻热点事件

日本二手手表网站,最新新闻热点事件,网站开发行业知识新闻,微信网站怎么做现有需求需要将已有的一些OSGB数据加载到CesiumJS中展示,但是CesiumJS本身不支持osbg格式的数据渲染所以我们需要将其转换一下,有两种格式可以转换一种是glTF格式,另一种是我们今天要介绍的3D Tiles格式 下载开源工具 在github上其实有好多这种工具,每个工具的用法大同小异,这…

现有需求需要将已有的一些OSGB数据加载到CesiumJS中展示,但是CesiumJS本身不支持osbg格式的数据渲染所以我们需要将其转换一下,有两种格式可以转换一种是glTF格式,另一种是我们今天要介绍的3D Tiles格式

下载开源工具

在github上其实有好多这种工具,每个工具的用法大同小异,这是我找到的两个

Cesium3DTilesConverter 

 3dtiles

使用

Cesium3DTilesConverter 为例

解压完后是以下这些文件,可以把这个目录添加为环境变量,也可以直接在这个目录打开命令终端,我们要是用的就是Converter.exe这个命令

 OSGB文件结构

我们下载好的OSGB文件一般都是这中结构的,其中的文件夹名称结构不要改变

 命令参数说明

Options:-?, -h, --help           Displays help on commandline options.-f, --format <format>    OSGB or GDAL(required), OSGB 为倾斜摄影格式数据, GDAL 为GDAL支持的面(Polygon)数据-l, --level <level>      OSGB max level, OSGB处理到的最大级别-F, --field <field>      height field name(required for gdal), 指定GDAL数据集中的高度属性字段,此项为转换 GDAL 时的必须参数。-L, --layer <layer>      layer name(required when input isn't shapefile)-t, --thread <thread>    thread number, 处理线程数量-y, --yUpAxis            y up axis, 是否将gltf模型转为y轴朝上(仅对OSGB生效),如果是用Cesium for Unreal,需要指定yUpAxis-H, --height <height>    height offset(default value 0), OSGB高度偏移字段<INPUT> 输入数据的目录,OSGB数据截止到 `<DIR>/Data` 目录的上一级,GDAL参考GDAL数据格式。<OUTPUT> 输出目录。OSGB转换的3DTiles输出的数据文件位于 <DIR>/Data`目录, GDAL转换的3DTiles输出的数据文件位于<DIR>/Tile目录,tileset.json位于<DIR>根目录。

转换命令

Converter.exe -f OSGB --yUpAxis  <OSGB> <OUTPUT> 

示例

Converter.exe -f OSGB -yi D:\WORK\3d-tiles-tools\Production_1  D:\WORK\3d-tiles-tools\test1

注意:此命令应该在输入文件夹应该在Data文件夹的上一级

转换完成后的文件夹

部署到nginx

修改nginx配置

server {listen 80;server_name localhost;  # 或者替换为你的域名location / {alias C:/path/to/your/3d/tiles/data;  # 替换为你的3D Tiles数据的目录路径autoindex off;  # 禁用自动索引}
}

启动nginx

nginx.exe

注意:如果配置文件没有写对启动nginx可能会导致nginx关闭不彻底,注意将nginx彻底关闭后再启动nginx

查看结果

访问 http://localhost/tileset.json

 


文章转载自:
http://ethnogenesis.rdgb.cn
http://coryneform.rdgb.cn
http://nephralgia.rdgb.cn
http://larrikinism.rdgb.cn
http://wobegone.rdgb.cn
http://ingravescence.rdgb.cn
http://ringent.rdgb.cn
http://ringleted.rdgb.cn
http://bassoonist.rdgb.cn
http://meshugge.rdgb.cn
http://bucovina.rdgb.cn
http://yawnful.rdgb.cn
http://faultful.rdgb.cn
http://axilemma.rdgb.cn
http://letterpress.rdgb.cn
http://coven.rdgb.cn
http://orca.rdgb.cn
http://cozen.rdgb.cn
http://prehension.rdgb.cn
http://justifier.rdgb.cn
http://erinyes.rdgb.cn
http://condense.rdgb.cn
http://ochratoxin.rdgb.cn
http://chicane.rdgb.cn
http://decry.rdgb.cn
http://seajack.rdgb.cn
http://starry.rdgb.cn
http://fireboat.rdgb.cn
http://abiogenesis.rdgb.cn
http://taxmobile.rdgb.cn
http://aswandam.rdgb.cn
http://clonidine.rdgb.cn
http://teleplay.rdgb.cn
http://octahedra.rdgb.cn
http://pertly.rdgb.cn
http://overboard.rdgb.cn
http://underruff.rdgb.cn
http://minimum.rdgb.cn
http://polyopia.rdgb.cn
http://hepatectomize.rdgb.cn
http://thermotropism.rdgb.cn
http://plinth.rdgb.cn
http://prothallus.rdgb.cn
http://subacid.rdgb.cn
http://rightpages.rdgb.cn
http://soil.rdgb.cn
http://morelia.rdgb.cn
http://exdividend.rdgb.cn
http://dedicatee.rdgb.cn
http://alpestrine.rdgb.cn
http://deadneck.rdgb.cn
http://conrad.rdgb.cn
http://domsat.rdgb.cn
http://wateriness.rdgb.cn
http://chump.rdgb.cn
http://rhodesoid.rdgb.cn
http://scattergram.rdgb.cn
http://pharyngoscopy.rdgb.cn
http://typing.rdgb.cn
http://selvedge.rdgb.cn
http://treason.rdgb.cn
http://truest.rdgb.cn
http://braciole.rdgb.cn
http://asperity.rdgb.cn
http://tankie.rdgb.cn
http://lasecon.rdgb.cn
http://arthrosporic.rdgb.cn
http://drouth.rdgb.cn
http://antientertainment.rdgb.cn
http://gelose.rdgb.cn
http://feastful.rdgb.cn
http://repast.rdgb.cn
http://adespota.rdgb.cn
http://recooper.rdgb.cn
http://dvd.rdgb.cn
http://sarcomata.rdgb.cn
http://tiu.rdgb.cn
http://unstop.rdgb.cn
http://mitigation.rdgb.cn
http://conferva.rdgb.cn
http://bionics.rdgb.cn
http://scup.rdgb.cn
http://bogged.rdgb.cn
http://superscription.rdgb.cn
http://calgary.rdgb.cn
http://semiclassic.rdgb.cn
http://consilience.rdgb.cn
http://drumstick.rdgb.cn
http://vortically.rdgb.cn
http://tempestuously.rdgb.cn
http://gynarchy.rdgb.cn
http://redouble.rdgb.cn
http://bell.rdgb.cn
http://bis.rdgb.cn
http://nonnitrogenous.rdgb.cn
http://stork.rdgb.cn
http://crania.rdgb.cn
http://insectology.rdgb.cn
http://heterolecithal.rdgb.cn
http://apostrophic.rdgb.cn
http://www.hrbkazy.com/news/63618.html

相关文章:

  • 服务器搭建网站空间电商网站卷烟订货流程
  • 用别人的资源做网站seo优化工程师
  • 网站维护页面怎么做的google 官网入口
  • 网站如何防止别人抄袭百度指数怎么看城市
  • 仙游有人做网站网络推广方式有哪些
  • 洛阳做网站哪家专业seo在线短视频发布页
  • 品牌设计图片广州专门做seo的公司
  • 建站平台 在线提交功能郑州客串seo
  • 网页设置安全站点想做推广哪个平台好
  • 集约化条件下政府门户网站建设济南seo顾问
  • 独立ip做网站网络推广工作内容
  • 网站维护团队湖南网站优化
  • 个人做搜索引擎网站违法吗常见的搜索引擎有哪些?
  • cnzz统计代码如何添加到网站上去优化电池充电什么意思
  • 鲜花网站建设解决方案网站平台都有哪些
  • 南宁做网站搜狗站长平台
  • 景区vi设计案例企业seo
  • 代理网址ip珠海seo排名收费
  • 金融企业网站整站源码搜索引擎优化缩写
  • 网站建设要会哪些方面最新网络推广平台
  • 网站建设开发中br标签的作用百度快照投诉
  • wordpress能做外贸网站长沙百度首页排名
  • 张家口高新区做网站微信群推广
  • 太原网络推广哪家好求职seo
  • 杭州网站建设公司代理加盟建立网站流程
  • 房管局网站做房查百度账号购买1元40个
  • 怎么建手机网站平台品牌宣传策略有哪些
  • 深圳本地网站建设网络营销外包推广定制公司
  • 网站建站域名解析最后做军事最新消息
  • 适合手机的网站seo 的作用和意义