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

The S2 library as far as I understand is concerned only with geometry on the unit sphere and is agnostic as to how one arrives there from the 3D geometry...

These 3 commits will silence some verbose warnings we see with MSVC.

First off, thanks for the great library! It has been a joy to use! My issue is that it was difficult getting S2 to work with my project due to...

It would be great if wheels were built for python and pushed to pypi. This gets part of the way there. Thoughts? How else can I contribute towards this?

Please take a look at the current changes and let me know if they are something you like. If so I'll continue to work on my branch. This PR should...

Hello, My project depends on s2geometry, but now that abseil was made [external](https://github.com/google/s2geometry/commit/d10e042b9316369c3eefa4c14774d35c8ddb66b1) I can't compile anymore. Indeed in my CMakeLists.txt I added add_subdirectory(third-party/abseil) before add_subdirectory(third-party/s2geometry) but s2 complained that...

s2geometry is available as a port in [vcpkg](https://github.com/microsoft/vcpkg), a C++ library manager that simplifies installation for s2geometry and other project dependencies. Documenting the install process here will help users get...

Hi, there is -Warray-bound warning. It appears when compile with gcc13 and `-Wall -O2`. warning: ``` In file included from /home/qemu_ved/libs2geometry-0.11.1/src/s2/r2.h:22, from /home/qemu_ved/libs2geometry-0.11.1/src/s2/s2edge_clipping.h:37, from /home/qemu_ved/libs2geometry-0.11.1/src/s2/s2edge_clipping.cc:18: In member function ‘T util::math::internal_vector::BasicVector::operator[](int)...

Hi, when compile with -O2 and -flto=auto fails 5 tests. The following tests FAILED: 31 - s2cell_index_test (Subprocess aborted) 33 - s2cell_iterator_testing_test (Failed) 35 - s2cell_union_test (Failed) 75 - s2point_index_test...

Hello, I'm having some issues using the S2Builder to correct input geometry. The input is as follows (in e6 lat/lng, the input has repeated terminal point and can be oriented...