Uses submodule kml_polygon
to generate circles at the given location.
Configurable options are located in config.js
. These options allow you to change:
location_name
: Name to give KML Locationfolder_name
: Folder name to give for placemarks contained withinlatitude
: Latitude of centerpoint of circleslongitude
: Longitude of centerpoint of circlesvertices
: Number of vertices to use to draw circlesradius_list
: Array of radius to draw circles atstyle_colors
: KML Color code used to draw circle in
NodeJS
: For running this generator.Ruby
: For runningkml_polygon
Configure the options in the .js
file.
Once configured, run with node.
$> node generate_circles.js > output.kml
Thanks to the kml_polygon
author for making drawing circles easy!