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

    Interface ToCSVOptions

    User defined options on how to store the features

    interface ToCSVOptions {
        delimiter?: string;
        heightKey?: string;
        latKey?: string;
        lineDelimiter?: string;
        lonKey?: string;
        onFeature?: (feature: VectorFeatures) => VectorFeatures | undefined;
        properties?: string[];
    }
    Index
    delimiter?: string

    The delimiter to use to separate lines [Default=',']

    heightKey?: string

    If provided the lookup for the height value [Default=undefined]

    latKey?: string

    If provided the lookup of the latitude [Default='lat']

    lineDelimiter?: string

    The lineDelimiter to use to separate lines [Default='\n']

    lonKey?: string

    If provided the lookup of the longitude [Default='lon']

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

    handle each feature

    properties?: string[]

    List of parameters to include in the feature