Skip to main content

Provide tiles data for a web view of an ancient map

Project description

Ancient-map-tiler

This project aims to generate tiles data for a web view of any ancient map.
The source image of the map may be very large. To be usable in a web view such as Leaflet it must be splitted into tiles at different zooms.

Usage

# (Optional) Download a large map from wikipedia
wget https://upload.wikimedia.org/wikipedia/commons/5/50/TabulaPeutingeriana.jpg


pip install ancient-map-tiler
ancient-map-tiler TabulaPeutingeriana.jpg -o tiles

Development

Prerequisites

  • python (tested on 3.13)
  • poetry
  • pre-commit

Getting started

git clone git@gitlab.com:noan-cloarec/ancient-map-tiler.git
cd ancient-map-tiler

poetry install
pre-commit install

# Generate the tiles into a directory named tiles
poetry run ancient-map-tiler TabulaPeutingeriana.jpg -o tiles
# Open the preview in your web browser
open simple_map_preview.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ancient_map_tiler-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ancient_map_tiler-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file ancient_map_tiler-0.1.1.tar.gz.

File metadata

  • Download URL: ancient_map_tiler-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.14.0-37-generic

File hashes

Hashes for ancient_map_tiler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ad91cf38290a0e2ec4d1e2f1edbce63df8bbaa89070466e99aaaae192f692790
MD5 c6891ce882d9584f5114dacd7a108f27
BLAKE2b-256 749f94ba6b7b8b809b9b9375c364d3d2e364efd0d2fe00c785ab0be489b757e8

See more details on using hashes here.

File details

Details for the file ancient_map_tiler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ancient_map_tiler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.14.0-37-generic

File hashes

Hashes for ancient_map_tiler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6a3fb3fff62cc400b43b8b5fb0aa13b1f362cd40999b263dce90d7055037ece
MD5 53f8a382b08212bebafd04c385d2f679
BLAKE2b-256 088bb193b24ef98c37c03c2c1560ca0c12d4b72ec0c02c2252de3a9c01e55493

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page