Sha256: aa9352d9edecd4d1d6dabc32b1a28fd1087a04dd379d8f41073c4da10ff5c596

Contents?: true

Size: 977 Bytes

Versions: 2

Compression:

Stored size: 977 Bytes

Contents

// since Northings increase upward and array indices increase downwards, these grids all appear North-South flipped

static const char firstLetters[3][2]   = {{'S', 'T'}, 
                                          {'N', 'O'}, 
                                          {'H', 'J'}};

static const char secondLetters[5][5]  = {{'V', 'W', 'X', 'Y', 'Z'},
                                          {'Q', 'R', 'S', 'T', 'U'},
                                          {'L', 'M', 'N', 'O', 'P'},
                                          {'F', 'G', 'H', 'J', 'K'},
                                          {'A', 'B', 'C', 'D', 'E'}};

static const char tetradLetters[5][5]  = {{'A', 'F', 'K', 'Q', 'V'},
                                          {'B', 'G', 'L', 'R', 'W'},
                                          {'C', 'H', 'M', 'S', 'X'},
                                          {'D', 'I', 'N', 'T', 'Y'},
                                          {'E', 'J', 'P', 'U', 'Z'}};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
national_grid-0.2.0 ext/ostn02c/OSTN02/gridRef.data
national_grid-0.1.2 ext/ostn02c/OSTN02/gridRef.data