Skip to content

Instantly share code, notes, and snippets.

Avatar

Martijn van Exel mvexel

View GitHub Profile
@mvexel
mvexel / overpass.geojson
Created May 5, 2016 — forked from anonymous/overpass.geojson
data exported by overpass turbo
View overpass.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View overpass.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mvexel
mvexel / 0_reuse_code.js
Created Oct 22, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View gist:5526126

Install Python

$ brew install readline sqlite gdbm
$ brew install python --universal --framework
$ python --version
Python 2.7

Symlinks...

View logopitch.md

The current OpenStreetMap logo works well at large sizes and in full color, but loses clarity and definition when grayscaled or used at small sizes. There should be an alternative logo available for those circumstances - one that simplifies the OSM logo down to it's essentials for clarity and adaptability. Here's our solution:

View WELCOME.md

Welcome to OpenStreetMap, the world's open-source map.

You've just joined a community of over one million contributors who are creating a free, worldwide map. Welcome!

To introduce you to OpenStreetMap, we have compiled a guide with lots of information about mapping and the OpenStreetMap community. We hope you find this useful!

If you have questions that our guide does not cover, help is always close at hand on our Q&A web site.

Happy mapping!


View WELCOME.md

Welcome to OpenStreetMap You have just joined an international volunteer organization whose goal is nothing less than a rich, detail map of the whole world that is open-source. What does that mean? It means that this is a map whose data is available to everyone for free. OpenStreetMap is an important effort that will have impact around the globe. Millions who never have had access to geographical information now will have access to

@mvexel
mvexel / tiger.py
Created May 12, 2012 — forked from emacsen/pyxbot.py
OSM Tiger expansion code
View tiger.py
#!/usr/bin/env python
"""This is the base library that can used to run various OSM bots
which are implemented as plugins"""
import sys
import os
from xml.sax.handler import ContentHandler
from xml.sax import make_parser
import codecs