Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 880 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 880 Bytes

ReadMe

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 Location
  • folder_name: Folder name to give for placemarks contained within
  • latitude: Latitude of centerpoint of circles
  • longitude: Longitude of centerpoint of circles
  • vertices: Number of vertices to use to draw circles
  • radius_list: Array of radius to draw circles at
  • style_colors: KML Color code used to draw circle in

Requirements

  • NodeJS: For running this generator.
  • Ruby: For running kml_polygon

Running Generator

Configure the options in the .js file.

Once configured, run with node.

$> node generate_circles.js > output.kml

Acknowledgements

Thanks to the kml_polygon author for making drawing circles easy!