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

    Function idParentLevel

    • given an id and level, return the id of the parent level

      Parameters

      • id: bigint

        the S2CellID

      • level: bigint

        zoom level

      Returns bigint

      • the parent of the input S2CellID