Difference between revisions of "User:Sourcerer/KML tool"

From Geohashing
imported>Sourcerer
m (Tests)
imported>Sourcerer
m (Tests)
Line 21: Line 21:
  
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=0&lon=0&skins=6 Test equator] - Looks OK.
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=0&lon=0&skins=6 Test equator] - Looks OK.
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=0&lon=179&skins=6 Test round the back] - Partial failure but Google Earth does not display the faulty pins.
+
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=0&lon=179&skins=6 Test round the back] - The coordinates are shifted to prevent wrapping at +/- 179.999<sup>o</sup>
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-33&lon=149&skins=6 Australia] - Australia looks OK.
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-33&lon=149&skins=6 Australia] - Australia looks OK.
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=33&lon=-84&skins=6 Atlanta] - Atlanta looks OK.
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=33&lon=-84&skins=6 Atlanta] - Atlanta looks OK.
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=89&lon=-0&skins=6 North pole] - Partial failure but Google Earth does not display the faulty pins.
+
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=89&lon=-0&skins=6 North pole] - The coordinates are shifted to prevent wrapping at +/- 89.999<sup>o</sup>
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-89&lon=179&skins=6 South pole] - Partial failure but Google Earth does not display the faulty pins.
+
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-89&lon=179&skins=6 South pole] - The coordinates are shifted to prevent wrapping at +/- 89.999<sup>o</sup>
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-50&lon=-30&skins=6 -50, -30] - South Georgia and Zavodovski islands look OK either side of 30W.
 
* [http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=-50&lon=-30&skins=6 -50, -30] - South Georgia and Zavodovski islands look OK either side of 30W.
  

Revision as of 23:47, 17 January 2016

This calculator creates a KML file.

If Google Earth or another application that understands this file format is installed, it should launch and display the hashpoints for your specified date and graticule.

Bugs and requests

Please put bugs and requests on the discussion tab.

Sourcerer KML.jpg

Usage

http://nbest.co.uk/kmlGeohash/index.php?date=2008-05-21&lat=52&lon=0&skins=2

  • date - formatted yyyy-mm-dd - the default is today's date.
  • lat - your graticule latitude - the default is 51 (Grenwich London).
  • lon - your graticule longitude - the default is 0 (Grenwich London).
  • skins - like an onion, the number of layers of points surrounding the home point - the default is 1 giving 9 hashpoints - the limits are 0 to 6.

Tests

  • Test equator - Looks OK.
  • Test round the back - The coordinates are shifted to prevent wrapping at +/- 179.999o
  • Australia - Australia looks OK.
  • Atlanta - Atlanta looks OK.
  • North pole - The coordinates are shifted to prevent wrapping at +/- 89.999o
  • South pole - The coordinates are shifted to prevent wrapping at +/- 89.999o
  • -50, -30 - South Georgia and Zavodovski islands look OK either side of 30W.

Source Code

Source Code