s2geometry
s2geometry copied to clipboard
Computational geometry and spatial indexing on the sphere
Hi, s2geometry is in Debian, great. However, it fails to build on 2 architectures, and I have no clue what could be wrong, or how to fix it. (This is...
``` ---> Testing s2geometry Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_s2geometry/s2geometry/work/build" && /usr/bin/make test Running tests... /opt/local/bin/ctest --force-new-ctest-process Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_s2geometry/s2geometry/work/build Start 1: encoded_s2cell_id_vector_test 1/110 Test #1: encoded_s2cell_id_vector_test ..................***Failed 0.21 sec Start 2: encoded_s2point_vector_test...
the ssl certificate for https://s2geometry.io/ seems to be invalid: (this is probably due to an incorrect github pages / domain configuration) verified here: https://www.sslshopper.com/ssl-checker.html#hostname=s2geometry.io https://www.ssllabs.com/ssltest/analyze.html?d=s2geometry.io&hideResults=on https://www.geocerts.com/ssl-checker --- --- ---
``` Test project /usr/src/RPM/BUILD/libs2geometry-0.11.0/i586-alt-linux Start 1: encoded_s2cell_id_vector_test 1/110 Test #1: encoded_s2cell_id_vector_test .................. Passed 0.01 sec Start 2: encoded_s2point_vector_test 2/110 Test #2: encoded_s2point_vector_test .................... Passed 0.25 sec Start 3: encoded_s2shape_index_test 3/110...
Hi, the program crashes on the correct data, namely, a call on a very narrow quadrilateral causes a crash and the error: ERROR Edge 1 crosses edge 3. this is...
Unfortunately, there is no meaningful error output, it just fails: ``` [ 3%] Building CXX object CMakeFiles/s2.dir/src/s2/encoded_s2shape_index.cc.o /opt/local/bin/g++-mp-12 -DABSL_MIN_LOG_LEVEL=1 -Ds2_EXPORTS -I/opt/local/libexec/openssl11/include -I/opt/local/var/macports/build/_opt_PPCRosettaPorts_math_s2/s2/work/s2geometry-0.10.0/src -isystem /opt/local/include -pipe -I/opt/local/libexec/openssl11/include -Os -mone-byte-bool -DNDEBUG -I/opt/local/libexec/openssl11/include...
First is caps Second is points Third is points with query only points As we see index contains a lot of smaller count of terms, which is very good Of...
https://github.com/google/s2geometry/blob/master/src/s2/encoded_s2point_vector.h#L131 Access by int, uint32 size_, by size encoded and decoded as size_t So in general s2 cannot handle more than 2^31 - 1 vertices in polyline/polygon :( It looks...