Skip to content

Need ability to set constraints on queries set to geoservers. #17

Open
@desean1625

Description

@desean1625

Some sources get upset if you ask for 2 years of data rasterized.

We need to set constraints based on the url source.

These might be
only allow queries a Z zoom level for more
only allow time queries if the timespan is less than X days (unless there is a query filter set)

These need to be configurable based on the geoserver, maybe even layer specific
https://github.com/spectriclabs/kibana_acecard_external_map_services/blob/main/common/config.ts

The settings need to be exposed to the clientside

Then applied by the source when creating the url template

async getUrlTemplate(dataFilters: SourceRequestMeta): Promise<string> {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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