Skip to content

Auto-updating LEO feed on Cesium maps #2698

@robyngit

Description

@robyngit

The first view one sees when landing on the PDG map is a static list of highlighted communities. A curated, always-fresh feed of LEO Network permafrost posts would better demonstrate that the PDG is active and monitoring permafrost change. This feature could also be useful for other portals to use for their own LEO topic-specific feeds.

To accomplish this, we could create a new section for the the ToolbarView that fetches and displays recent posts from a given LEO collection.

  • This section could potentially be an extension of the ViewfinderView
  • It should be configurable in the MapConfig whether to show or hide this section
  • We should allow configuration of the feed URL, so that other portals can point to their own curated collections. Maybe also make the number of posts displayed configurable.
  • The view will need to be able to:
    • Fetch a GeoJSON feed
    • Parse the features (title, summary, date, thumbnail, coordinates, id).
    • Show the N most recent posts, potentially re-using the layout of the ViewfinderView list, but with additional information:
      • relative date, optional thumbnail, link to full post on LEO
  • When the feed is empty or unavailable, the view

We will either need to create a new layer on the map with the features from the collection, or come up with a generic way to match the collection features to an existing leo-network layer.

Example of a curated map: https://leonetwork.org/en/lists/show/A54B4AEA-21F9-4162-AEB7-AFE930C0D4E4, and the associated GeoJSON feed: https://leonetwork.org/en/lists/geojson/A54B4AEA-21F9-4162-AEB7-AFE930C0D4E4.
The link back to the post can be derived from the id field in the GeoJSON: https://www.leonetwork.org/posts/show/{id}

Metadata

Metadata

Assignees

Labels

ADC CI-16Geospatial search improvements (ADC deliverable)arctic data centercesiumpdgPermafrost Discovery GatewayportalsAnything related to portals

Projects

Status

No status

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions