-
Notifications
You must be signed in to change notification settings - Fork 48
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
[Question] How to use GeoJson-Tiler to create 3D objects from GeoJson #141
Comments
Hello, First I recommend not using degree projections (such as EPSG:4326) as input, since Py3DTilers doesn't handle those projections really well (see #135). You should export your data in a meter projection, such as EPSG:4978. Then, you can try to use the Also, you should split your Then, to create a 3D Tiles tileset from your geojson-tiler -i .\test_lines_4978.geojson -o 3dtiles_lines --width width --height 5 --crs_in EPSG:4978 --crs_out EPSG:4326
To create a 3D Tiles tileset from your geojson-tiler -i .\test_polygons_4978.geojson -o 3dtiles_polygons --height height --z 800 --crs_in EPSG:4978 --crs_out EPSG:4326
If you still have misplaced 3D Tiles or strange geometries, it will surely be because of the |
Hi @LorenzoMarnat, thanks a lot for the answer. I tried to generate a 3D Tiles tileset with different CRS for the input and output but I didn't get it working. Either the 3D Tiles are correct and the geometries are broken or the other way round. Do you know other tools or ways to create a tileset from geojson? Thanks in advance. |
Hello,
and first of all sorry for the newbie question.
But how can I generate 3D files (.b3dm) from a GeoJson file containing simple Polygon and LineString features.
I already tested the GeoJson Tiler with different options but none of them produced the expected outcome.
The width and height information are in the properties of the features. The altitude information of the LineString is the third coordinate. the height info for the Polygone is set in the properties.
So first question is it possible at all to achieve this?
If yes what would be the correct options to get it done?
This is the GeoJson I want to use to generate 3D tiles.
Would be really great if someone could help me with this?
Thanks in advance.
The text was updated successfully, but these errors were encountered: