상위 질문
타임라인
채팅
관점

GeoRSS

위키백과, 무료 백과사전

Remove ads

GeoRSS웹 피드의 일부로 위치를 인코딩하기 위한 사양이다. (웹 피드는 뉴스 기사, 오디오 블로그, 브이로그 및 텍스트 블로그 항목과 같은 콘텐츠 피드("채널")를 설명하는 데 사용된다. 이러한 웹 피드뉴스 애그리게이터웹 브라우저와 같은 프로그램에 의해 렌더링된다.) "GeoRSS"라는 이름은 가장 잘 알려진 웹 피드 및 신디케이션 형식인 RSS에서 유래되었다.

간략 정보 파일 확장자, 인터넷 미디어 타입 ...

GeoRSS에서 위치 콘텐츠는 지리적 관심 지점, 선, 다각형 및 관련 기능 설명으로 구성된다. GeoRSS 피드는 지도 생성기와 같은 지리적 소프트웨어에서 사용하도록 설계되었다. GeoRSS 협업은 공통 정보 모델을 기반으로 이러한 인코딩을 구축함으로써 인코딩 간의 상호 운용성과 "상향 호환성"을 촉진하고 있다.

이 시점에서 GeoRSS 협업은 GeoRSS 지리 마크업 언어 (GML) 및 GeoRSS Simple이라는 두 가지 주요 인코딩에 대한 작업을 완료했다. GeoRSS-Simple은 기본적인 기하학 (점, 선, 상자, 다각형)을 지원하고 위치 인코딩 시 일반적인 사용 사례를 다루는 매우 경량의 형식이다. GeoRSS GML은 공식적인 개방형 공간 정보 컨소시엄 (OGC) GML 애플리케이션 프로필이며, GeoRSS Simple보다 더 넓은 범위의 기능, 특히 WGS84 위도/경도 이외의 좌표 참조 시스템을 지원한다. 또한 더 오래되었고 부분적으로는 더 이상 사용되지 않지만 여전히 가장 널리 사용되는 W3C GeoRSS 직렬화도 있다.

GeoRSS는 RSS 1.0과 2.0은 물론, IETF의 최신 피드 표준인 Atom을 확장하는 데 사용될 수 있다.

Remove ads

예시

요약
관점

다음은 Atom을 사용한 GeoRSS Simple 예시이다.

 <?xml version="2.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>tremor@quakelab.edu</email>
   </author>
   <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>
   <entry>
      <title>M 3.2, Mona Passage</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 just had a big one.</summary>
      <georss:point>45.256 -71.92</georss:point>
   </entry>
 </feed>

다음은 RSS 2.0용 GeoRSS GML 인코딩에 대한 스키마 단편이다.

  <?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>Cambridge Neighborhoods</title>
    <description>One guy's view of Cambridge, Massachusetts</description>
    <item>
      <guid isPermaLink="true">00000111c36421c1321d3</guid>
      <pubDate>Thu, 05 Apr 2007 20:16:31 +0000</pubDate>
      <title>Central Square</title>
      <description>The heart and soul of the "new" Cambridge. Depending on where you
               stand, you can feel like you're in the 1970s or 2020.</description>
      <author>rajrsingh</author>
      <georss:where>
        <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>
      </georss:where>
    </item>
   </channel>
 </rss>

다음은 W3C geo GeoRSS의 예시이다.

 <?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>USGS M5+ Earthquakes</title>
     <description>Real-time, worldwide earthquake list for the past 7 days</description>
     <link>https://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, Indonesia</title>
       <description>December 28, 2007 05:24:17 GMT</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>
Remove ads

같이 보기

  • 아톰 (표준), IETF의 XML 기반 웹 신디케이션 형식.
  • RSS - Really Simple Syndication.

각주

외부 링크

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads