Skip to content

Temporal Filtering Support for Vector and Raster Downloads #12862

Description

@dsuren1

Description

MapStore currently does not support temporal filtering when downloading vector or raster data.

GeoServer provides temporal filtering capabilities that can be leveraged to address this limitation:

  • Vector downloads: GeoServer supports temporal filtering for WFS downloads using OGC Filters.

  • Raster downloads: GeoServer WPS gs:Download supports filtering ImageMosaic granules by time:

    • For a specific timestamp, TIFF and ArcGrid formats can be used.
    • For a time range matching multiple granules, NetCDF (application/x-netcdf) can be used to download the resulting multidimensional dataset. Note: NetCDF output requires the wps-download-netcdf and netcdf-out GeoServer extensions to be installed.

Acceptance criteria

Vector

  • Identify the date/time attribute for vector sources.
  • Support temporal filtering in WFS using OGC Filters.
  • Support temporal filtering in WPS gs:Download using the filter parameter.
  • Preserve existing spatial and attribute filtering.

Raster

  • Support temporal filtering in WPS gs:Download using the filter parameter.
  • Fetch the raster time attribute from the layer's coverage resource when required.
  • If a WPS request already contains a time parameter, pass it through unchanged.
  • If no time parameter exists, fall back to resolving the time attribute from the layer's dimension configuration and build the filter.
  • Display supported formats based on the temporal filter:
    • Single timestamp: TIFF / ArcGrid.
    • Time range: NetCDF where supported.

UI

  • Update the download workflow and options based on the selected raster implementation and temporal filter.
  • Preserve backward compatibility with the existing download workflow.
  • Update i18n for all new UI elements.

Other useful information

Security vulnerabilities

Do not report security vulnerabilities in public issues.

If you believe you have found a vulnerability in MapStore, please use GitHub private vulnerability reporting or contact the security address listed in SECURITY.md.

Activity

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

Metadata

Metadata

Assignees

Labels

New Featureused for new functionalities

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions