[rdfweb-dev] question:- how to: distanceFrom.....nearestAirpot
???
Dougal Campbell
dougal at gunters.org
Wed Feb 5 14:31:04 UTC 2003
On Wed, 5 Feb 2003, Niki Dinsey - CSW wrote:
> [....]
> What I really want to do is be able to show the distance between the
> airport and my home (about 72k).
>
> Has anybody go an idea how I would be able to do this? Or even if it's a
> good idea! I'm also using the Geo Positioning [2] vocab so does this
> make my question irrelevant?
I had a similar question recently (about including geographical
locations in FOAF), but there was no clear consensus. What I finally
wound up doing was to declare my own namespace as a container, then
tossing some vCard and Point info into it:
xmlns:point="http://dublincore.org/documents/2000/07/28/dcmi-point/"
xmlns:vCard="http://www.w3.org/2001/vcard-rdf/3.0#"
xmlns:geo="http://dougal.gunters.org/geography/"
<geo:location rdf:ID="HometownLocation">
<rdf:Description>
<dc:description>Hometown location</dc:description>
</rdf:Description>
<vCard:GEO>
<vCard:LAT>31.358978</vCard:LAT>
<vCard:LON>-85.816314</vCard:LON>
</vCard:GEO>
<vCard:ADR>
<vCard:Locality>Enterprise</vCard:Locality>
<vCard:Region>Alabama</vCard:Region>
<vCard:Pcode>36330</vCard:Pcode>
<vCard:Country>us</vCard:Country>
<rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#home"/>
<rdf:type rdf:resource="http://www.w3.org/2001/vcard-rdf/3.0#pref"/>
</vCard:ADR>
<point:Point name="Enterprise, AL">
<point:north>31.358978</point:north>
<point:east>-85.816314</point:east>
</point:Point>
</geo:location>
--
Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at gunters.org>
http://dougal.gunters.org/ http://spam.gunters.org/
Web Design & Development: http://www.mentalcollective.com/
This message is guaranteed to be 100% eror frea!
More information about the foaf-dev
mailing list