Presentation is loading. Please wait.

Presentation is loading. Please wait.

GeoRSS and Webmaps. Really Simple Syndication Specification name of the FEED creator's name 2011 unique item 2008-02-01 can.

Similar presentations


Presentation on theme: "GeoRSS and Webmaps. Really Simple Syndication Specification name of the FEED creator's name 2011 unique item 2008-02-01 can."— Presentation transcript:

1 GeoRSS and Webmaps

2 Really Simple Syndication

3 Specification name of the FEED http://www.your.com/FEED creator's name 2011 unique item 2008-02-01 can be done in the popup]]> http://URI.to.your.com/ITEM_HANDLE 36.75 127.75

4 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", "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); var newl = new OpenLayers.Layer.GeoRSS( 'local GeoRSS', 'news.xml'); map.addLayer(newl); } sample >

5 OpenLayers Map Interface

6 Google Map Interface http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers

7 Generating GeoRSS Feeds 1) query database and serialize results to GeoRSS 2) parse or transform existing metadata repository to generate GeoRSS

8 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 (http://validator.w3.org/) 3) check your feed in various browsers 4) validate the GeoRSS in OpenLayers (http://openlayers.org/dev/examples/georss.html)

9 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


Download ppt "GeoRSS and Webmaps. Really Simple Syndication Specification name of the FEED creator's name 2011 unique item 2008-02-01 can."

Similar presentations


Ads by Google