helium / mappers

Mappers Frontend and API
Apache License 2.0
67 stars 26 forks source link

Calculate distances for uplinks #42

Closed jthiller closed 3 years ago

jthiller commented 3 years ago

For each uplink, calculate the distance from the center of the res9 mapped hex to the center of the res8 hex for the hotspot.

If the res8 mapped hex is within the res9 hotspot hex, return null. If the hotspot has no asserted location or is 0,0 also return null.

Edit: hotspots without asserted location will not be in the dataset