Skip to content

Enable non-contiguous enumerations #506

@joffreypeters

Description

@joffreypeters

Description
The current enumeration legend styling assumes a contiguous enumeration from min to max of the enumeration values. There are datasets with non-contiguous enumerations which end up with "dead space" values in their legends from this choice.

Describe the solution you'd like

Change the enumeration legend in core/style to generate a list of enumeration values rather than creating a range from min to max.

Additional context
Here's a non-contiguous USCS soils legend, showing a bunch of "black" values in the non-contiguous region:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions