Anar al contingut

GeoRSS

De L'Enciclopèdia, la wikipedia en valencià

GeoRSS és un conjunt d'estàndarts per a representar informació geogràfica per mig de l'us de capes i està construït dins de la família d'estàndarts RSS.[1]

En les GeoRSS, el contingut consistix en punts d'interés georreferenciados i atres anotacions i les fonts es dissenyen per a generar mapes.

GeoRSS pot utilisar-se com RSS 1.0, 2.0 i Atom, l'últim estàndar IETF.

Eixemple

[editar | editar còdic]

Ací és un eixemple GeoRSS Simple usant Atom.

 <?xml versió="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 labs</subtitle>
   <link href="http://example.org/"/>
   <updated>2005-12-13T18:30:02Z</updated>
   <author>
      <name>Dr. Thaddeus Remor</name>
      <email>tremorquakelab.edu</email>
   </author>
   <aneu>urn:uuid:60a76c80-d399-11d9-b93C-0003939i0af6</aneu>
   <entry>
      <title>M 3.2, Mono Passage</title>
      <link href="http://example.org/2005/09/09/atom01"/>
      <aneu>urn:uuid:1225c695-cfb8-4ebb-aaaa-80dona344efa6a</aneu>
      <updated>2005-08-17T07:02:32Z</updated>
      <summary>We just had a big one.</summary>
      <georss:point>45.256 -71.92</georss:point>
    </entry>
 </feed>

Ací és un fragment d'un esquema per a un GML GeoRSS codificació per a RSS 2.0

  <?xml versió="1.0" encoding="UTF-8"?>
  <rss versió="2.0" 
       xmlns:georss="http://www.georss.org/georss" 
       xmlns:gml="http://www.opengis.net/gml">
    <channel>
    <link>http://maps.google.com</link>
    <title>Cambridge Neighborhoods</title>
    <description>One guy's view of Cambridge, MA</description>
    <item>
      <guid isPermaLink="false">00000111c36421c1321d3</guid>
      <pubDate>Thu, 05 Apr 2007 20:16:31 +0000</pubDate>
      <title>Central Square</title>
      <description>The heart and soul of the "old" Cambridge. Depending on where you 
               stand, you ca feel like you're in the 1970s or 2020.</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>MIT</title>
      <description>Massachusetts Institute of Technology</description>
      <author>rajrsingh</author>
      <gml:Polygon>
      <Snip and end fragment>

Ací és eixemple de W3C geo GeoRSS

 <?xml versió="1.0"?>
 <?xml-stylesheet href="/eqcenter/catalogs/rssxsl.php?feed=eqs7day-M5.xml" type="text/xsl" 
                  mija="screen"?>
 <rss versió="2.0" 
      xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" 
      xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
     <title>USGS M5+ Earthquakes</title>
     <description>Real-clave, worldwide earthquake list for the past 7 days</description>
     <link>https://web.archive.org/web/20091027192037/http://earthquake.usgs.gov/eqcenter/</link>
     <dc:publisher>U.S. 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, northern Sumatra, Indonèsia</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>

Est és un chicotet eixemple de ficher GeoRSS adaptat des del Yahoo! Maps Web Services.

<?xml versió="1.0" encoding="UTF-8"?>
<rss versió="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
  xmlns:ymaps="https://web.archive.org/web/20070813011232/http://api.maps.yahoo.com/maps/V2/annotatedmaps.xsd">
  <channel>
    <title>Sample GeoRSS feed</title>
    <description>Sample GeoRSS feed</description>
    <item>
      <title>Yahoo! Sunnyvale</title>
      <link><![CDATA[1]]></link>
      <description>Sunnyvale Campus</description>
      <geo:lat>37.416384</geo:lat>
      <geo:long>-122.024853</geo:long>
    </item>
  </channel>
</rss>

Eixemples o GeoRSS implementacions

[editar | editar còdic]

Eixemple feeds

Us i aplicació

Proyectes de còdic obert

  • OpenLayers Demo using the OpenLayers GeoRSS parser. GeoRSS geo and simple llaure supported.
  • Worldkit Both GeoRSS Simple and GeoRSS GML llaure supported.
  • GeoServer
  • The OGR Library provides support for read and write access to GeoRSS data.

Productes

Fun Sites Based en GeoRSS

Vore també

[editar | editar còdic]

Referències

[editar | editar còdic]
  1. RSS és un format XML utilisat per a descriure canals de contingut com a artículs de notícies, llistes de mp3 i entrades de blogs. L'alimentació RSS és renderizada per programes com agregadores o navegadors web.