Thursday, November 28, 2024
Manuel Claeys Bouuaert
Worskhop during the conference: Conférence “Des outils IIIF pour valoriser et explorer les collections en ligne”
After a short overview presentation of Allmaps on November 27th, this workshop will explore the possibilities of the Allmaps platform in a hands-on way. We will learn to locate map collections and their IIIF Manifest URIs of various partner archives of FranceArchives, and open them in the Allmaps Editor. We’ll look at the format of a Georeference Annotation and demonstrate its usages in the Allmaps Viewer and other tools. This workshop will give you everything you need to get started. We’ll share interesting maps we discover, and log issues encountered to improve the IIIF setup at the partner local archives and help the development of Allmaps.
As FranceArchives lists on its website, as of November 2024 about 20 national, départementale and municipal french archives have online portals that support IIIF. And many of those collections also include maps!
Earlier tests by FranceArchives staff to use the Allmaps tools with maps from these archive portals have indicated that the software implementation at some used at about half of these archives produces Manifests which Allmaps can’t currently process. This should be fixed in the coming year, but sadly it prevents us from using these archives today.
About 10 archives had no issues, and we’ll be using these today. These archives are:
Archive | Search portal | Example map |
---|---|---|
Departmental archives of Ille-et-Vilaine | Search | Example |
Municipal archives of Bazas | Search | Example |
Municipal archives of Montbrison | Search | Example |
Municipal archives of Aurillac | Search | Example |
Municipal archives of Saint-Omer | Search | Example |
Municipal archives of Carmaux | Search | Example |
Municipal archives of Dieppe | Search | Example |
Municipal archives of Abbeville | Search | Example |
Digital heritage library of Alençon | Search | Example |
Bibliothèque nationale de France | Search | Example |
Now it’s up to you: browse these archives and find a map you like!
Here are some tips:
ℹ️ Sharing maps during the workshop
If you found interesting maps or map series and would like to share them with other participants (to ask for georeferencing help or show off your finds or georeferencing results) you can use this FramaPad. It’s free to edit, just start typing. (You can ignore the notice about the pad expiring, and enter your name when it suggests you to, if you wish).
Once we find a map, we need to find the URL of it’s IIIF Manifest (or IIIF Image). This URL is how we will point Allmaps to the map in question.
To locate the IIIF Manifest URL, there are a couple of options. Use the one that works best for you.
iiif
logo, then under i
.≡
button called Aficher le menu latéral
and in the i
panel scroll down to the bottom to find Liens: Manifeste IIIF
.https://archives-numeriques.ville-bazas.fr/viewer/9038/?offset=#page=1&viewer=picture&o=&n=0&q=
we can find the id 9038
in the URL and construct the IIIF Manifest URL https://archives-numeriques.ville-bazas.fr/iiif/9038/manifest
https://images-archives.ille-et-vilaine.fr/idurl/1/103954
we can find the id 103954
in the URL and construct the IIIF Manifest URL https://images-archives.ille-et-vilaine.fr/iiif/103954/manifest
ℹ️ The difficulty of finding IIIF Manifests URLs
You might notice that finding a map on a platform, and finding its corresponding IIIF Manifest URL can be a tricky task, and might even be a hurdle for people new to IIIF. Indeed, improvement is still needed in platforms and viewers to make sure a (map) IIIF Manifest can always easily be found.
Now that we have found a map in a partner archive, and identified the IIIF Manifest URL that points to it, we can open Allmaps Editor to georeference the map, creating a Georeference Annotation.
Load
. At the top you now see four tabs (you can always go back and forth).ℹ️ Dealing with error messages
For some maps of archives outside those proposed in the list above, you might see an error when entering the IIIF Manifest URL in the Allmaps Editor, e.g.
failed to fetch
.Sometimes this is due to the fact that Allmaps Editor doesn’t (yet) support all possible implementations of IIIF Manifests, … as specified by the IIIF Presentation API. In other cases, it’s only a question of CORS not being enabled (i.e. the server hosting the image has not allowed other servers, in this case Allmaps Editor, to load the image). If you would really like to use this map in Allmaps, you can try to find out if this is indeed the problem by circumventing it e.g. using an ‘Allow CORS’ plugin for your browser. Raise your hand if you want help trying this out.
Collection
tab (often there’s only a single image to select).i
. If you click it, you will see the metadata contained in the Manifest of the map we are georeferencing.Mask
tab and draw a mask by zooming in and clicking the image.Collection
and back) to remove it again.Georeference
tab. On the left you see the selected image, on the right a world map. Zoom to the relevant region on the world map. Click a point you recognise on both maps (which has remained the same over time), such as a church tower or a road crossing. Add the point on both sides (a number will indicate that they are paired). Add at least three of these points (they are called control points). Ideally, they are spread out over the map as possible.</>
button on the bottom right of the screen to inspect the Georeference Annotation you just created finishing step 2. It is shown in the black pane. You can also open the annotation in a new browser tab using Open in new tab
.source
).
2) The mask which describes where the map is on that resource (under selector
).
3) The control points (under features
).Show annotation for
: you can choose between Manifest
, Image
, Map
. The annotation in the black panel will adapt to contain the annotations of your choice.
Map
refers to the current selected mask (and related control points)Image
refers to all the masks (and related control points) of the currently selected IIIF Image (or Canvas)Manifest
refers to all the masks (and related control points) of all the images in the current IIIF Manifest (see the overview in the Collection
tab).Copy
and Download
buttons. If you want to save this Annotation in your own annotation or archival system, you could use these.💬 Storing Georeference Annotations
The Allmaps Editor currently stores a copy of every annotation that is created. If you or someone else opens the same IIIF Manifest URL in the Allmaps Editor at a later moment, the masks and control points you entered will show up. Anyone can thus alter and improve your annotation. It is therefore wise to save a copy of your data somewhere if you want to keep this specific version. In the future, it will be possible to pin or request specific versions of an annotation.
The Georeference Annotation can be used in any tool that can interpret this type of data. Allmaps Viewer is one of them. It warps the maps and displays it in the right location over a basemap.
Copy
in the </>
panel.View
. The georeferenced map will now open in the Allmaps Viewer. You can go back and forth between the warped map and the original image by clicking the Map
and Image
buttons in the top right corner.spacebar
to quickly hide the mapB
or use the right knob to remove the background colorM
to display the outline of the mask(s)T
to change the transformation algorithm.Manifest
or Image
, all maps are rendered at once. Extra tricks when multiple maps are loaded:
[
and ]
to browse the collection (the selected map will be on top)💡 Directly from Editor to Viewer
We suggested to copy/paste the annotation to demonstrate how Allmaps works on the basis of Georeference Annotations. It is important to be aware of these files that contain information, can be stored in an archival system and opened again.
An quicker way to view a map from the Editor is to navigate to the
Results
tab and open one of the links, such asView current image
. In this case, the Georeference Annotation you created is loaded from Allmaps’ database directly. This means that new edits in the Editor will become visible in the Viewer after refreshing the page. You can leave both tabs open to improve your work.
ℹ️ Advanced: looking up manifests
In case you found a IIIF Manifest containing a map and want to find out if a Georeference Annotation exists in the Allmaps database, we already saw it’s possible to simply open the IIIF Manifest URL in the Editor and see if any mask or control points are loaded.
A second option is to directly enter the IIIF Manifest URL in the Viewer and see if a map is displayed.
A third way to check this is more programmatic and uses the Allmaps API:
- Copy the IIIF manifest link
- Open this URL: https://annotations.allmaps.org/?url=
- Paste the IIIF manifest link after
?url=
in the browser address bar and press enter
Once you georeferenced a map, you can also use it in other tools like webmaps (using the Allmaps webmap plugins) or GIS-applications like QGIS. Here, we will use it in an online GIS application and trace features on the map.
We will use Placemark Play, a free and open source online GIS tool.
Help
) and click the +
button to add a new layer. Choose + Custom
and XYZ
. Give your layer a name, and for the template URL go back to the Editor and copy-paste the ‘XYZ’ link of the Allmaps Tile Server at the bottom of the Results
tab. Find out more about the Allmaps Tile Server below.backspace
or clicking the bin icon in the top.File
> Export
. Choose a format you are familiar with (or GeoJSON by default).You could now use this data to compare these features with similar features from other databases (like current rivers or buildings from OpenStreetMap).
ℹ️ About the Allmaps Tile Server
In order to add the map as a layer in Placemark Play (and also in GIS-applications like QGIS or ESRI ArcMap), you need to use the Allmaps Tile Server. The Tile Server creates XYZ map tiles: a very broadly supported format in GIS applications to load maps. It acts as a ‘proxy server’ and created the requested XYZ tiles on the fly, using the Georeferencing Annotation. This way, you can load maps that don’t directly support Georeference Annotations, by loading XYZ-tiles made from your Georeference Annotation!
We hope it’s clear to you now how the different Allmaps tools can be used to georeference, view and use IIIF maps. If you have any questions, would like to integrate these tools in your archive’s software platform or would like to use these tools in research or valorisation, don’t hesitate to reach out to Allmaps!
You can send us an email or reach us in the #allmaps
channel of the IIIF Slack.