Visualization of vertical cylindrical objects on the Earth's surface.
Generates a kml character array used for visualizing a cylindrical object on the Earth's surface, the centerpoint of which is located at [X,Y]; its radius is equal to R and its height is equal to H.
In addition to the above, a number of options can be set regarding the appearance of the cylinder. Assigning values to the parameters can be accomplished by inclusion of an alternating sequence of parameters and their value. The table below provides an overview of the authorized options. The order in which the parameters are included does not matter. Please be aware that the options are case-sensitive. Examples are provided further down.
Latitudes on the Southern hemisphere and longitudes on the Western hemisphere must be passed as negative values.
Some transformation may occur due to the projection.
Latitudes and longitudes should be passed in units of decimal degrees (also known as fractional degrees). Google Earth uses Simple Cylindrical projection (also known as Plate Carée) with a WGS84 datum. Altitudes are in meters.
See the demo file demo_ge_cylinder for more details.
The code contained in the demo file will generate a KML file that will display as follows when viewed in Google Earth:
Note that the third cylinder is initially not visible in the Viewer.