Skip to content

Instantly share code, notes, and snippets.

@MathiasGroebe
MathiasGroebe / ne_style.json
Last active November 27, 2019 11:57
Sample vector map style
{
"version": 8,
"name": "ne_style",
"metadata": {
"mapbox:autocomposite": false,
"maputnik:renderer": "mbgljs"
},
"sources": {
"ne": {
"type": "vector",
@MathiasGroebe
MathiasGroebe / xyz2tif.py
Last active February 2, 2021 14:06
Convert XYZ elevation data to a TIF-file using GDAL
#!/usr/bin/env python
import os
import re
import sys
import getopt
from shutil import copyfile
def main(argv):
inputFile = ''