Closed brendanheywood closed 12 years ago
Yes this could be tricky.
Is it possible that somebody would write 8A+ to mean a free grade. If not then this is solved by changing the pattern match string to match for bouldering if capitalized, otherwise free.
Is the level of difficulty equivalent between grades (ie does 8a+ convert to 8A+).
nope
A V0 = 4 font and 4a/b climbing
A V5 = 6C/6C+ font and 7b climbing
A V10 = 7C+ font and 8b+ climbing
well that is a bit of a mind #$%^ but the system won't care. The main thing is our ability to strictly adhere to the upper/lower case parsing rules.
I think we are going to have to hard code some stuff in the grade parsing routine and add the ability to take the route gear style as further contextual input to determining the grade. For example if it is a bouldering route then first see if we can match a Font grade, otherwise proceed as normal
When you create a new Boulder route the system will first try and match Fontainebleau grades. If it cannot match a Font grade it will parse the grades as normal.
This extra logic only applies to Bouldering routes, and it applies anywhere in the world.
Campbell can you test in dev and close the issue when you are happy.
This one will be a bit tricky as it uses the same system as the climbing except that it is usually capitalized eg 8A+ vs 8a+
http://en.wikipedia.org/wiki/Grade_(bouldering)