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

when upgrade is used between 1.0 to 2.0 it doesn't change LOD's to string type #189

Open
Lkeurentjes opened this issue Sep 16, 2024 · 1 comment

Comments

@Lkeurentjes
Copy link

When upgrading from v1.0 to 2.0 using cjio [file] upgrade save [file] (using cjio v0.9.0; supports CityJSON v2.0), with for example these files:
601_SM_Solids.city.json
601_1_SM_solids.city.json

it doesn't change the lods from the geometries to strings making the schema validation report that the file is invalid.

@balazsdukai
Copy link
Member

Hi @Lkeurentjes , I could not reproduce the issue with cjio v0.9.0 and neither on the develop branch. I tried both files, using the command as you wrote it. Then validate with cjval, plus I inspected the output files and the lod-s came out as strings from the upgrade.
Could you check it again and confirm that the issue is present?

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