You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Using the Mago 3D tiler (mago-3d-tiler-1.8.1-natives-windows.jar) to convert CityGML, I noticed that your local format will be applied during the number parsing. This means that the parsing will result in an error in languages like German, which uses a comma (17,5) instead of a period (17.5) to separate decimal numbers.
I'd suggest always using the default locale "en-US" for numbers.
Changing your number formatting in the Windows settings to use a language with a point separator for decimals, e.g., American English, solves this issue for now.
Best regards
The text was updated successfully, but these errors were encountered:
I checked and java.text.DecimalFormat was using the system locale.
As you said, I've made sure to apply the Locale.ENGLISH when formatting the decimal point.
This will be applied in the next release.
Thanks a lot.
Hello,
Using the Mago 3D tiler (mago-3d-tiler-1.8.1-natives-windows.jar) to convert CityGML, I noticed that your local format will be applied during the number parsing. This means that the parsing will result in an error in languages like German, which uses a comma (17,5) instead of a period (17.5) to separate decimal numbers.
I'd suggest always using the default locale "en-US" for numbers.
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Locale.html#US
Changing your number formatting in the Windows settings to use a language with a point separator for decimals, e.g., American English, solves this issue for now.
Best regards
The text was updated successfully, but these errors were encountered: