Skip to content

Instantly share code, notes, and snippets.

View obdura's full-sized avatar
🚀
Working!

Seba obdura

🚀
Working!
  • Santiago, Chile
View GitHub Profile
@nishadhka
nishadhka / Read kml into data frame using python
Created December 17, 2017 12:01
Read kml file into dataframe
from pykml import parser
import pandas as pd
filename='ref1.kml'
with open(filename) as f:
folder = parser.parse(f).getroot().Document.Folder
plnm=[]
cordi=[]
for pm in folder.Placemark:
@juanbrujo
juanbrujo / comunas-regiones.json
Last active July 8, 2024 15:00 — forked from sergiohidalgo/comunas-regiones-chile.json
Comunas y regiones de chile JSON
{
"regiones": [
{
"region": "Arica y Parinacota",
"comunas": ["Arica", "Camarones", "Putre", "General Lagos"]
},
{
"region": "Tarapacá",
"comunas": ["Iquique", "Alto Hospicio", "Pozo Almonte", "Camiña", "Colchane", "Huara", "Pica"]
},