Serving IIIF Images via Web Tile Map Service
This article summarizes the steps to generate XYZ tiles from IIIF Georeference Extension JSON, serve them with TileServer GL, and display them with MapLibre GL JS. Bird’s-eye view map of the University of Tokyo overlaid on OSM Overview I ┌ │ │ └ ┌ │ │ └ ┌ │ │ └ ┌ │ │ └ I ─ ─ ─ ─ ─ ─ ─ ─ I ─ i ( ─ ─ m ( ─ ─ T ( ─ ─ M ( ─ F ─ i X ─ ─ b m ─ ─ i t ─ ─ a m ─ ─ i Y ─ ─ - b ─ ─ l i ─ ─ p a ─ G ─ f Z ─ ─ u t ─ ─ e l ─ ─ L p ─ e ─ - ─ ─ t i ─ ─ S e ─ ─ i ─ o ─ g t ─ ─ i l ─ ─ e ─ ─ b d ─ r │ ▼ ─ e i ─ │ ▼ ─ l e ─ │ ▼ ─ r s ─ │ ▼ ─ r i ─ e ─ o l ─ ─ s ─ ─ v e ─ ─ e s ─ f ─ r e ─ ─ ─ ─ e r ─ ─ p ─ e ─ e ─ ─ c ─ ─ r v ─ ─ G l ─ r ─ f g ─ ─ o ─ ─ i ─ ─ L a ─ e ─ - e ─ ─ n ─ ─ G n ─ ─ y ─ n ─ t n ─ ─ v ─ ─ L g ─ ─ J ) ─ c ─ i e ─ ─ e ─ ─ ) ─ ─ S ─ e ─ l r ─ ─ r ─ ─ ─ ─ ─ ─ e a ─ ─ s ─ ─ ─ ─ ─ J ─ s t ─ ─ i ─ ─ ─ ─ ─ S ─ i ─ ─ o ─ ─ ─ ─ ─ O ─ o ─ ─ n ─ ─ ─ ─ ─ N ─ n ─ ─ ) ─ ─ ─ ─ ─ ─ ) ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┐ │ │ ┘ ┐ │ │ ┘ ┐ │ │ ┘ ┐ │ │ ┘ Prerequisites Docker / Docker Compose Python 3.x GDAL (gdal_translate, gdalwarp, gdal2tiles.py) Pillow (pip3 install pillow) mb-util Installing GDAL # b # s r u m e U d a w b o c u O i n a S n t p s u t ( t / H a D i o l e n m l b s e i t b g a a r d n l e a l w l ) g d a l - b i n p y t h o n 3 - g d a l Installing mb-util p i p 3 i n s t a l l m b u t i l 1. Project Structure w ├ ├ ├ ├ └ t ─ ─ ─ ─ ─ m ─ ─ ─ ─ ─ s / d d s f d o a t r o c t y o c k a l n s e / e t / r s e - / n c d o / m p o s e . y m l # # # m C M b u a t s p i t L l o i e m b s r s e f t i y v l l i e e e s s w e r o p t i o n a l ) 2. Docker Compose Configuration docker-compose.yml: ...