Skip to content

Generate Circles For Latitude/Longitude Given Multiple Radius'

Notifications You must be signed in to change notification settings

joshanne/KML-Circle-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Generate Circles For Latitude/Longitude Given Multiple Radius'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published