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

    Interface ToJSONOptions

    User defined options on how to store the features

    interface ToJSONOptions {
        buildBBox?: boolean;
        geojson?: boolean;
        onFeature?: (feature: VectorFeatures) => undefined | VectorFeatures;
        projection?: Projection;
    }
    Index

    Properties

    buildBBox?: boolean

    add a bounding box

    geojson?: boolean

    to store as a FeatureCollection / Feature where the m-value is dropped and [x, y, z] instead of { x, y, z } for each Point

    onFeature?: (feature: VectorFeatures) => undefined | VectorFeatures

    handle each feature

    projection?: Projection

    S2 or WG