@SuppressLint("SetTextI18n")
    private static boolean checkAndApplyHemisphere(final int row, final TextParser coordParser, final GridLayout grid, final int vp) {
        final char hem = Character.toUpperCase(coordParser.ch());
        switch (row) {
            case 0:
                if (hem != 'N' && hem != 'S') {
                    return false;
                }
                break;
            case 1:
            default:
                if (hem != 'E' && hem != 'W' && hem != 'O') {
                    return false;
                }
                break;
        }
        coordParser.next();
        if (vp >= 0) {
            ((TextView) grid.getChildAt(vp)).setText(hem + "");
        }
        return true;
    }
returns true if latPatternn/lonPattern could be applied, false otherwise
main/src/main/java/cgeo/geocaching/ui/CalculatedCoordinateInputGuideView.java