Skip to content

support geojson, wkt polygon input on website#1132

Open
isaacbrodsky wants to merge 2 commits intouber:masterfrom
isaacbrodsky:website-support-wkt
Open

support geojson, wkt polygon input on website#1132
isaacbrodsky wants to merge 2 commits intouber:masterfrom
isaacbrodsky:website-support-wkt

Conversation

@isaacbrodsky
Copy link
Collaborator

Supports pasting polygon geometries into the website. There is a default setting for the polygonToCells operation. It uses centroid containment mode (default) and targets the first resolution that produces 50 cells. We could make this configurable via UI that comes up when this mode is engaged.

This could go well with uber/geojson2h3#43 to support pasting point type geometries

@coveralls
Copy link

Coverage Status

coverage: 99.069%. remained the same
when pulling 48e3ec9 on isaacbrodsky:website-support-wkt
into a9c0a2e on uber:master.

Comment on lines +5489 to +5497
h3-js@4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/h3-js/-/h3-js-4.4.0.tgz#858586205d49fc2b164df8e2d1ab855565ee9e81"
integrity sha512-DvJh07MhGgY2KcC4OeZc8SSyA+ZXpdvoh6uCzGpoKvWtZxJB+g6VXXC1+eWYkaMIsLz7J/ErhOalHCpcs1KYog==

h3-js@^3.6.1:
version "3.7.2"
resolved "https://registry.yarnpkg.com/h3-js/-/h3-js-3.7.2.tgz#61d4feb7bb42868ca9cdb2d5cf9d9dda94f9e5a3"
integrity sha512-LPjlHSwB9zQZrMqKloCZmmmt3yZzIK7nqPcXqwU93zT3TtYG6jP4tZBzAPouxut7lLjdFbMQ75wRBiKfpsnY7w==
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how significant this is, but is it worth waiting on an update to geojson2h3 so that we only need to pull in one version of the h3-js library?

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

Successfully merging this pull request may close these issues.

3 participants