Open sambaas opened 2 years ago
It appears to be line 260 in objects.py, because a hardcoded length is stripped off to get the ID: CityObject_id = objid[10:]
Getting the part after the second space should fix this. I'll see if that works and make a pull request.
Made a pull request https://github.com/cityjson/Up3date/pull/17
Thanks a lot for raising the issue and submitting the PR! I'll review the fix and let you know.
That is indeed an improvement. Back in the day when developing the add-on I never thought of decimal point LODs :-). Thanks Sam!
Tbf, at that point extended LoDs weren't really supported that well in the CityJSON specs. Thankfully, this is fixed now!
Using LOD subversions gives a problem in the json output. It looks like the part of the name is not stripped out properly (The two extra characters for the decimal character seem to be ignored when removing the '[LOD2.1]' part of the name.