[georss] elevation question
Makc
makc.the.great at gmail.com
Mon Apr 7 16:34:50 EDT 2008
Hello list,
I am going to implement simple georss in my app. I read through stuff
on site, but it is not clear and ambigous at times, so I ended up
here.
My question is about elevation, for example. There are few atom
samples that use it as an attribute, such as in
<feed ...
<entry>
<blah ... /blah>
<georss:point elev="313">45.256 -110.45</georss:point>
</entry>
</feed>
On the other hand, some other incomplete snippets indicate that it is
now element, such as one at http://www.georss.org/simple
<georss:point>45.256 -110.45</georss:point>
<georss:elev>313</georss:elev>
<georss:point>45.256 -110.45</georss:point>
<georss:floor>2</georss:floor>
Taking these 4 lines, for example, it is not obvious from
implementation point of view, what relationship is there between 1st
point, 2nd point, elev and floor, if they all land together in single
parent element.
I have also found xsd file at
http://www.georss.org/xml/1.0/georss.xsd, where elevation lands under
whereAttrGroup. I am not too good with these xsd things, but my
interpretation is that, whenever someone wants to use elevation, it
has to go inside <georss:where> together with <gml:something>, like
<georss:where>
<gml:point>blah blah</gml:point>
<georss:elev>313</georss:elev>
</georss:where>
and not, for example, like
<georss:where>
<georss:point>blah blah</georss:point>
<georss:elev>313</georss:elev>
</georss:where>
which does not really make sense to me, but it's like what it looks like ...
Can somebody please explain this for me?
More information about the georss
mailing list