You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
problem
When creating and merging two LAS files into 3D tiles and displaying the merged tileset in one layer, only the first 3D tile is displayed when zoomed out.
question
How can I make all 3D tiles visible?
I will show you the 3D tile creation and merging method that I am trying and the screen display method, so it would be helpful if you could teach me.
3D tile creation & merging method
Execute steps (1) to (3) and display the merged tileset in (3) on the screen.
(1) Create 3D tile A
py3dtiles convert --srs_in 6677 --srs_out 4978 /tmp/point-a.las --out /path/point-a
(2) Create 3D tile A
py3dtiles convert --srs_in 6677 --srs_out 4978 /tmp/point-b.las --out /path/point-b
(3) 3D tile A, B merge
py3dtiles merge /path/point-a/tileset.json /path/point-b/tileset.json --output-tileset /path/merge-tileset.json
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
problem
When creating and merging two LAS files into 3D tiles and displaying the merged tileset in one layer, only the first 3D tile is displayed when zoomed out.
question
How can I make all 3D tiles visible?
I will show you the 3D tile creation and merging method that I am trying and the screen display method, so it would be helpful if you could teach me.
3D tile creation & merging method
Execute steps (1) to (3) and display the merged tileset in (3) on the screen.
(1) Create 3D tile A
py3dtiles convert --srs_in 6677 --srs_out 4978 /tmp/point-a.las --out /path/point-a
(2) Create 3D tile A
py3dtiles convert --srs_in 6677 --srs_out 4978 /tmp/point-b.las --out /path/point-b
(3) 3D tile A, B merge
py3dtiles merge /path/point-a/tileset.json /path/point-b/tileset.json --output-tileset /path/merge-tileset.json
Screen display method
<!doctype html>
const {Deck, Tile3DLayer, TileLayer} = deck;
const tileLayer = new deck.TileLayer({
data: "https://c.tile.openstreetmap.org/{z}/{x}/{y}.png",
tileSize: 256,
renderSubLayers: props => new deck.BitmapLayer(props, {
data: null,
image: props.data,
bounds: (({ west, south, east, north }) => [west, south, east, north]
)(props.tile.bbox),
}),
});
const tile3dLayer = new Tile3DLayer({
id: 'tile3dlayer',
pointSize: 1,
data: '/path/merge-tileset.json'
loader: Tiles3DLoader,
});
const deckgl = new deck.Deck({
initialViewState: {
longitude: 139.75,
latitude: 35.69,
zoom: 13,
pitch: 0,
bearing: 0,
},
controller: true,
layers: [tileLayer, tile3dLayer ]
});
Beta Was this translation helpful? Give feedback.
All reactions