Skip to content

Instantly share code, notes, and snippets.

View cardonacoder's full-sized avatar
🎯
Focusing

Andrés Felipe Cardona cardonacoder

🎯
Focusing
View GitHub Profile
@cardonacoder
cardonacoder / README.md
Created December 19, 2019 15:33 — forked from jupaneira/README.md
Administrative divisions of Bogotá

This is an interactive Map of the Administrative divisions of Bogotá, made with TopoJSON and D3.

Inspired by the Mexican municipalities map, it shows the Administrative division of Colombia's capital city.

Bogotá has 20 localities and each of them is compound of smaller divisions called Barrios. There are 1900 Barrios in Bogotá

It uses TopoJSON to diferentiate the Departments boundaries through the function topojson.mesh and a special filter.

To obtain the TopoJSON, first I converted the .shp file of the Municipality divition of Colombia by Maurix Suárez to GeoJSON, using:

@cardonacoder
cardonacoder / DateUtil.java
Created November 13, 2019 13:17 — forked from marlonramirez/HolidayUtil.java
Gestión de fechas en colombia, días habiles, festivos, etc.
package com.mes.modules.milanes.utilities;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
public class DateUtil {
private int year;
private int easterMonth;
private int easterDay;