tudelft3d / 3dfier

The open-source tool for creating 3D models
http://tudelft3d.github.io/3dfier
GNU General Public License v3.0
529 stars 106 forks source link

Error when 'thinning' is empty #73

Closed balazsdukai closed 6 years ago

balazsdukai commented 6 years ago

When input_elevation: thinning: is empty, 3dfier errors with:

terminate called after throwing an instance of 'YAML::TypedBadConversion<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >'
  what():  yaml-cpp: error at line 28, column 1: bad conversion
Aborted (core dumped)

On branch feature/briges-top

tcommandeur commented 6 years ago

This is due to parsing the key-value in YAML, If a key is supplied it should have a value with it.