Skip to content

Tools, scripts and data to generate tiles for Dienst der Publieke werken maps

Notifications You must be signed in to change notification settings

Amsterdam/historical-maps

Repository files navigation

Historical Maps for data.amsterdam.nl

Tools, scripts and data to generate tiles for data.amsterdam.nl from digitized historical maps from the Amsterdam City Archives.

Dienst der Publieke Werken (1943)

This repository contains:

  • JSON and GeoJSON data of map sheets, collected and georectified by Jan Hartmann
  • Scripts to download map sheets from the Amsterdam City Archives
  • GDAL scripts to warp these map sheets, combine them, and turn them into XYZ map tiles
  • A Leaflet-based viewer to view the historical maps produced by this repository

Usage

All steps required to turn the map series in the source-data directory into XYZ map tiles are defined by the Makefile.

First, make sure you have GDAL and Node.js installed, then install the dependencies:

npm install

The Makefile has the following targets/steps:

  • layers: combines georeference data from the source-data directory.
  • gdal-scripts: uses the newline-delimited JSON data in the layers directory to create GDAL scripts.
  • gdal: uses GDAL scripts from the gdal-scripts directory to download and warp map sheets.
  • tiles: uses gdal2tiles.py and the GeoTIFFs and VRTs in the output directory to create XYZ map tiles.

To exectute one of these steps, use make. For example:

make layers

See Also

About

Tools, scripts and data to generate tiles for Dienst der Publieke werken maps

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages