Type alias CreateGeoJsonAnalyzerOptions

CreateGeoJsonAnalyzerOptions: CreateAnalyzerOptionsType<"geojson", {
    options?: {
        maxCells?: number;
        maxLevel?: number;
        minLevel?: number;
    };
    type?: GeoType;
}>

Options for creating a GeoJSON Analyzer

Type declaration

  • Optional options?: {
        maxCells?: number;
        maxLevel?: number;
        minLevel?: number;
    }

    Options for fine-tuning geo queries.

    Default: { maxCells: 20, minLevel: 4, maxLevel: 23 }

    • Optional maxCells?: number
    • Optional maxLevel?: number
    • Optional minLevel?: number
  • Optional type?: GeoType

    If set to "centroid", only the centroid of the input geometry will be computed and indexed.

    If set to "point" only GeoJSON objects of type Point will be indexed and all other geometry types will be ignored.

    Default: "shape"