QDGC
From Wikipedia, the free encyclopedia
QDGC - Quarter Degree Grid Cells (or QDS - Quarter degree Squares) are a way of dividing the longitude latitude degree square cells into smaller squares, forming in effect a system of geocodes. QDGC represents a way of making (almost) equal area squares covering a specific area to represent specific qualities of the area covered. The squares themselves are based on the degree squares covering earth. Around the equator we have 360 longitudal lines lines, and from the north to the south pole we have 180 latitudal lines. Together this gives us 64800 segments or tiles covering earth. The form of the squares becomes more rectangular the longer north we come. At the poles they are not square or even rectangular at all, but end up in elongated triangles.
Each degree square is designated by a full reference to the main degree square. S01E010 is a reference to a square in Tanzania. S means the square is south of equator, and E means it is East of the zero meridian. The numbers refeer to longitudal and latitudal degree.
A square with no sublevel reference is also called QDGC level 0. The QDGC level 0 squares are themselves divided into four.
A | B |
C | D |
To get smaller squares the above squares are again divided in four - giving us a total of 16 squares within a degree square. The names for the new level of squares are named the same way. The full reference of a square could then be:
- S01E010AD
The number of squares for each QDGC level can be calculated with this formula:
number of squares = (2d)2
(where d is QDGC level)
Table showing level, number of squares and an example reference:
Level | Squares | Example |
0 | 1 | S01E010 |
1 | 4 | S01E010A |
2 | 16 | S01E010AD |
3 | 64 | S01E010ADC |
4 | 256 | S01E010ADCB |
5 | 1024 | S01E010ADCBD |
6 | 4096 | S01E010ADCDBA |
To decide which name a specific longitude latitude value belongs to it is possible to use this PHP code:
To see an open sourceweb mapping system using QDGC as generalisation basis look here:
More on the method can be read here: