Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to export the 3D map as glTF file? #237

Open
dheroying opened this issue Jun 18, 2021 · 1 comment
Open

How to export the 3D map as glTF file? #237

dheroying opened this issue Jun 18, 2021 · 1 comment

Comments

@dheroying
Copy link

dheroying commented Jun 18, 2021

I want to export the 3d map as glTF file.
The map will look like this.
https://osmbuildings.org/?lat=52.52086&lon=13.41304&zoom=16.0&tilt=30
And I want to export this map as a glTF file.
Like this example in three.js.
https://threejs.org/examples/#webgl_materials_physical_sheen
I think this method(https://threejs.org/docs/#examples/en/exporters/GLTFExporter) in three.js is useful.
But I am not sure how to get the scene object from the OSM map.
So please let me know if it's possible, if so, how to do this using three.js?

@kekscom
Copy link
Member

kekscom commented Jun 18, 2021

It's not available right away but I'm glad to point you to the nice project OSM2World (https://github.com/tordanik/OSM2World) that converts OSM data into 3d models.
If you like us to do this as a paid service, get in touch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants