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

Handle when DGGS cell returned is larger than the polygon #13

Open
jyucsiro opened this issue Jun 14, 2020 · 0 comments
Open

Handle when DGGS cell returned is larger than the polygon #13

jyucsiro opened this issue Jun 14, 2020 · 0 comments

Comments

@jyucsiro
Copy link
Contributor

When the DGGS resolution is set to a coarse resolution (e.g. 3-5) and auspixdggs.callablemodules.dggs_in_poly_for_geojson_callable is used, depending on the input polygon, the result returned is empty. This is due to the way that the function looks at the centroid of the returned cell and evaluating if it is in the target polygon (which may be off-center).

In this situation, should the result be empty? or should it match the DGGS cell?

bellie888 pushed a commit that referenced this issue Jun 30, 2020
…ctions

moving functions to util directory, and pass the test cases
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