There's a lot of prior  and parallel work  you may want to review:

http://georss.org/Main_Page

http://geojson.org/geojson-spec.html

and ongoing work in the W3C

http://www.w3.org/2010/POI/



On 9/8/11 6:07 AM, Sarven Capadisli wrote:
On Thu, 2011-09-08 at 14:01 +0100, Sarven Capadisli wrote:
On Thu, 2011-09-08 at 14:07 +0200, Karl Dubost wrote:
# Using RDFa (not implemented in browsers)


<ul xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"; id="places-rdfa">
     <li><span
         about="http://www.dbpedia.org/resource/Montreal";
         geo:lat_long="45.5,-73.666667">Montréal</span>, Canada</li>
     <li><span
         about="http://www.dbpedia.org/resource/Paris";
         geo:lat_long="48.856578,2.351828">Paris</span>, France</li>
</ul>

* Issue: Latitude and Longitude not separated
   (have to parse them with regex in JS)
* Issue: xmlns with<!doctype html>


# Question

On RDFa vocabulary, I would really like a solution with geo:lat and geo:long, 
Ideas?
Am I overlooking something obvious here? There is lat, long properties
in wgs84 vocab. So,

<span about="http://dbpedia.org/resource/Montreal";>
     <span property="geo:lat"
           content="45.5"
           datatype="xsd:float"></span>
     <span property="geo:lat"
           content="-73.666667"
           datatype="xsd:float"></span>
     Montreal
</span>

Tabbed for readability. You might need to get rid of whitespace.

-Sarven
Better yet:

<li about="http://dbpedia.org/resource/Montreal";>
     <span property="geo:lat"
...


-Sarven







Reply via email to