Skip to content

Instantly share code, notes, and snippets.

View richardaum's full-sized avatar
🐈

Richard Lopes richardaum

🐈
View GitHub Profile
@richardaum
richardaum / README.md
Last active July 24, 2020 19:07
Create/generate a KML file withing multiple circles varying its radius, central point, and number of points to represent the circle

Script created to generate KML with circles using multiple points generated from a lat long coordinates. Currently, it is being used with 17 points to fulfil a requriment from Consumer app.

Requirements

Ruby (thanks to https://github.com/mbrookes/kml_polygon for the polygon algorithm) Node

Usage

node circle.js > area-de-entrega.kml

@mztriz
mztriz / Fix Cygwin Issues with Ruby
Created October 8, 2012 17:55
No such file or directory — /cygdrive/c/Ruby193/bin/gem (LoadError)
Add the following to your .bashrc (change path as necessary):
alias ruby='/cygdrive/c/Ruby193/bin/ruby'
alias gem='/cygdrive/c/Ruby193/bin/gem.bat'
alias irb='/cygdrive/c/Ruby193/bin/irb.bat'