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
For some cases, a null value is returned from the WKTReader instead of propagating a ParseException.
I do not see any linked documentation, so I think it is a mistake.
Yes, that's definitely a bug. The try-catch should simply be removed, so the exceptions can propagate upwards.
It also looks like the parsing of the geometry type keywords is flawed - it allows spurious characters between the type and the dimension modifiers (e.g. POINTABCZ (0 0)).
Hello,
For some cases, a null value is returned from the WKTReader instead of propagating a ParseException.
I do not see any linked documentation, so I think it is a mistake.
The related code is:
jts/modules/core/src/main/java/org/locationtech/jts/io/WKTReader.java
Line 782 in d9b6e93
If you confirm it is a bug, I'll try to submit a minimal PR in a near future.
Regards,
The text was updated successfully, but these errors were encountered: