djangosnippets.org: Latest snippets tagged with 'right-hand-rule'https://djangosnippets.org/tags/right-hand-rule/2010-01-27T19:45:09.122585-06:00Forcing Right-Hand Rule (Counter Clockwise) Polygons in GeoDjango for Google Earth / KML
2010-01-27T19:45:09.122585-06:00gabejacksonhttps://djangosnippets.org/snippets/1895/<p>According to the KML Specification, Polygons must be oriented according to the Right-Hand Rule (Counter Clockwise orientation) for them to display correctly in Google Earth. Since not all Polygons are defined according to the Right-Hand Rule, you can use this code to orient them correctly when using GeoDjango.</p>
<p>Thanks goes …</p>
Freely redistributable