User:Ekorren/Hash Inquiry Tool

From Geohashing
< User:Ekorren
Revision as of 01:19, 21 February 2009 by imported>Ekorren (New version: Map overview available)

About

Small Hash Inquiry Tool is an online hashpoint calculator, just like many others. So why another one? Simply because I couldn't find one that did exactly what I wanted.

I wanted something that:

  • lists available nearby hashpoints, today and upcoming
  • may be called from a bookmark with saved default values
  • calculates approximate distance and direction
  • includes the globalhash
  • does it all at once, and
  • works on my outdated phone's crappy browser if I'm not at home

So, here it is.

And then I wanted something that:

  • shows all surrounding points at a glance on a map, also including the information from above

So, that one is now here as well.


Usage: List overview

Visit this link and enter your current coordinates and any options applying.

Coordinates are in the D.d format, i.e. like -12.34567.

Options are:

  • Number of points to show: The program calculates up to nine hashpoints per day, namely of the graticule where you are and the eight surrounding. It displays the nearest x of them. Set to zero if you only want to see the fractions and the globalhash.
  • Map link: If selected, a map link is added (no map, just the link).
  • Google dynamic: The standard variant of google maps, will work in most standard browsers but won't work on many phones.
  • Google static: Static maps that should work virtually everywhere. This will take you to a wrapper page where you can switch between different modes and scales.
  • Map size: If you choose static maps, you need to set the map size manually that it fits your screen. The dynamic map resizes itself and ignores this option.
  • Timezone: Leave blank to let the program guess based on your position (which is usually quite accurate), or set to your difference from UTC resp. UTC+1 during DST. This is only used to determine which day it is at your location so you will really get today's coordinates.

The resulting page can be bookmarked and directly called, as all data is included in the address line. You may even shorten the address line by removing all empty options.

Usage: Map overview

As above, visit this link and enter your current coordinates and any options applying. Set the # points field to overview.

The map overview is always based on static google maps, the "map link" field is ignored. The size field is recognized, a recommmendable width would be about 30% of your browser window width. The timezone field is used as above and usually safe to leave empty.

When on the map overview, you can switch between various zoom factors and map modes.

Each resulting page can be bookmarked and called directly from your browsers bookmarks without going through all selections again.

Using the map overview on an old mobile device isn't recommended (but might work somehow nonetheless).

Issues

Well, theoretically there are a number of issues. None of them is really an issue in productive use, though.

No issue: This implementation is 30W and -0 compliant.

  • Distance to globalhash: Calculating distance and bearing gets inaccurate on long distances and very near to the poles, so if the program says that the globalhash is 8192 km in bearing 256°, you better shouldn't take this as a base for a ballistic flight as you probably will miss the spot. You can be sure that the distance is far too long to make it in time by bicycle, anyway.
  • Time zone autoguessing: If it says it's tuesday while your atomic clock's calendar insists on wednesday (or monday), better trust your own calendar. If you activate autoguessing (i.e. leave it blank) this may happen during one hour before or after midnight, in very rare cases a bit longer. If this bothers you, you'll need to set your timezone. And still may run into it because of varying daylight savings time.
  • There's a nearer one than #8 on the list! Well, this can happen. The program includes the own and the eight adjacent graticules. A point two graticules away may often be nearer than the farest in the surrounding graticules, but the nearest one to your location is one of those nine. Of course, there are rare exceptions to every rule. Bonus points if you find them. Double bonus points if you reach one. And don't forget about the MNIMB.
  • Unsupported locations: If your position is within of one degree from a pole, it will blow up your browser. This isn't as dangerous as it sounds because it only applies if the respective pole is a latitude 90 point but not if it's some pointy stick like thing or a person from poland.

Maybe later

  • Formatted output (selectable).
  • Find a name that better suits the program since it isn't really small anymore.
  • Find a way to improve the server installation to get rid of some ridiculous workarounds.

Versions

0.2.0 (2008-11-24): First release

0.2.2 (2008-12-01): Support for static map over wrapper page

0.2.3 (2008-12-02): Timezone support, including autoguessing

0.3.0 (2009-02-20): Map overview