Jump to content
Wikipedia The Free Encyclopedia

GeoRSS

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by MrOllie (talk | contribs) at 04:21, 9 January 2022 (Examples of GeoRSS Implementations: rm linkfarm). The present address (URL) is a permanent link to this version.

Revision as of 04:21, 9 January 2022 by MrOllie (talk | contribs) (Examples of GeoRSS Implementations: rm linkfarm)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Specification for encoding location as part of a Web feed
GeoRSS
Filename extension
.rss, .xml
Internet media type application/rss+xml (Registration Being Prepared)[1]
Extended fromXML

GeoRSS is a specification for encoding location as part of a Web feed. (Web feeds are used to describe feeds ("channels") of content, such as news articles, Audio blogs, video blogs and text blog entries. These web feeds are rendered by programs such as aggregators and web browsers.) The name "GeoRSS" is derived from RSS, the most known Web feed and syndication format.

In GeoRSS, location content consists of geographical points, lines, and polygons of interest and related feature descriptions. GeoRSS feeds are designed to be consumed by geographic software such as map generators. By building these encodings on a common information model, the GeoRSS collaboration is promoting interoperability and "upwards-compatibility" across encodings.

At this point, the GeoRSS collaboration has completed work on two primary encodings that are called GeoRSS Geography Markup Language (GML) and GeoRSS Simple. GeoRSS-Simple is a very lightweight format that supports basic geometries (point, line, box, polygon) and covers the typical use cases when encoding locations. GeoRSS GML is a formal Open Geospatial Consortium (OGC) GML Application Profile, and supports a greater range of features than GeoRSS Simple, notably coordinate reference systems other than WGS84 latitude/longitude. There is also a W3C GeoRSS serialization, which is older and partly deprecated but still the most widely used.

GeoRSS can be used to extend both RSS 1.0 and 2.0, as well as Atom, the IETF's latest standard for feeds.

Examples

[edit ]

Here's a GeoRSS Simple example using Atom.

<?xml version="2.0" encoding="utf-8"?>
<feedxmlns="http://www.w3.org/2005/Atom"
xmlns:georss="http://www.georss.org/georss">
<title>Earthquakes</title>
<subtitle>Internationalearthquakeobservationlabs</subtitle>
<linkhref="http://example.org/"/>
<updated>2005年12月13日T18:30:02Z</updated>
<author>
<name>Dr.ThaddeusRemor</name>
<email>tremor@quakelab.edu</email>
</author>
<id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
<entry>
<title>M3.2,MonaPassage</title>
<linkhref="http://example.org/2005/09/09/atom01"/>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2005年08月17日T07:02:32Z</updated>
<summary>Wejusthadabigone.</summary>
<georss:point>45.256-71.92</georss:point>
</entry>
</feed>

Here is a schema fragment for a GeoRSS GML encoding for RSS 2.0

<?xml version="1.0" encoding="UTF-8"?>
<rssversion="2.0"
xmlns:georss="http://www.georss.org/georss"
xmlns:gml="http://www.opengis.net/gml">
<channel>
<link>http://maps.google.com</link>
<title>CambridgeNeighborhoods</title>
<description>Oneguy'sviewofCambridge,Massachusetts</description>
<item>
<guidisPermaLink="true">00000111c36421c1321d3</guid>
<pubDate>Thu,05Apr200720:16:31+0000</pubDate>
<title>CentralSquare</title>
<description>Theheartandsoulofthe"new"Cambridge.Dependingonwhereyou
stand,youcanfeellikeyou'reinthe1970sor2020.</description>
<author>rajrsingh</author>
<georss:where>
<gml:Polygon>
<gml:exterior>
<gml:LinearRing>
<gml:posList>
+71.10621642.366661
+71.10557642.367104
+71.10437842.367134
+71.10372942.366249
+71.09879342.363331
+71.10102842.362541
+71.10686542.366123
+71.10621642.366661
</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</georss:where>
</item>
</channel>
</rss>

Here is example of W3C geo GeoRSS

<?xml version="1.0"?>
<?xml-stylesheet href="/eqcenter/catalogs/rssxsl.php?feed=eqs7day-M5.xml" type="text/xsl" 
 media="screen"?>
<rssversion="2.0"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>USGSM5+Earthquakes</title>
<description>Real-time,worldwideearthquakelistforthepast7days</description>
<link>https://earthquake.usgs.gov/eqcenter/</link>
<dc:publisher>U.S.GeologicalSurvey</dc:publisher>
<pubDate>Thu,27Dec200723:56:15PST</pubDate>
<item>
<pubDate>Fri,28Dec200705:24:17GMT</pubDate>
<title>M5.3,northernSumatra,Indonesia</title>
<description>December28,200705:24:17GMT</description>
<link>https://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

    [edit ]

    References

    [edit ]
    1. ^ "The application/rss+xml Media Type". Network Working Group. May 22, 2006. Retrieved 2007年08月16日.
    [edit ]
    Types
    Technology
    General
    Features
    Mechanism
    Memetics
    RSS
    Social
    Standard
    Form
    Media
    Alternative media
    Micromedia
    Related

    AltStyle によって変換されたページ (->オリジナル) /