GeoRSS and Webmaps
Really Simple Syndication
Specification name of the FEED creator's name 2011 unique item can be done in the popup]]>
Reading GeoRSS in Webmaps GeoRSS Example #map {width: 512px; height: 512px; border: 1px solid black;} var map, markers, layer; function init(){ map = new OpenLayers.Map('map', {controls: [new OpenLayers.Control.PanZoomBar()]}); var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", " {layers: 'basic'} ); var newl = new OpenLayers.Layer.GeoRSS( 'local GeoRSS', 'news.xml'); map.addLayer(newl); } sample >
OpenLayers Map Interface
Google Map Interface
Generating GeoRSS Feeds 1) query database and serialize results to GeoRSS 2) parse or transform existing metadata repository to generate GeoRSS
Validating GeoRSS Feeds 1) be careful to escape (or delete from feed) special characters! some diacritic marks & reserved characters will throw errors 2) validate your content as clean XML first ( 3) check your feed in various browsers 4) validate the GeoRSS in OpenLayers (
Pros and Cons Lightweight Easy to Automate Easy to Aggregate W3C Standard Webmap Providers Adopt OGC & Standards Adopt Web 2.0 Generic API for users Feeds abbreviated Webmaps choke on qty Feeds Load in Client OpenLayers -> Vector