[georss] Polygon orientation

rico.hauke at daimler.com rico.hauke at daimler.com
Tue Nov 13 17:50:37 EST 2007


Hi list,

Okay, I hope I will not cause confusion again! :-)

Just wanted to ask, if there is an intended orientation for the exterior 
LinearRing of a GeoRSS polygon?

The following example (from the GeoRSS website) uses counter-clockwise 
orientation, so I assume this is correct.

<georss:where>
      <gml:Polygon>
         <gml:exterior>
            <gml:LinearRing>
               <gml:posList> 45.256 -110.45 46.46 -109.48 43.84 -109.86 
45.256 -110.45 </gml:posList>
            </gml:LinearRing>
         </gml:exterior>
      </gml:Polygon>
   </georss:where>

But is it also correct to use clockwise orientation, ie. is the following 
example also valid GeoRSS?

<georss:where>
      <gml:Polygon>
         <gml:exterior>
            <gml:LinearRing>
               <gml:posList> 45.256 -110.45 43.84 -109.86 46.46 -109.48 
45.256 -110.45 </gml:posList>
            </gml:LinearRing>
         </gml:exterior>
      </gml:Polygon>
   </georss:where>


Thanks again,
Rico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.eogeo.org/pipermail/georss/attachments/20071113/f4705748/attachment.html 


More information about the georss mailing list