mapbox-gl-js icon indicating copy to clipboard operation
mapbox-gl-js copied to clipboard

Support custom 3D landmark building models

Open exotfboy opened this issue 1 year ago • 5 comments

The official mapbox map example load a 3d building tile source with glb format for the 3D landmark buildings generated by Mapbox team.

I'd like to know:

1 What is the original format for the 3d models?

2 How is the glb tile data organized from the original model?

3 And open source tool can be used to generated our own 3d tiles?

Thanks.

exotfboy avatar Dec 09 '23 12:12 exotfboy

Hi @exotfboy,

The model layer is still an experimental feature, and its public API is currently under development.

stepankuzmin avatar Dec 11 '23 12:12 stepankuzmin

really nice 3d objects. would be nice to see some converters in the near future (for example of cityGml).

enersis-pst avatar Dec 12 '23 11:12 enersis-pst

hey @exotfboy someone create its own models from lod2 city dataset. https://bertt.wordpress.com/2023/08/21/exploring-3d-options-of-mapbox-v3 he has also created a converter https://github.com/geodan/pg2b3dm

for me now is the question what is right now possible and what will come.

  • query on click
  • filtering by attribute
  • styling by attribute
  • positioning on elevation model

enersis-pst avatar Mar 04 '24 16:03 enersis-pst

@enersis-pst Amazing! Thanks。

exotfboy avatar Mar 05 '24 03:03 exotfboy

This topic is discussed also in https://github.com/mapbox/mapbox-gl-js/issues/12861.

astojilj avatar Mar 05 '24 07:03 astojilj