s2geometry icon indicating copy to clipboard operation
s2geometry copied to clipboard

Computational geometry and spatial indexing on the sphere

Results 80 s2geometry issues
Sort by recently updated
recently updated
newest added

eg. In s2shape_index.h: ``` enum InitialPosition { BEGIN, END, UNPOSITIONED }; ``` Such an enum name like `BEGIN` is very common, so it is easy to have the same name...

hi, I want to work with s2 as python lib. OS: Centos7.9, python3.8.5 I ran: cd /opt git clone https://github.com/google/s2geometry.git cd s2geometry mkdir build && cd build cmake -DWITH_PYTHON=ON .....

I raised a previous issue where I was unable to install the S2 library because of a missing gtest.h file. I omitted that file from the folder just to try...

This patch replaces various constructs that were deprecated in C++17 and removed in C++20 with their C++20 counterparts. With this patch, s2geometry can be compiled with gcc 10.

Added `CMAKE_INSTALL_PYLIBDIR` cached variable. Default value retrivet from `Python3_EXECUTABLE`. Current install destination `Python3_SITELIB` (absolute path from `FindPython3` module). An absolute path is not acceptable when creating an installation package.

These minor changes makes the library compile with MINGW on my machine. Some changes may be obsolete if PR #58 is merged at some point.

There are uses of a few deprecated things like std::iterator and std::is_pod. Remove these.

I have a use case of calculating a new polyline with will be obtained my doing A - B operation where A is a polyline and B is a region...