Skip to content

GNIP WM4 Add GeoRSS layers such as Picasa and Youtube feeds

mbertrand edited this page Jan 25, 2012 · 6 revisions

GNIP WM4 - Add GeoRSS layers such as Picasa and Youtube feeds

Overview

Add functionality to display GeoRSS feeds such as Picasa and Youtube as layers on a map.

Proposed by

Matt Bertrand

Assigned to Release

TBD.

State

Rudimentary implementation in WorldMap; needs to be refactored to act more like standard GeoNode map layers.

https://github.com/cga-harvard/geonode-client/blob/master/app/static/script/app/GeoExplorer/PicasaFeedOverlay.js

https://github.com/cga-harvard/geonode-client/blob/master/app/static/script/app/GeoExplorer/YouTubeFeedOverlay.js

Motivation

This feature was present on the original version of AfricaMap and needed to be available in WorldMap.

Proposal

  • Create a new generic GXP extension of LayerSource - GeoRSSSource - that connects to the user submitted URL, and prepares the feed for display via OpenLayers.Layer.WFS and OpenLayers.Format.GeoRSS. It may be also be necessary to create specific LayerSource extensions for Youtube, Picasa, etc in order to customize their display via 'createFeatureFromItem' (to display a thumbnail for each point and when clicked play a video or enlarge a photo for example).

  • Create a widget for users to enter the GeoRSS URL, type (generic, Youtube, Picasa), and perhaps keywords.