[georss] elevation question

Raj Singh raj at rajsingh.org
Mon Apr 7 20:33:29 EDT 2008


On Apr 7, 2008, at 4:34 PM, Makc wrote:
> 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 ...

The XSD you reference only applies to GeoRSS GML (http://www.georss.org/gml 
).
There's no schema for GeoRSS Simple. In GeoRSS GML you would write:
<georss:where>
   <gml:point>
     <gml:pos>blah blah</gml:pos>
   </gml:point>
   <georss:elev>313</georss:elev>
</georss:where>

I can't help with figuring out which one is right for Simple...

---
Raj


More information about the georss mailing list