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

    Class HeaderBBox

    The bounding box field in the OSM header. BBOX, as used in the OSM header. Units are always in nanodegrees -- they do not obey granularity rules.

    Index

    Methods

    • Read the header block's contents into an object

      Parameters

      • tag: number

        the tag of the message

      • bbox: HeaderBBox

        the bbox object to modify

      • pbf: PbfReader

        the Protobuf object to read from

      Returns void

    • Returns the bounding box as a [left, bottom, right, top] array

      Returns [left: number, bottom: number, right: number, top: number]

      • [left, bottom, right, top]