SlippyMapper: Oh, The Places You Will Go

Nick Kunz
Data Mining the City
2 min readOct 14, 2017

SlippyMapper is awesome! Utilizing this module in Processing + Python (thank you Allan William Martin), I was able to construct this mosaic of geographies. I’ll be upfront and say that the places I selected were not necessarily intended for further investigation or by virtue of a technical criteria. Instead, I wanted to create something personal. This is a blog after all, right? So I selected the geographies based on the places I have lived (I’ve spent quite a bit of time else where, so I limited myself to those places I remember receiving snail mail).

Coding this is was simple and straight forward. Although working the particulars of design representation, coordinate acquisition, experimenting with the various rendering styles and the like took time and massaging, it required much much (did I say much enough) less time than if I were tasked to execute it manually. Thank you SlippyMapper! This was an enjoyable exercise and I definitely look forward to utilizing this module in the future and exploring more of its features. 10/10 do recommend.

import spatialpixel.mapping.slippymapper as slippymapperdef setup():
size(1024, 768)
scale = 9
width = 256
height = 256
vibe = 'carto-dark'

global seoul
seoul = slippymapper.SlippyMapper(37.566667, 126.966667, scale, vibe, width, height)
seoul.render()

global minneapolis
minneapolis = slippymapper.SlippyMapper(44.983333, -93.266667, scale, vibe, width, height)
minneapolis.render()

global northwood
northwood = slippymapper.SlippyMapper(43.445833, -93.219167, scale, vibe, width, height)
northwood.render()

global detroit
detroit = slippymapper.SlippyMapper(42.331389, -83.045833, scale, vibe, width, height)
detroit.render()

global phoenix
phoenix = slippymapper.SlippyMapper(33.45, -112.066667, scale, vibe, width, height)
phoenix.render()

global boston
boston = slippymapper.SlippyMapper(42.358056, -71.063611, scale, vibe, width, height)
boston.render()

global dallas
dallas = slippymapper.SlippyMapper(32.775833, -96.796667, scale, vibe, width, height)
dallas.render()

global ftbenning
ftbenning = slippymapper.SlippyMapper(32.492222, -84.940278, scale, vibe, width, height)
ftbenning.render()

global ftbragg
ftbragg = slippymapper.SlippyMapper(35.0525, -78.878056, scale, vibe, width, height)
ftbragg.render()

global ftlewis
ftlewis = slippymapper.SlippyMapper(47.241389, -122.459444, scale, vibe, width, height)
ftlewis.render()

global seattle
seattle = slippymapper.SlippyMapper(47.609722, -122.333056, scale, vibe, width, height)
seattle.render()

global newyork
newyork = slippymapper.SlippyMapper(40.7127, -74.0059, scale, vibe, width, height)
newyork.render()

def draw():
background(255)
seoul.draw()

translate(256, 0)
minneapolis.draw()

translate(256, 0)
northwood.draw()

translate(256, 0)
detroit.draw()

translate(-768, 256)
phoenix.draw()

translate(256, 0)
boston.draw()

translate(256, 0)
dallas.draw()

translate(256, 0)
ftbenning.draw()

translate(-768, 256)
ftbragg.draw()

translate(256, 0)
ftlewis.draw()

translate(256, 0)
seattle.draw()

translate(256, 0)
newyork.draw()

--

--