I am currently trying to use the GEOS library in C++ to simplify maps. The goal is to simplify the borders by reducing the number of points. This is how I tried to do it: I