Closed j-harbin closed 2 years ago
You might want to see why it says NA for the reason. It ought to be displaying a more useful message. If I recall correctly, we were using a function to look up the error but maybe that's being done incorrectly.
Done in commit 44a5e8d5aa6d7bd626c48f4e336582d7b8ee75fc of develop.
As shown below, if the user does the following, we get an error:
Created on 2022-04-28 by the reprex package (v2.0.1)
This is really because if a user only gives two points for a polygon, it's just a line and not possible for the polygon method to work as nothing is "inside" of the polygon.