Skip to content

Latest commit

 

History

History
 
 

tileserver

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Allmaps Tile Server

Allmaps Tile Server is a proxy server that turns Georeference Annotations into XYZ map tiles.

Allmaps Tile Server runs on Cloudflare Workers. Cloudflare Workers let you run tiny JavaScript programs on Cloudflare's global CDN. Cloudflare is working on publishing the Workers system as open source.

For more information, see https://observablehq.com/@bertspaan/allmaps-tile-server.

Development

Run locally with Miniflare:

pnpm run dev

Publish to Cloudflare Workers:

wrangler publish

API

Example Georeference Annotation of a map of Coney Island from the NYPL:

By using the URL of a Georeference Annotation

You can turn this Georeference Annotation into XYZ tiles like this:

Allmaps Tile Server also supports TileJSON:

By using the Allmaps ID of a georeferenced map

If Allmaps has georeference data available about a certain IIIF image and you know its Allmaps ID, you can also use this ID directly.

You can find out the Allmaps ID of all the maps in a georeferenced image like this:

This image contains one map, with ID 25b0d49e1b659498. The XYZ tile URL of this map is:

And for TileJSON:

By supplying a complete URL encoded Georeference Annotation

Instead of the URL of a Georeference Annotation, you can also supply the URL-encoded contents of the Georeference Annotation using the annotation URL parameter:

And for TileJSON: