s2geometry icon indicating copy to clipboard operation
s2geometry copied to clipboard

Computational geometry and spatial indexing on the sphere

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

Hi! I am trying to install s2geometry in my ubuntu 16.04 machine with python3.7 and I keep getting the follow error after executing the following: ```` cmake -DPYTHON_EXECUTABLE=/usr/bin/python3.7 .. &&...

python

The `base/integral_types.h` file defines a number of fixed-width integral types by typedef-ing them to (theoretically) variable-width types. This PR replaces the local types with the common fixed-width types throughout the...

Hey. According to http://s2geometry.io/devguide/s2cell_hierarchy GetCovering/GetInteriorCovering should return S2CellUnions... in Python however they return a tuple (of S2CelIIds). Is this intended? Cheers, Chris.

python

On linux (ubuntu, or more specifically the python3 official docker image), the instructions for building and installing the library for use with python (swig) fail when you actually try to...

python

I was able to install s2gemoetry, however, when I tried importing it into python I received a module not found error. When I went to the python directory s2geometry/build/python it...

python

Hi, we included s2geometry as one of the dependencies for our project. To reduce the building time (and complexity) of s2geometry, we want to make some building parts optional and...

python

Is there a way to clip a great circle arc to a cell? I see two potential approaches. 1. Use `S2::GetIntersection` to find intersections between cell edges and the arc....

I have a need to iterate over every cell within a region using `GetInteriorCovering` and `GetCovering`. I don't need the minimal cell set. Using the existing `GetInteriorCovering` and `GetCovering` functions...

The `S2CellId::pos()` method returns a cell id as number 0..2^61 of all the level-30 cells on a face of the cube. Sometimes, though, we would like to know the cell...

When building and running on an arm64 (v8.2 snapdragon 845) with gcc 8.3.0, I have the following segfault. Here's the output from valgrind: ``` ==14080== Invalid read of size 8...