MazamaScience/MazamaCoreUtils

switch to geohash for unique identifiers

jonathancallahan opened this issue · 0 comments

I just found out about geohash. The geohashTools package creates short hashes that can be decoded to return the longitude and latitude.

The createLocationID() function should be deprecated in favor of a new createGeohash().

Based on this post, the length parameter should be around 10 to get adequate precision:

  • 9 => 4.8m at equator
  • 10 => 0.6m
  • 11 => 0.15m
  • 12 => 0.02m

This change will impact all of the data archives but maybe not much else. The rest of the code shouldn't care how the deviceDeploymentIdentifier was created.