Simple Redis Module for geospatial queries, which utilizes S2 Region Coverer algorithm for indexing. Allows point with polygon and polygon with polygon overlap tests in constant time.
cmake -DABSL_PATH=../absl -DCMAKE_CXX_STANDARD=17 -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) ..
-- Populating googletest
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/username/dev/projects/redis-s2geo/googletest-subbuild
[100%] Built target googletest-populate
-- The following features have been enabled:
SHARED_LIBS, builds shared libraries instead of static.
-- The following REQUIRED packages have been found:
OpenSSL
-- The following features have been disabled:
PYTHON, provides python interface to S2
S2_USE_SYSTEM_INCLUDES, Silence warnings in s2 headers by marking them as SYSTEM includes.
CMake Error at _deps/s2-src/CMakeLists.txt:474 (message):
BUILD_TESTS requires GOOGLETEST_ROOT
googletest update has breaking changes: https://github.com/google/googletest
output from build on macosx 14.4.1:
cmake -DABSL_PATH=../absl -DCMAKE_CXX_STANDARD=17 -DOPENSSL_ROOT_DIR=$(brew --prefix openssl) .. -- Populating googletest -- Configuring done (0.0s) -- Generating done (0.0s) -- Build files have been written to: /Users/username/dev/projects/redis-s2geo/googletest-subbuild [100%] Built target googletest-populate -- The following features have been enabled:
-- The following REQUIRED packages have been found:
-- The following features have been disabled:
CMake Error at _deps/s2-src/CMakeLists.txt:474 (message): BUILD_TESTS requires GOOGLETEST_ROOT
-- Configuring incomplete, errors occurred!