Changelog

1.6.0

  • Dropped support for Python 3.6

  • Fixed token_is_valid() accepting some invalid tokens

1.5.0

  • Moved main source out of __init__.py

  • Moved docs hosting to Read the Docs

  • Updated docs to improve readability

1.4.0

  • Removed dependency on NumPy and improved performance

1.3.0

  • Added cell_id_to_parent_cell_id() and token_to_parent_token()

  • Added custom exception types for invalid cell IDs and tokens

  • Tidied docs generation

1.2.0

  • Added token and cell ID validation functions cell_id_is_valid() and token_is_valid()

  • Added token_to_canonical_token()

  • Added S2 Concepts page to docs

1.1.1

  • Extracted _s2_face_uv_to_xyz() to a separate function

  • Added documentation

  • Updated dependencies

  • Removed Python 3.5 support

1.1.0

  • Added cell_id_to_token() and token_to_cell_id()

  • Added cell_id_to_level() and token_to_level()

  • Added checks for invalid face bits when decoding a cell ID

  • Tidied more of the comments and README

  • Compressed the S2 reference test suite files to allow more test points in a similar file size

1.0.0

  • Initial release of s2cell