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.2.0.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.2.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ancient_map_tiler-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 08632ee05a44ef4b521b8ba0724f552a510805b77a93665d7be64cfacbf82c19
MD5 86b5a60595a0c66567755c96e6115f4d
BLAKE2b-256 18a4eeec40effdc29744f4097aec33d0c49cc1ed003c4188c893bc0862fa3e11

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ancient_map_tiler-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bbb30efdda753b3de6f5f643479188d5818547f35499ad6ac54e9743e3ffae7
MD5 86b71c6442885f4194c6121adbadc41a
BLAKE2b-256 8cb9779067dde07d19560160559b0ce79992f6e55318f8047f1e9e58ed2d2f70

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