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
This isn't a bug, BNG coordinates should have an even-numbered set of digits (from 2 to 10, depending on the quadrant size). Here's a reference that should help!
I'll leave this issue open for now nonetheless as a reminder to add better error-handling/clarify why a given grid reference is invalid. Good luck!
The following code incorrectly results in an error flag:
Error code:
File "{USER}\AppData\Roaming\Python\Python39\site-packages\OSGridConverter\grid.py", line 71, in init
factor=pow(10,5)
OSGridConverter.base.OSGridError: OSGridConverter error: Invalid grid reference
It seems any BNG grid ref with 6 digits in one coordinate and 5 digits in the other is rejected.
The text was updated successfully, but these errors were encountered: