1

Given a set of x's (latitude) and y's (longitude), I would like to be able to assign (hash) them to their corresponding hexagonal cells, which would cover all points within that set. How would I go about doing that in Java or C?

This is close to what I'd like to do, but not in Python, plus I'm not necessarily interested in graphical representation.

Community
  • 1
  • 1
Xpl0
  • 75
  • 5
  • 1
    Here is example of building hexagonal grid over rectangle (in your case bounding rectangle of all points): http://stackoverflow.com/questions/36876288/calculate-size-of-hexagons-to-fit-inside-rectangle/36881620#36881620 – MBo Feb 18 '17 at 10:49

0 Answers0