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

    Class Info

    Optional metadata that may be included into each primitive.

    Index

    Constructors

    • Parameters

      • primitiveBlock: PrimitiveBlock

        the primitive block to access keys and values

      • Optionalpbf: PbfReader

        the Protobuf object to read from

      Returns Info

    Properties

    primitiveBlock: PrimitiveBlock

    the primitive block to access keys and values

    Methods

    • Access the time stamp

      Returns undefined | number

      • the time stamp as a number
    • Access the info block's data as a stringifyable JSON object

      Returns InfoBlock

      • the info block
    • Access the user

      Returns undefined | string

      • the user
    • Create an Info object from a dense representation

      Parameters

      • primitiveBlock: PrimitiveBlock

        the primitive block to access keys and values

      • version: number

        the version

      • timestamp: number

        the timestamp

      • changeset: number

        the changeset id

      • uid: number

        the uid

      • userSid: number

        the user who created the object

      • Optionalvisible: boolean

        the visibility flag

      Returns Info

      • the info object