进入cesium网站,在 我的资产 后面,有一个资产仓库,即Asset Depot;
看一下有四个列,名称、描述、类型、Add;
有的行的add我点了以后,会把此行加到 我的资产 ,即My Assets里面;
有一个Cesium OSM Buildings,点了以后,打开另一个页面;
出现一个关于Cesium OSM Buildings的页面;大体翻译几句;
depot
n:仓库,车站,兵站,
Cesium OSM Buildings
Cesium OSM 建筑物
Global 3D buildings with rich metadata
Cesium OSM Buildings is a 3D buildings layer covering the entire world. It’s available as a 3D Tileset on Cesium ion, ready to use in custom applications with CesiumJS or any client that supports 3D Tiles.
富元数据的全局3D建筑物
OSM Buildings 是一个3D建筑物图层,覆盖在整个地球。它是一个在Cesium ion上可用的3D Tileset,可以在js应用程序中定制,或者其他支持3D Tile的客户端;
It’s derived from OpenStreetMap and contains over 350 million buildings with per-building metadata. This includes basic information like building name and height, to address, opening hours, and even type of material for individual parts of buildings.
它从OpenStreetMap派生,包含超过350兆建筑物,在每个建筑物元数据;
Explore a live demo of Cesium OSM Buildings.
Get access to Cesium OSM Buildings
Sign up for a free Cesium ion account to use global 3D buildings in your custom applications.
There are over 20,000 types of properties available in Cesium OSM Buildings. A complete list can be found on this OpenStreetMap table. Not all properties are available for each building. You can use Cesium Stories to inspect any building’s properties.
超过2万类的属性可用在Cesium OSM 建筑物;
The following subset can be used for styling in Stories:
下列子集可用在Stories中作为风格:
CesiumJS code example
js例子代码;
var viewer = new Cesium.Viewer('cesiumContainer');
viewer.scene.primitives.add(Cesium.createOsmBuildings());
按这个意思应该是说,cesium 提供一个覆盖全球的3D建筑物图层,应该是需要注册以后,可以加到自己的js代码里面;它有一个示例代码,有时间看一下;
https://cesium.com/platform/cesium-ion/content/cesium-osm-buildings/