Skip to content

Releases: r-spatial/s2

s2 1.1.2

12 Jan 13:08
Compare
Choose a tag to compare
  • Fixed test for as.data.frame() for s2_cell() to comply with new wk
    version and the latest release of R (#207).
  • Fix unary union of an empty multipolygon (#208).
  • Added #include <cstdint> to an Abseil header to fix compilation with
    gcc13 (#209, #210).
  • Update internal Abseil to 20220623.1 LTS (#213).

s2 1.1.1

18 Nov 14:01
Compare
Choose a tag to compare
  • Fix new CRAN check warnings (#202, #203).

s2 1.1.0

18 Jul 15:03
Compare
Choose a tag to compare
  • Fix for s2 build on Windows with R <= 3.6.x (#142)
  • Fix for s2 build on MacOS with multiple openssl versions (#142, #145, #146)
  • Fix for s2 build on 32-bit openssl (#143, #147)
  • Added s2_convex_hull() and s2_convex_hull_agg() (@spiry34, #150,
    #151, #163).
  • 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 package build on Raspberry Pi (#169, #171).
  • 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).

s2 1.0.7

29 Sep 23:05
Compare
Choose a tag to compare
  • Update the internal copy of s2geometry to use updated Abseil,
    fixing a compiler warning on gcc-11 (#79, #134).

s2 1.0.6

17 Jun 12:03
Compare
Choose a tag to compare
  • Added support for STRICT_R_HEADERS (@eddelbuettel, #118).
  • Fixed a bug where the result of s2_centroid_agg() did not
    behave like a normal point in distance calculations (#119, #121).
  • Fixed a Windows UCRT check failure and updated openssl linking
    (@jeroen, #122).

Version 1.0.5

01 Jun 11:16
Compare
Choose a tag to compare
v1.0.5

Increment version number

Version 1.0.4

05 Jan 13:03
Compare
Choose a tag to compare
v1.0.4

new cran req to encode doi

Version 1.0.3

14 Oct 13:26
Compare
Choose a tag to compare
v1.0.3

update version

Version 1.0.2

03 Aug 14:13
2226e3d
Compare
Choose a tag to compare
Merge pull request #72 from r-spatial/dewey-dev

Fix CRAN check errors, update actions

Version 1.0.1

13 Jul 13:39
Compare
Choose a tag to compare
v1.0.1

change vignette