Skip to content

Instantly share code, notes, and snippets.

View jmasselink's full-sized avatar
🏠
Working from home

Joel Masselink jmasselink

🏠
Working from home
View GitHub Profile
@kgjenkins
kgjenkins / readme.md
Last active February 12, 2023 13:29
Labels with callout lines in QGIS

Labels with callout lines in QGIS


UPDATE: As of October 2019, QGIS 3.10 has built-in support for label callout lines!


Callouts, sometimes called leader lines, are lines between labels and features on a map. They are useful when constraints of space force a label to be moved away from the

@pramsey
pramsey / postgis-gis.md
Last active October 23, 2018 21:32
Carto Cosmos PostGIS && GIS Talk Notes

PostGIS && GIS

cdb-manager

A simple browser-based terminal for running SQL against Carto using the SQL API

@jsanz
jsanz / README.md
Last active May 17, 2018 13:53
Geocode with Mapzen search and Google Spreadsheets

How to set up a quick geocoding system on google spreadsheets.

  1. Create a new spreadsheet
  2. Open the Scripts editor and paste the script attached
  3. Use on your spreadsheet this new formula
=searchMapzen(place_cell,mapzen_api_key)

@jmasselink
jmasselink / rename.py
Created February 25, 2015 21:52
rename files
__author__ = 't-joelm'
import glob, os
import csv
def rename(dir, pattern, titlePattern)
for pathAndFilename in glob.iglob(os.path.join(dir, pattern)):
title, ext = os.path.splitext(os.path.basename(pathAndFilename))
os.rename(pathAndFilename,
os.path.join(dir, titlePattern % title + ext))