Skip to content

Allow WFS search channels to set region based on property #280

@jampukka

Description

@jampukka

Currently single fixed value can be configured as the value for region per WFS search channel (https://github.com/oskariorg/oskari-server/blob/2.8.1/service-search-wfs/src/main/java/fi/nls/oskari/search/channel/WFSSearchChannel.java#L112). We should extend this to allow admin to configure a property to be used for extracting region from a Feature.

In addition I propose we allow providing simple (possibly even localized in the future) mapping configuration to optionally alter the value. This could be used to for example map municipality codes (091) to human readable region names (Helsinki).

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