My favorites | Sign in
Project Home Wiki Issues Source
Search
for
ArgotLocation  
An argot for location.
Component-ArgotLocation
Updated Jul 13, 2010 by mark.bir...@gmail.com

Introduction

There are are number of ways to add a location to an item, ranging from a simple string of text, through various parts of a postal address, through to a full longitude and latitude.

Details

Dublin Core location

The simplest way to express a location is with the Dublin Core coverage term.

Identifier: dc:coverage

Example:

<div typeof="argot:Job" xmlns:dc="http://purl.org/dc/terms/">
  ...
  <span>
    <span>Location:</div>
    <span><span property="dc:coverage">Manchester</span> + travel in UK</span>
  </span>
  ...
</div>

A useful source of values for dc:coverage is the Getty Thesaurus of Geographic Names.

Geo location

More precise locations can be expressed using the Basic Geo (WGS84 lat/long) Vocabulary from the W3C:

Longitude and Latitude

Identifier: geo:long

Identifier: geo:lat

Example:

<div typeof="argot:Job" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
  ...
  <span>
    <span>Location:</div>
    <span>
      <span property="geo:lat" content="53.5000"></span>
      <span property="geo:long" content="-2.2167"></span>
      Manchester + travel in UK
    </span>
  </span>
  ...
</div>

See Also

  • Longitude and latitude values can be obtained from a location (such as a place name or address, using a technique known as geocoding. The tutorial HowToGeocode shows how to use RDFa to encode locations, and then have geocoding applied automatically.

Sign in to add a comment
Powered by Google Project Hosting