Having seen a visualization by Robert Kosara of EagerEyes a loooong time ago, I wanted to try to reproduce it for Switzerland using Processing. This is the second installment of a two-parts post covering this project, in which I will describe how to arrive at the final result, the ZIPScribble Map. I’ll do that in some detail, maybe this is helpful to somebody.
In the first installment of this series I explained my process up to an intermediate result: a map depicting all the postal code locations in Switzerland, like this:
This involved creating a basemap with TileMill, using Till Nagel’s MercatorMap class in Processing, finding and downloading postal code data from Geonames and writing a Processing sketch which makes use of all these. In this second installment I will explain how to arrive at a ZIPScribble Map for Switzerland from the above intermediate result. So from the first part we have many things in place already. What is missing are basically three things: Continue reading “ZIPScribble Map: Switzerland – Part II”
Having seen a visualization by Robert Kosara of EagerEyes a loooong time ago, I wanted to try to reproduce it for Switzerland using Processing. This is the first installment of a two-parts post covering this project, in which I will describe how to arrive at an intermediate result. I’ll do that in some detail, maybe this is helpful to somebody.
The visualization is called the ZIPScribbleMap: “ZIP” for postal codes, “Scribble” for rather obvious reasons (as in “it looks like what I doodle while on the phone!”): Continue reading “ZIPScribble Map: Switzerland – Part I”
Till Nagel has a tutorial on using custom maps as backgrounds in Processing sketches. The solution uses TileMill, a map design environment which allows you to export a customised static map as an image for use in Processing. For advanced users, Till Nagel also describes the procedure for interactive tiled maps. That latter solution relies on an … Continue reading Using customised basemaps in Processing
In order to present readable and usable code here on WordPress.com without manually formatting it I searched the intertubes for an elegant solution – and found one here. [sourcecode language=”python” gutter=”false”] import math, string def readFile(file): """Reads a file from disk and returns its content as a string variable :param file: path to a file to be … Continue reading Syntax highlighting on WordPress.com
(This post is based on an earlier post in another blog in German)
For quite some time I’ve been following the news about Processing. Processing is an open-source environment for creating visualizations programmatically. The project was initiated by Casey Reas and Benjamin Fry in the Media Lab of the MIT.
Processing encompasses both the Java-based Processing programming language and an Integrated Development Environment, IDE, in which to write code. Processing enables users to generate rather complex graphics and animations (also with interactivity). Considerably fewer code is needed to implement something in Processing rather than in Java itself.
According to the website some of Processing’s feature highlights are: Continue reading “Intro to Processing”