Difference between revisions of "Implementations/Utilities"

From Geohashing
imported>Relet
(GeohashGenerator for Popfly)
imported>Relet
(Probability Calculators)
Line 29: Line 29:
 
* [[Land usage]] - calculates the probability of certain types of land (forests, water, and the like).
 
* [[Land usage]] - calculates the probability of certain types of land (forests, water, and the like).
 
* [[Public transport probability]] - calculates the probability of a certain distance from public transport.
 
* [[Public transport probability]] - calculates the probability of a certain distance from public transport.
 +
 +
==HashPlacer==
 +
The HashPlacer is a perl script that allows you to define limit boxes on a map, and will notify you via email if the day's geohash point lands in one of these boxes. This is especially useful if you define a limit box surrounding your favorite park, or your neighborhood, or even your [[Couch Potato Geohash|couch]]. Currently the only areas supported are "boxes"... two latitude points and two longitude points define the corners of a [[graticule]]-shaped "box".
 +
 +
[[User:AeroIllini/HashPlacer]]
 +
 +
== geohashing-gpx.heroku.com ==
 +
{{30w compliant|yes=1}}
 +
[[User:Alech|Alech]] built a [http://geohashing-gpx.heroku.com web service] to get the hash point for a given graticule and day (or for all currently known upcoming ones) in GPX format for use with QLandkarte GT and his Garmin eTrex Legend HCX. It also supports surrounding graticules and has a neat little hack to look up neighbouring (bus, tram, train) stops (this has nothing to do with GPX, OTOH). Check out its [http://geohashing-gpx.heroku.com documentation], [git://git.alech.de/geohashing_gpx.git Git repository] or [http://shiftordie.de/blog/2012/03/18/geohashing-with-qlandkartegt/ information how to use it with QLandkarte GT] and let me know any feature requests/bug reports. The hash point data comes from relet's JSON web service, BTW. --[[User:Alech|Alech]] 15:07, 18 March 2012 (EDT)

Revision as of 10:44, 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

Geohash module for phenny IRC bot

Provides geohashing related lookups and helpful functions for the #geohashing IRC channel. Documentation at: Relet/Shmulik

Probability Calculators

These do not calculate the hash, but instead the probability of the hashpoint to land in certain areas.

  • Land usage - calculates the probability of certain types of land (forests, water, and the like).
  • Public transport probability - calculates the probability of a certain distance from public transport.

HashPlacer

The HashPlacer is a perl script that allows you to define limit boxes on a map, and will notify you via email if the day's geohash point lands in one of these boxes. This is especially useful if you define a limit box surrounding your favorite park, or your neighborhood, or even your couch. Currently the only areas supported are "boxes"... two latitude points and two longitude points define the corners of a graticule-shaped "box".

User:AeroIllini/HashPlacer

geohashing-gpx.heroku.com

This implementation IS FULLY 30W-compliant.

Alech built a web service to get the hash point for a given graticule and day (or for all currently known upcoming ones) in GPX format for use with QLandkarte GT and his Garmin eTrex Legend HCX. It also supports surrounding graticules and has a neat little hack to look up neighbouring (bus, tram, train) stops (this has nothing to do with GPX, OTOH). Check out its documentation, Git repository or information how to use it with QLandkarte GT and let me know any feature requests/bug reports. The hash point data comes from relet's JSON web service, BTW. --Alech 15:07, 18 March 2012 (EDT)