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

    Class StringTable

    String table, contains the common strings in each block. Note that we reserve index '0' as a delimiter, so the entry at that index in the table is ALWAYS blank and unused. NOTE: OSM isn't safe and allows " inside of strings, so we have to replace them with ' NOTE: OSM isn't safe and allows \ at the end of strings, so we have to remove them so it can be properly parsed.

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • pbf: PbfReader

        the Protobuf object to read from

      Returns StringTable

    Methods

    • Parameters

      • index: number

        the index of the string

      Returns string

      • the string