Difference between revisions of "Half-graticule"
From Geohashing
imported>Phyzome (it's a possibility :-)) |
imported>Phyzome (change image size (purge)) |
||
Line 1: | Line 1: | ||
People in graticules or regions severely restricted by water might consider a modification to the algorithm that will still coincide with the standard coordinates. | People in graticules or regions severely restricted by water might consider a modification to the algorithm that will still coincide with the standard coordinates. | ||
− | [[Image:Half-grat.png|thumb|right| | + | [[Image:Half-grat.png|thumb|right|250px|Diagram of the approach]] |
# Take (a,b) as the standard decimal location. | # Take (a,b) as the standard decimal location. |
Revision as of 18:51, 12 June 2008
People in graticules or regions severely restricted by water might consider a modification to the algorithm that will still coincide with the standard coordinates.
- Take (a,b) as the standard decimal location.
- Take (c, d) = (a % 0.5, b % 0.5) as the half-size location. (% is the mod operator)
- New locations:
- (c, d)
- (c + 0.5, d)
- (c, d + 0.5)
- (c + 0.5, d + 0.5)
One of those is guaranteed to match (a, b), but one of the other three may be more accessible.