theberlage / allmaps-workshop

Project NL workshop
https://theberlage.github.io/allmaps-workshop/
1 stars 16 forks source link

Overlapping maps in a single manifest #11

Open sammeltassen opened 1 year ago

sammeltassen commented 1 year ago

Discussed in https://github.com/theberlage/project-nl/discussions/4

Originally posted by **chaomin0819** October 4, 2022 ## Georeference to Placemark/Allmap - overlapping maps in the same manifest **current situation** Certain areas have two maps from different period of time in the same edition (e.g. Rotterdam in Frist Revision). It is impossible to georeference two maps in the same manifest without them overlapping. **proposed solution** extra manifest links for these maps, so they can be georeferenced and put in Placemark/Allmaps seperately.
sammeltassen commented 1 year ago

Example manifest with multiple sheets of the same area:

Solution 1: Use editor to export individual annotations

If we open the manifest in the Allmaps Editor it's easy to export annotations of individual maps:

Here're the two annotations of the sheet of Rotterdam:

You can then generate the XYZ urls by placing the annotation url at the end of the template from the Readme:

These can be imported in Placemark.

Solution 2: Make a new manifest

Another possibility is to create one or more new IIIF manifests containing a selection of images.

This can be done by opening the manifest in Visual Studio Code, removing canvasses and committing it to Github. Each canvas has a label, which should make it easy to find the right images.

Once this new manifest is loaded in the editor, it's possible to create an AnnotationPage for the entire manifest by using the url template:

NB: You don't have to georeference the images again, Allmaps will recognize them. It's necessary however to load the manifest in the Editor once to create the link between this new manifest and the existing georef annotations.

NB2: You need to adapt the @id of the new manifest to match the raw GitHub url. Keeping the old ID will confuse the Allmaps API.

I can help you edit the manifest and show you how you can use other (visual) tools for this as well.