Generative AI in Map-Making: A Technical Exploration and Its Implications for Cartographers
This repository contains ControlNet models for generating accurate maps in controlled styles, as discussed in our paper: Generative AI in Map-Making: A Technical Exploration and Its Implications for Cartographers.
Traditional map-making often relies heavily on Geographic Information Systems (GIS), requiring domain expertise and being time-consuming. This work leverages recent advances in generative AI, specifically image diffusion models like ControlNet, to integrate vector data and guide map generation in various styles specified by textual prompts. This approach aims to automate and democratize the map-making process, enabling the creation of accurate maps with controlled spatial composition and semantic layout.
For more details, code, and further instructions, please visit the corresponding GitHub repository.
Models
Our four ControlNet models can be downloaded here.
Swisstopo.ckpt: Specialized model for Swisstopo styleOldNational.ckpt: Specialized model for Old National styleSiegfried.ckpt: Specialized model for Siegfried styleCombined.ckpt: Combined model, capable of generating map tiles in all three styles and used in our web app.
| Class label | RGB color code | Swisstopo | Old National | Siegfried |
|---|---|---|---|---|
| Background | (255, 255, 255) | β | β | β |
| Building | (82, 82, 82) | β | β | β |
| Coordinate grid | (237, 240, 64) | β | β | β |
| Railway (single track) | (219, 30, 42) | β | β | β |
| Railway (multi track) | (144, 20, 28) | β | β | β |
| Railway bridge | (226, 132, 115) | β | ||
| Highway | (247, 128, 30) | β | β | |
| Highway gallery | (231, 119, 28) | β | β | β |
| Road | (149, 74, 162) | β | β | β |
| Through road | (255, 103, 227) | β | ||
| Connecting road | (128, 135, 37) | β | ||
| Path | (0, 0, 0) | β | β | β |
| Depth contour | (63, 96, 132) | β | β | |
| River | (41, 163, 215) | β | β | β |
| Lake | (55, 126, 184) | β | β | β |
| Stream | (89, 180, 208) | β | β | β |
| Tree | (63, 131, 55) | β | ||
| Contour line | (164, 113, 88) | β | β | |
| Forest | (77, 175, 74) | β | β | β |
Model tree for claudaff/Cartographic-ControlNet
Base model
lllyasviel/ControlNet