:author: Adam Liddell :description: Annotated source code of the the s2cell implementation of the S2 cell coordinate system :keywords: S2, S2 Geometry, s2cell, Python, source, code .. _sec_annotated_source: Annotated Source ================ The single source file for the library contains many comments on the inner workings of the S2 cell system that are useful for understanding the steps to convert from one representation to another. The full source of the library is included below. .. literalinclude:: ../s2cell/s2cell.py :language: python3 :lines: 22-