https://github.com/danvk/historymaps
Creating interactive historical maps of the world
https://github.com/danvk/historymaps
Last synced: 11 months ago
JSON representation
Creating interactive historical maps of the world
- Host: GitHub
- URL: https://github.com/danvk/historymaps
- Owner: danvk
- Created: 2011-11-19T22:41:49.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2016-06-27T13:22:45.000Z (about 10 years ago)
- Last Synced: 2025-04-08T18:17:09.053Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 4.12 MB
- Stars: 15
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Creating interactive historical maps of the world.
To run the viewer demo:
- Install necessary libraries, e.g.
sudo port install py27-sqlite
sudo port install py27-pil
sudo port install ImageMagick
- Copy over the WHM SVG files into the appropriate dir.
- Build the sqlite DB:
./extract_all.py
- Convert to JSON:
./extract_rome.py > several_countries.js
- Create image tiles:
convert worldhistorymaps/html/Wgeo.svg -transparent white rome-bg.png
./tiler/subdiv.py rome-bg.png
Note the size of the expanded image and the original (un-tiled) image size in
map.js.
- Load the map:
historymaps/map.html