Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add H3 hex grid in unmapped areas. #23

Open
jthiller opened this issue Dec 14, 2020 · 0 comments
Open

Add H3 hex grid in unmapped areas. #23

jthiller opened this issue Dec 14, 2020 · 0 comments

Comments

@jthiller
Copy link
Contributor

jthiller commented Dec 14, 2020

Problem: The mappers overlay helps a lot to chart new territory, but it becomes difficult to recognize where distinct hexes might lie just a few spaces from mapped areas. In other words, the mapping benefit of the mappers overlay only helps if there are already mapped hexes in the area.

Solution: Include outlines of empty hexes across the entire map when the community map is enabled.

  • In my experimentation, white hex outlines of 5% opacity felt like enough to hint at hex borders.
  • Mappers data is currently represented in hex res 9 - this additional overlay should match.
  • Hex res 9 will bring devices to their knees when rendered on a zoomed-out map. The hex borders should only be rendered at closer zoom levels. I didn't determine an ideal zoom level in my testing.
    • Edit: Zoom 12 and up seem appropriate to show the grid. Maybe 13 to be safe.
  • Hex overlay appears in conjunction with the mappers data, controlled by the in-app switch.

Figure: crude representation using h3 outlines as an overlay on the cargo app
image

Long term: My understanding is that this overlay is best rendered using h3 and geojson2h3 on the client side. This sets up Cargo to ingest and draw h3 indexes directly in app. This would allow us to reduce the mappers payload by passing h3 indexes with their associated RSSI instead of the rendered polygons for those regions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant