Skip to content

Commit

Permalink
correct version check
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Oct 4, 2024
1 parent dcc82d7 commit de19f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using namespace spherely;

PyObjectGeography from_wkt(py::str a, bool oriented, bool planar) {
#if defined(S2GEOGRAPHY_VERSION_MAJOR) && \
(S2GEOGRAPHY_VERSION_MAJOR >= 0 || S2GEOGRAPHY_VERSION_MINOR >= 2)
(S2GEOGRAPHY_VERSION_MAJOR >= 1 || S2GEOGRAPHY_VERSION_MINOR >= 2)
s2geog::geoarrow::ImportOptions options;
options.set_oriented(oriented);
if (planar) {
Expand Down

0 comments on commit de19f0e

Please sign in to comment.