Difference between revisions of "Implementations/Utilities"
imported>Relet (→Comic Creator) |
imported>Relet (→Comic Creator) |
||
Line 10: | Line 10: | ||
* The font sizes are not exactly as the original and there can still be some alignment problems. | * The font sizes are not exactly as the original and there can still be some alignment problems. | ||
* The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0. | * The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0. | ||
+ | |||
+ | == Automatic GPX File Generator == | ||
+ | {{30w compliant|no=1}} | ||
+ | I have modified the sample perl implementation so that it automatically generates a .gpx file which you can upload to your favourite GPS device/software. [http://discarded-ideas.org/files/geohash.pl Download here] | ||
+ | Before you use the script, you need to modify it and put your own lat/lon values into the corresponding variables at the beginning. -- [[User:Wansti|Wansti]] | ||
+ | |||
+ | == GeohashGenerator for Popfly == | ||
+ | {{30w compliant|yes=1}} | ||
+ | I have created a [http://www.popfly.com Popfly] block to use for creating mashups at http://www.popfly.com/users/rbuckton/GeohashGenerator. Can be integrated with Virtual Earth, etc. --[[User:rbuckton|rbuckton]] |
Revision as of 07:50, 10 April 2012
Comic Creator
This implementation IS FULLY 30W-compliant. |
A python class to recreate the original comic, but for any given date with your own coordinates! Below shows the comic for the first North East Netherlands meetup. Although it fetches the Dow itself, you can add &dowjones=12345.67
if it doesn't do so correctly (e.g., peeron.com is down). Created by Hugo.
http://www.astro.rug.nl/~buddel/cgi-bin/geohashingcomic/geohashingcomic.cgi?year=2008&month=5&day=24&lat=55.218512&lon=6.566854
You can download the script as well if you wish.
In the image, Dow values less than 10,000.00 are padded with leading spaces, however in the algorithm it is not so it is compliant with other the algorithms. As Tim P suggested, the comic is akin to all the bank cheques with "19__" printed on them being used in 2000. The "form" has 5+2 "boxes" because that's how Dow prices are now, but that doesn't mean it can't be different.
Bugs
- The font sizes are not exactly as the original and there can still be some alignment problems.
- The -0 issue is ignored. Only if you enter -0 as an integer you get an incorrect outcome. You are supposed to enter your own location as a float, up to 6 decimals, everything is okay even when you enter -0.0.
Automatic GPX File Generator
This implementation IS NOT 30W-compliant. |
I have modified the sample perl implementation so that it automatically generates a .gpx file which you can upload to your favourite GPS device/software. Download here Before you use the script, you need to modify it and put your own lat/lon values into the corresponding variables at the beginning. -- Wansti
GeohashGenerator for Popfly
This implementation IS FULLY 30W-compliant. |
I have created a Popfly block to use for creating mashups at http://www.popfly.com/users/rbuckton/GeohashGenerator. Can be integrated with Virtual Earth, etc. --rbuckton