Gaia3D / mago-3d-tiler

This is the official repository of mago-3d-tiler.
https://seoul.gaia3d.com:10903/
Mozilla Public License 2.0
105 stars 9 forks source link

issue in creation of b3dm 3d tiles from las data #15

Closed SadhakAkshay closed 1 month ago

SadhakAkshay commented 1 month ago

Hello, I am trying to generate b3dm 3d tiles for las data using mago-3d-tiler for that I am using following command: -

root@NTPL-PC-083:/home/rajnish/Desktop/Sanskardham/mago_3d# java -jar mago-3d-tiler-1.6.4-natives-linux.jar -i las/pcmc_building.las -it las -o las/output/ -ot b3dm

It is not generating 3d tiles in b3dm format, along with json. What modifications can be done in above command or is there any dependency issue, if there is any dependency issue then how to solve the issue.

Thanks in advance.

znkim commented 1 month ago

Hi, @SadhakAkshay

I see that your input data has a .las extension, which means it is point-cloud data.

Currently, mago 3DTiler can only convert point-cloud data to pnts instead of b3dm. This is because it does not provide the ability to convert point cloud data to a mesh.

If you're just converting a point-cloud, try the commands below.

root@NTPL-PC-083:/home/rajnish/Desktop/Sanskardham/mago_3d# java -jar mago-3d-tiler-1.6.4-natives-linux.jar -i las/pcmc_building.las -it las -o las/output/ -ot pnts
SadhakAkshay commented 1 month ago

Hello,

I tried with the command provided earlier, it is not generating tiles although tileset.json is getting generated. root@NTPL-PC-083:/home/rajnish/Desktop/Sanskardham/mago_3d# java -jar mago-3d-tiler-1.6.4-natives-linux.jar -i las/pcmc_building.las -it las -o las/4326/ -ot pnts WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.

┳┳┓┏┓┏┓┏┓ ┏┓┳┓ ┏┳┓┳┓ ┏┓┳┓ ┃┃┃┣┫┃┓┃┃ ┫┃┃ ┃ ┃┃ ┣ ┣┫ ┛ ┗┛┗┗┛┗┛ ┗┛┻┛ ┻ ┻┗┛┗┛┛┗ 3d-tiler(1.6.4) by Gaia3d, Inc.

Starting process flow: PointCloudProcessModel [Pre] Created temp directory in /home/rajnish/Desktop/Sanskardham/mago_3d/las/4326/temp [Pre] Start the pre-processing. [Pre] Loading all files. [Pre] Finished loading all files [Pre] Total Node Count 0, Auto Node limit : 1024 [Pre] End the pre-processing. [Tiling] Start the tiling process. [Tiling] Writing tileset file. [Tiling][Tileset] write 'tileset.json' file. [Tiling] End the tiling process. [Post] Start the post-processing. [Post] End the post-processing.

End Process Time : 293ms Total tile contents count : 0 Total 'tileset.json' File Size : 304bytes

please find tileset.json as follows: - { "asset": { "version": "1.0", "extras": { "ion": { "georeferenced": true }, "cesium": { "credits": [ { "html": "Gaia3D", "showOnScreen": true } ] } } }, "root": { "boundingVolume": { "region": [ 0, 0, 0, 0, 0, 0 ] }, "refine": "ADD", "transform": [ 0, 1, 0, 0, -1, 0, 0, 0, 0, 0, 1, 0, 6378137, 0, 0, 1 ] } }

znkim commented 1 month ago

hello, @SadhakAkshay

Firstly, please add the -debug option to output detailed logs. When you are not in debug mode, it will omit minor errors.

After that, please enter the original CRS of the LAS file, often the coordinate information is not described in the LAS file, so you need to enter it manually.

Example options:

--debug --crs 32652
SadhakAkshay commented 1 month ago

Hello sir, I have added the crs and after that it is generating .pnts tiles. I will keep you updating regarding further development. Thank you for the response.

SadhakAkshay commented 1 month ago

root@NTPL-PC-083:/home/rajnish/Desktop/Sanskardham/mago_3d_new# java -jar mago-3d-tiler-1.6.4-natives-linux.jar -i las/pcmc.las -it las -o las/output_3857/ -ot pnts -c 3857 -d -l las/log1.txt I have modified command like this as per the suggestions received from you.