The gist of this is pretty straight forward, even if the implementation isn't...
I want to get the outside edges of a hexRing
, as opposed to all edges of the hexagons. Pretty much creating a single polygon from the outside edge of the ring encompassing everything inside of it. Currently we can use geojson2h3.h3SetToFeature()
which uses h3SetToMultiPolygon()
to create that polygon.
This looks like:
HexRingPolygon:
Instead, I want to get just the outside edge, which would look like the following:
Outside Edges:
To achieve just an outside border, I'm currently using kRing()
, however, the performance characteristics of this become unusable on mobile devices in a variety of scenarios due to the number of hexagons contained in that region. Where as a hexRing()
would have a minimal number of hexagons to work with.
How can I achieve this?