• tekato@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    12 days ago

    You mean the hexagon? What prevents you from mapping your GPS output to a hexagon?

    • brian@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 days ago

      you have to be more specific lol

      just tesselate the world with hexagons and say you’re in a specific one? that doesn’t give precise proximity but does expose your general area.

      this does the opposite, doesn’t expose your general area but let’s you determine if it is close to some other location via an expensive comparison. the precision of proximity isn’t tied to how precise a location/small a hexagon you’re exposing