Difference between revisions of "User:Ekorren/Hash Inquiry Tool"

From Geohashing
imported>Ekorren
(Another way to query today's coordinates.)
 
imported>Ekorren
(New version, now supports maps on crappy phones like mine)
Line 1: Line 1:
 
== About ==
 
== 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. May also be I just didn't search long enough.
+
'''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:
 
I wanted something that:
Line 25: Line 25:
  
 
* Map link: If selected, a map link is added (no map, just the link).
 
* 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: Currently unsupported, this might be used to determine which day it is where you are. By now it runs fixed on CET (UTC+1), see Issues:Time zone
 
* Timezone: Currently unsupported, this might be used to determine which day it is where you are. By now it runs fixed on CET (UTC+1), see Issues:Time zone
  
The resulting page can be bookmarked and directly called.
+
The resulting page can be bookmarked and directly called, as all data is included in the address line.
  
 
== Issues ==
 
== Issues ==
Line 36: Line 40:
 
* '''Distance to globalhash:''' Calculating distance and bearing gets inaccurate on long distances and 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.
 
* '''Distance to globalhash:''' Calculating distance and bearing gets inaccurate on long distances and 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 issues:''' If it says it's tuesday while your atomic clock's calendar insists on wednesday (or monday), better trust your own calendar. This is a known issue and usually just means that, for some reason, you're not living on Central European Time. The results will be fine, just what the program calls "today" and "tomorrow" may be a bit different from as you know it. East of appr. E 15° it may happen that coordinates of the running day are no more shown in the evening.
+
* '''Time zone issues:''' If it says it's tuesday while your atomic clock's calendar insists on wednesday (or monday), better trust your own calendar. This is a known issue and usually just means that, for some reason, you're not living on Central European Time. The results will be fine, just what the program calls "today" and "tomorrow" may be a bit different from as you know it. East of appr. E 15° it may happen that coordinates of the running day are no more shown in the evening. A version with timezone support will come.
  
* '''There's a nearer one!''' Well, this can happen. The program only 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 will be included in the output. Insignificant exceptions apply. Bonus points if you find them.
+
* '''There's a nearer one!''' Well, this can happen. The program only 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 will be included in the output. Insignificant exceptions apply. Bonus points if you find them. Double bonus points if you reach one.
  
* '''Partly supported locations:''' If you feed the program specially designed test cases instead of true locations, you may find some where only six different hashpoints appear in the list. This usually doesn't happen with real locations, and it doesn't stop the program from finding the nearest one. Minus points if you call them significant.
+
* '''Partly supported locations:''' If you feed the program specially designed test cases instead of true locations, you may find some where only six different hashpoints appear in the list instead of nine. This usually doesn't happen with real locations, and it doesn't stop the program from finding the nearest one. Bonus points if you find them. Minus points if you call them significant.
  
 
* '''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.
 
* '''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.
Line 54: Line 58:
 
* Find a way to improve the server installation to get rid of some ridiculous workarounds.
 
* Find a way to improve the server installation to get rid of some ridiculous workarounds.
  
* Find an online map service that works with my phone
+
== Versions ==
 +
 
 +
0.2.0 (2008-11-24): First release
 +
 
 +
0.2.2 (2008-12-01): Support for static map over wrapper page

Revision as of 17:01, 1 December 2008

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.

Usage

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: Currently unsupported, this might be used to determine which day it is where you are. By now it runs fixed on CET (UTC+1), see Issues:Time zone

The resulting page can be bookmarked and directly called, as all data is included in the address line.

Issues

Advance note: This implementation is W30 and -0 compliant.

  • Distance to globalhash: Calculating distance and bearing gets inaccurate on long distances and 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 issues: If it says it's tuesday while your atomic clock's calendar insists on wednesday (or monday), better trust your own calendar. This is a known issue and usually just means that, for some reason, you're not living on Central European Time. The results will be fine, just what the program calls "today" and "tomorrow" may be a bit different from as you know it. East of appr. E 15° it may happen that coordinates of the running day are no more shown in the evening. A version with timezone support will come.
  • There's a nearer one! Well, this can happen. The program only 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 will be included in the output. Insignificant exceptions apply. Bonus points if you find them. Double bonus points if you reach one.
  • Partly supported locations: If you feed the program specially designed test cases instead of true locations, you may find some where only six different hashpoints appear in the list instead of nine. This usually doesn't happen with real locations, and it doesn't stop the program from finding the nearest one. Bonus points if you find them. Minus points if you call them significant.
  • 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

  • A version that includes timezone support.
  • 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