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

    Interface OsmReaderOptions

    OSM Reader options

    interface OsmReaderOptions {
        addBBox?: boolean;
        removeEmptyNodes?: boolean;
        skipNodes?: boolean;
        skipRelations?: boolean;
        skipWays?: boolean;
        tagFilter?: TagFilter;
        upgradeWaysToAreas?: boolean;
    }
    Index

    Properties

    addBBox?: boolean

    If set to true, add a bbox property to each feature

    removeEmptyNodes?: boolean

    if true, remove nodes that have no tags [Default = true]

    skipNodes?: boolean

    If set to true, nodes will be skipped. [Default = false]

    skipRelations?: boolean

    If set to true, relations will be skipped. [Default = false]

    skipWays?: boolean

    If set to true, ways will be skipped. [Default = false]

    tagFilter?: TagFilter

    If provided, filters of the

    upgradeWaysToAreas?: boolean

    If set to true, ways will be converted to areas if they are closed. NOTE: They are upgraded anyways if the tag "area" is set to "yes". [Default = false]