Difference between revisions of "The Algorithm"

From Geohashing
imported>Matt
(Just a simple start to the page, as near as I can figure out the algorithm.)
 
imported>RichTF
Line 4: Line 4:
 
#The resulting string is split in half and converted to decimal values less than one.
 
#The resulting string is split in half and converted to decimal values less than one.
 
#The decimal values are tagged onto the end of the integer values of any given graticule to produce the geohash target.
 
#The decimal values are tagged onto the end of the integer values of any given graticule to produce the geohash target.
 +
 +
== Hexadecimal to fractional-decimal calculation ==
 +
Many online hex-to-dec converters do not support hexadecimal fractions.  Here is one that does:
 +
* [http://www.easysurf.cc/cnver17.htm#bf16tobf10 EasySurf.cc]

Revision as of 14:32, 23 May 2008

The Algorithm
  1. The current date and the daily opening of the Dow Jones Industrial Average are fed through the MD5 cryptographic algorithm.
  2. The resulting string is split in half and converted to decimal values less than one.
  3. The decimal values are tagged onto the end of the integer values of any given graticule to produce the geohash target.

Hexadecimal to fractional-decimal calculation

Many online hex-to-dec converters do not support hexadecimal fractions. Here is one that does: