Skip to content

Instantly share code, notes, and snippets.

@dotdoom
dotdoom / zvv2kml.py
Created March 24, 2016 21:24
ZVV Tarifzonen KML (Google Maps)
#!/usr/bin/env python
# Fetch ZVV Tarifzonen map in SVG and convert to KML.
# You can save the output and import into Google Maps.
# Use at your own risk. The API used is not publicly disclosed,
# improper use may lead to lawsuits.
import sys
import urllib2
import xml.etree.ElementTree as ET
language: go
go:
- 1.5
- release
install:
- go get github.com/alecthomas/gometalinter
- gometalinter --install --update
- go get github.com/axw/gocov/gocov