prorm API Reference
    Preparing search index...

    Interface GeoJSONOptions

    Options for GeoJSON input/output

    interface GeoJSONOptions {
        asGeoJSON?: boolean;
        fromGeoJSON?: boolean;
        srid?: number;
        type?: GeometryType;
    }
    Index
    asGeoJSON?: boolean

    Output as GeoJSON

    fromGeoJSON?: boolean

    Input is GeoJSON

    srid?: number

    SRID for the geometry (default: 4326 for WGS84)

    Geometry type if creating