GeoRSS is an evolving standard for embedding location information in news feeds . The name of the standard comes from a common and recognizable format of news feeds - RSS .
| Georss | |
|---|---|
| Expansion | . .rss , .xml |
| MIME type | application / rss + xml (in preparation for registration) [1] |
| Format type | |
| Expanded from | XML |
| Site | |
In the GeoRSS standard, location information consists of geographical points, lines, and polygons, as well as descriptions of the corresponding features. GeoRSS tapes are designed to be usable in geography-related software such as map generators.
Currently, work has been completed on two main storage methods called GeoRSS Geography Markup Language (GML) and GeoRSS Simple. GeoRSS Simple is a lightweight format that supports basic geometric primitives (points, lines, polygons) and provides typical location coding scenarios. GeoRSS GML supports more functions than GeoRSS Simple, in particular, coordinate systems other than normal latitude / longitude . There is also a partially obsolete, but still widely used standard from W3C.
GeoRSS can be used both in RSS 1.0 / 2.0 and in Atom feeds.
Content
Examples
An example of GeoRSS Simple in an Atom feed:
<? xml version = "1.0" encoding = "utf-8"?>
<feed xmlns = "http://www.w3.org/2005/Atom"
xmlns: georss = "http://www.georss.org/georss" >
<title> Earthquakes </title>
<subtitle> International Earthquake Observation Laboratory </subtitle>
<link href = "http://example.org/" />
<updated> 2005-12-13T18: 30: 02Z </updated>
<author>
<name> Prof. Aisi Wiener </name>
<email> tremor@quakelab.edu </email>
</author>
<id> urn: uuid: 60a76c80-d399-11d9-b93C-0003939e0af6 </id>
<entry>
<title> House 3, st. Peace </title>
<link href = "http://example.org/2005/09/09/atom01" />
<id> urn: uuid: 1225c695-cfb8-4ebb-aaaa-80da344efa6a </id>
<updated> 2005-08-17T07: 02: 32Z </updated>
<summary> We had a big boom here. </summary>
<georss: point> 45.256 -71.92 </ georss: point>
</entry>
</feed>
GeoRSS GML snippet in RSS 2.0:
<? xml version = "1.0" encoding = "UTF-8"?>
<rss version = "2.0"
xmlns: georss = "http://www.georss.org/georss"
xmlns: gml = "http://www.opengis.net/gml" >
<channel>
<link> http://maps.google.com </link>
<title> Outskirts of Morozovka </title>
<description> Description of the outskirts of the village of Morozovka, New Year’s Region </description>
<item>
<guid isPermaLink = "false" > 00000111c36421c1321d3 </guid>
<pubDate> Thu, 05 Apr 2007 20:16:31 +0000 </pubDate>
<title> Potato field </title>
<description> The most delicious potato in Morozovka is grown here. </description>
<author> rajrsingh </author>
<gml: Polygon>
<gml: exterior>
<gml: LinearRing>
<gml: posList>
-71.106216 42.366661
-71.105576 42.367104
-71.104378 42.367134
-71.103729 42.366249
-71.098793 42.363331
-71.101028 42.362541
-71.106865 42.366123
-71.106216 42.366661
</ gml: posList>
</ gml: LinearRing>
</ gml: exterior>
</ gml: Polygon>
</item>
<item>
<guid isPermaLink = "false" > 00000111c365564928974 </guid>
<pubDate> Thu, 05 Apr 2007 20:17:50 +0000 </pubDate>
<title> Cattle Farm </title>
<description> Production at this farm peaked in 2003. </description>
<author> rajrsingh </author>
<gml: Polygon>
<Snip and end fragment >
W3C GeoRSS Example:
<? xml version = "1.0"?>
<? xml-stylesheet href = "/ eqcenter / catalogs / rssxsl.php? feed = eqs7day-M5.xml" type = "text / xsl"
media = "screen"?>
<rss version = "2.0"
xmlns: geo = "http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns: dc = "http://purl.org/dc/elements/1.1/" >
<channel>
<title> Noticeable Earthquakes </title>
<description> Real-time updated earthquake list for the last 7 days </description>
<link> http://earthquake.usgs.gov/eqcenter/ </link>
<dc: publisher> US Geological Survey </ dc: publisher>
<pubDate> Thu, 27 Dec 2007 23:56:15 PST </pubDate>
<item>
<pubDate> Fri, 28 Dec 2007 05:24:17 GMT </pubDate>
<title> M 5.3, pos. Polyanka, Ukraine </title>
<description> December 28, 2007 05:24:17 GMT </description>
<link> http://earthquake.usgs.gov/eqcenter/recenteqsww/Quakes/us2007llai.php </link>
<geo: lat> 5.5319 </ geo: lat>
<geo: long> 95.8972 </ geo: long>
</item>
</channel>
</rss>
See also
- Atom is an XML-based news feed format.
- RSS - Really Simple Syndication.
Notes
- ↑ MIME type application / rss + xml . Network Working Group (May 22, 2006). Date of treatment August 16, 2007. Archived April 23, 2012.
Links
- georss.org , a site with GeoRSS specifications (describes all three options) and examples
- Last Accidents in the World on GeoRSS , an example of using GeoRSS.