forked from isc-rsingh/georss
-
Notifications
You must be signed in to change notification settings - Fork 1
/
w3c.html
61 lines (53 loc) · 2.53 KB
/
w3c.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<!--#set var="title" value="W3C Basic Geo Vocabulary"-->
<!--#include virtual="header.html"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>W3C Basic Geo Vocabulary</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'><link href="global.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="nav"><a href="index.html">home</a> | <a href="overview.html">overview</a> | <a href="model.html">model</a> | <a href="gml.html">gml</a> | <a href="simple.html">simple</a> | <a href="w3c.html">W3C Geo</a> | <a href="atom.html">atom</a> | <a href="rdf_rss1.html">rdf/rss1</a> | <a href="implementations.html">implementations</a> | <a href="proposals.html">proposals</a></div>
<h4>GeoRSS ::<br/>Geographically Encoded Objects for RSS feeds</h4>
<h2>W3C Basic Geo Vocabulary</h2>
<p>
The W3C <a href="http://www.w3.org/2003/01/geo/">Basic Geo Vocabulary</a> is a RDF vocabulary for representing the latitude and longitude of spatially-located things. It is widely used within RDF documents, as well as a namespace within non-RDF XML documents, such as RSS 2.0 and Atom. There are myriad publishers, applications and services using the format. Its rapid uptake has been a significant motivation in devising the "georss" namespace.
</p>
<p>
You are encouraged to utilize the GeoRSS Content Model and Encodings. However, W3C Geo has great inertia and will continue to be an important format. It is recommended that GeoRSS Parsers support W3C Geo. In time, the hope is that these two namespaces can be reconciled.
</p>
<p>
The vocabulary defines a class 'Point', whose members are points. Points can be described using the 'lat' and 'long' properties.
</p>
<blockquote>
<pre>
<geo:Point>
<geo:lat>55.701</geo:lat>
<geo:long>12.552</geo:long>
</geo:Point>
</pre>
</blockquote>
<p>
In common usage, the containing Point is dropped, for brevity.
</p>
<blockquote>
<pre>
<?xml version="1.0"?>
<rss version="2.0" <strong>xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"</strong>>
<channel>
...
<item>
<title>An example annotation</title>
<link>http://example.com/geo</link>
<description>Just an example</description>
<strong> <geo:lat>26.58</geo:lat>
<geo:long>-97.83</geo:long></strong>
</item>
...
</channel>
</rss>
</pre>
</blockquote>
<!--#include virtual="footer.html"-->
</body>
</html>