Map can be seen on http://citysdk.waag.org/buildings/. The map shows all 9,866,539 buildings in the Netherlands, shaded according to year of construction. Data from BAG, via CitySDK. Map made with TileMill by Bert Spaan, Waag Society, inspired by BKLYNR.
This README file explains how to get the data, create the map and export high-res PNG and PDF files.
First, install PostgreSQL and PostGIS. To download and import the latest BAG data into a local database, you can use the data, tools and tutorials provided by NLExtract. The scripts in this gist expect a database named bag
.
To create a map with buildings by year of construction (or area and function), execute the SQL from buildings.sql
in this gist.
Install TileMill, create a new project and replace the contents of the newly created project directory (usually in ~/Documents/MapBox/project
), with the two files style.mss
and project.mml
from this gist. The TileMill project connects with PostgreSQL using user postgres
and password postgres
. Edit project.mml
to change user and password if needed.
TileMill lets you export high-res images from the command line: http://gis.stackexchange.com/questions/52401/how-to-automate-export-in-tilemill