geopositioning

WGS84 Geo Positioning


A vocabulary for representing latitude, longitude and altitude information in the WGS84 geodetic reference datum.

Examples

Add another example.

A Person with their Nearest Airport

Below is an example which describes the nearest airport to a person called Libby Miller. It links to the person’s workplace’s homepage and their project homepage, and an interest – the Semantic Web. It uses the foaf (friend of a friend) namespace among others. Using nearestAirport is a simple way of identifying a person’s locality without being too specific. more…

<rdf:RDF 
 xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#" 
 xmlns:airport="http://www.daml.org/2001/10/html/airport-ont#" 
 xmlns:pos='http://www.w3.org/2003/01/geo/wgs84_pos#'
 xmlns:foaf="http://xmlns.com/foaf/0.1/" 
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
 xmlns:wordnet="http://xmlns.com/wordnet/1.6/"
>
<foaf:Person>        
  <foaf:name>Libby Miller</foaf:name>
  <foaf:workplaceHomepage rdf:resource="http://www.ilrt.bristol.ac.uk"/>
  <foaf:projectHomepage rdf:resource="http://www.w3.org/2001/sw/Europe/"/>
  <foaf:interest rdf:resource="http://www.w3.org/2001/sw/" />
  <contact:nearestAirport>
    <airport:Airport rdf:about='http://www.daml.org/cgi-bin/airport?BRS'>
      <airport:iataCode>BRS</airport:iataCode>
      <airport:icaoCode>EGGD</airport:icaoCode>
      <pos:lat>51.383333333333</pos:lat>
      <pos:long>-2.7166666666667</pos:long> 
    </airport:Airport>
  </contact:nearestAirport>
</foaf:Person>
</rdf:RDF>

Using based near

The foaf:based_near relationship links a “spatial thing” (anything that can be somewhere) to a point in space, typically specified using the geo:lat / geo:long geo-positioning vocabulary (see GeoInfo in the W3C semweb wiki for details). Note that this same markup could be applied to other spatial things, such as shops, artifacts etc. more…

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
        xmlns:foaf="http://xmlns.com/foaf/0.1/" 
        xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
        xmlns:dc="http://purl.org/dc/elements/1.1/"> 
  <foaf:Person rdf:ID="Jason">
    <foaf:name>Jason Cook</foaf:name>
    <foaf:title>Mr</foaf:title>
    <foaf:based_near>
      <geo:Point geo:lat="41.8833" geo:long="12.5"/>
    </foaf:based_near>
  </foaf:Person>
</rdf:RDF>