GeoLeaf Core API - v3.0.0
    Preparing search index...

    A named, reusable taxonomy: the column it reads (categoryField, required) plus a direct value → symbol table. Referenced by one or more layers.

    interface TaxonomyDef {
        categoryField: string;
        subCategoryField?: string;
        categories: Record<string, TaxonomyCategory>;
        fieldMappings?: TaxonomyFieldMappings;
    }
    Index

    Properties

    categoryField: string

    Feature property holding the category value (required — explicit binding).

    subCategoryField?: string

    Optional feature property holding the sub-category value.

    categories: Record<string, TaxonomyCategory>

    Direct value → symbol table.

    fieldMappings?: TaxonomyFieldMappings

    Optional raw-value → category/sub-category translation table (grouped by feature field), for legend style rules keyed on a raw source attribute rather than the resolved categoryField. Consumed by the legend generator.