hendriksaragih / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

(old-number-83) RegularPolygon, Circle, Star Elements #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
While Polygon is fine, there isn't any support (that I saw anyways) for regular 
polygons, circles and whatnot. It's very non trivial to compute "make a circle 
centered at (long,lat), radius 10,000 meters" I whipped up a little python 
script to generate this at http://code.google.com/p/kmlcircle/ I used a 
spherical model, which seems to work ok for radius < 1,000,000m or so. It's a 
bit more work to do the full elipsoidal model, but whatev. Anyways, me thinks 
that <RegularPolygon>, etc would be great additions to KML.

poyom: This would especially be nice when doing dynamic updates so the vertices 
don't have to be sent every poll. And don't forget about ellipses and arcs.

Requestor: nickg [at] modp [dot] com

Supporters: Poyom

Original issue reported on code.google.com by api.roman.public@gmail.com on 14 Aug 2008 at 5:48