gis-tools-ts - v0.6.0
    Preparing search index...

    Function idPos

    • Given an S2CellID, find the quad tree position [0-4) it's located in

      Parameters

      • id: bigint

        the S2CellID

      Returns bigint

      quad tree position