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

3dfier.exe crashes after execution #41

Closed
antoinebio opened this issue Oct 9, 2017 · 6 comments
Closed

3dfier.exe crashes after execution #41

antoinebio opened this issue Oct 9, 2017 · 6 comments

Comments

@antoinebio
Copy link

Hello,
this post is following #35
tips and correction have been made, but 3dfier is crashing after execution of the command.
My laz files are 300Mo & 210Mo.
Is it too big ?

thanks,
antoine

@tcommandeur
Copy link
Contributor

tcommandeur commented Oct 9, 2017

I regularly use laz files >2gb each so that is not the issue. Does the command fail directly after launching 3dfier? Can you please paste the console output and your config here? I guess something fails in the config validation.

@antoinebio
Copy link
Author

the command fails right after launching 3dfier exe into DOS command
herafter is our config file

input_polygons:

  • datasets:
    • E:\99_Dev-GI\TUDELFT3D-3dfier\data-ATGT\shp\luz-bati.shp
      uniqueid:
      lifting: Building

lifting_options:
Building:
height_roof: percentile-90
height_floor: percentile-10
lod: 1
Terrain:
simplification: 10
Forest:
simplification: 10
Water:
height: percentile-10
Road:
height: percentile-50
Separation:
height: percentile-80
Bridge/Overpass:
height: percentile-50

input_elevation:

  • datasets:
    • E:\99_Dev-GI\TUDELFT3D-3dfier\data-ATGT\laz\PLVG__Gave_A_B000004___light.laz
    • E:\99_Dev-GI\TUDELFT3D-3dfier\data-ATGT\laz\PLVG__Gave_A_B000005___light.laz
      omit_LAS_classes:
    • 1 # unclassified
      thinning: 0

options:
building_radius_vertex_elevation: 3.0
radius_vertex_elevation: 1.0
threshold_jump_edges: 0.5

output:
format: OBJ

format: CityGML

building_floor: false
vertical_exaggeration: 0

@antoinebio
Copy link
Author

config.zip

@tcommandeur
Copy link
Contributor

I see the issue, in #35 I explained to leave the uniqueid blank however the validation of the yaml file doesn't accept a blank field. This is what 3dfier states in the console when running this config;

Option 'uniqueid' invalid; supplied empty attribute.
ERROR: config file (*.yml) is not valid. Aborting.

So if you put 'fid' it should work correct.

@antoinebio
Copy link
Author

doesn't work with 'fid' as uniqueid in yml file.
What I don't catch is that my shp file has id for any polygon, and there are not support if my yml file is set with uniqueid: id ...
see screenshot below
image

@tcommandeur
Copy link
Contributor

GDAL sees the fid as a special column that is not exposed in the normal attribute list. The solution is to create a new attribute and copy the id attribute for example.

https://gis.stackexchange.com/questions/167991/how-to-copy-same-values-to-another-field-in-attribute-table-in-qgis-using-field

Sorry for the inconvenience!

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