Skip to content

Instantly share code, notes, and snippets.

@bertspaan
bertspaan / geotiff.sh
Last active July 2, 2024 14:55
Output of Allmaps CLI GDAL script
#!/usr/bin/env bash
mkdir -p .
if ! command -v gdalinfo &> /dev/null
then
echo "Error: gdalinfo could not be found. Please install GDAL."
exit 1
fi
if ! command -v gdalbuildvrt &> /dev/null
@bertspaan
bertspaan / images-af353a0563443afb.json
Created January 18, 2024 19:12
A Point Error occured during resource mask triangulation. This is typically because the resource mask contains duplicate or collinear points, or is self-intersecting.
{
"type": "AnnotationPage",
"@context": [
"http://www.w3.org/ns/anno.jsonld"
],
"items": [
{
"id": "49b1e40e0544363a",
"type": "Annotation",
"@context": [
@bertspaan
bertspaan / allmaps-loading.json
Created January 13, 2024 08:45
Allmaps loading animation
{
"v": "4.8.0",
"meta": { "g": "LottieFiles AE 3.5.3", "a": "", "k": "", "d": "", "tc": "" },
"fr": 29.9700012207031,
"ip": 0,
"op": 73.000002973351,
"w": 800,
"h": 800,
"nm": "Comp 1",
"ddd": 0,
@bertspaan
bertspaan / new-georeference-annotation.json
Created September 7, 2023 15:12
New Georeference Annotation
{
"type": "AnnotationPage",
"@context": [
"http://www.w3.org/ns/anno.jsonld"
],
"items": [
{
"id": "http://annotations.localhost:9584/maps/aa63f31a95561595",
"type": "Annotation",
"@context": [
@bertspaan
bertspaan / recogito-annotation.json
Created January 25, 2021 17:07
Annotation created by https://recogito.pelagios.org/ on a IIIF source image
[ {
"@context" : "http://www.w3.org/ns/anno.jsonld",
"id" : "https://recogito.pelagios.org/annotation/40616c7f-bc6a-46dc-824f-e89190c235b9",
"type" : "Annotation",
"generator" : {
"id" : "https://recogito.pelagios.org/",
"type" : "Software",
"name" : "Recogito",
"homepage" : "https://recogito.pelagios.org/"
},
@bertspaan
bertspaan / loc-88695674.georef.annotation.json
Last active January 25, 2021 17:22
IIIF Georeference Annotation example
{
"@id": "https://data.allmaps.org/annotations/m/4qzVfHU7rDgRqP7q",
"type": "AnnotationPage",
"@context": [
"http://geojson.org/geojson-ld/geojson-context.jsonld",
"http://iiif.io/api/presentation/3/context.json"
],
"items": [
{
"type": "Annotation",
@bertspaan
bertspaan / manifest.json
Last active January 6, 2021 14:08
Rotterdams Publiek - Test-manifest voor losse IIIF-kaarten
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@type": "sc:Manifest",
"@id": "https://gist.githubusercontent.com/bertspaan/033d1d4ccf9cf24918eed90d1694f6ab/raw/b73036cba3bc08e42266d349a15333604045a80b/manifest.json",
"sequences": [
{
"@type": "sc:Sequence",
"canvases": [
{
"@id": "https://rotterdamspubliek.nl/iiif/manifest/test#canvas/0",
@bertspaan
bertspaan / georef.annotation.json
Created August 9, 2020 18:56
Georeferenced IIIF Map Annotation
{
"@id": "https://bertspaan.nl/iiifmaps/#/?url=https://www.davidrumsey.com/luna/servlet/iiif/m/RUMSEY~8~1~319335~90088251/manifest",
"type": "AnnotationPage",
"@context": [
"http://geojson.org/geojson-ld/geojson-context.jsonld",
"http://iiif.io/api/presentation/3/context.json"
],
"items": [
{
"type": "Annotation",
@bertspaan
bertspaan / mask.json
Created July 25, 2020 09:23
facade-cutter output
{
"data": {
"mask": [{
"x": 1075,
"y": 213
}, {
"x": 2428,
"y": 231
}, {
"x": 2425,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.