I have polygons that define the outline of counties in the UK. These forms are very detailed (from 10 to 20 thousand points each), which makes the associated calculations (point X in the polygon P?) Quite computationally expensive.
Thus, I would like to βselectβ my polygons to get a similar shape, but with fewer points. What are the different methods for doing this?
It would be trivial to take every point N (thus, sub-sampling by a factor of N ), but this seems too "rude". I would rather do some averaging of points or something like that. Any pointer?
language-agnostic algorithm polygon 2d
Wookai
source share