You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added max_distance argument to s2_closest_edges(), making
distance-constrained k-nearest neighbours possible (#125, #156, #162).
Added a spherical s2_point_on_surface() implementation for polygons
(@kylebutts, #152, #161)
Added a s2_cell_union() vector class to represent cell coverings and
operators to generate them from an s2 geography vector (e.g., s2_covering_cell_ids()). Cell unions are useful as compact representations
of spherical geometry and can be used like a bounding box to determine
a possible intersection with one or more geographies (#85, #94, #164).
Refactored the simple features compatability layer into a standalone
code base for potential future use in a Python adaptation (#165).
Migrate input and output to non-deprecated wk package handlers and writers
(#101, #165, #168).
Make s2_union_agg() more efficient using a recursive merge strategy
(#103, #165).
Fix warning on clang14 when compiling with -O0 (#167, #172).
Added s2_prepared_dwithin() and fixed s2_dwithin_matrix() such that it
efficiently uses the index (#157, #174).
Updated s2_lnglat() and s2_point() to use wk::xy() (a record-style
vctr) to represent point coordinates. This is much faster than the previous
representation which relied on list() of external pointers (#181, #159).
Added arguments planar and tessellate_tol_m to s2_as_text(), s2_as_binary(). Use planar = TRUE and set tessellate_tol_m to the
maximum error for your use-case to automatically subdivide edges to
preserve or "straight" lines in Plate carree projection on import (#182).
Added arguments planar and tessellate_tol_m to s2_geog_from_text(), and s2_geog_from_wkb(). Use planar = TRUE and set tessellate_tol_m to the
maximum error for your use-case to automatically subdivide edges to
ensure or "straight" lines in Plate carree projection on export (#182).