Last active
January 25, 2021 17:22
-
-
Save bertspaan/167f7154d2b3c6aaa491a2204f6dc8a6 to your computer and use it in GitHub Desktop.
IIIF Georeference Annotation example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@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", | |
"@id": "https://data.allmaps.org/annotations/i/yT5Z6epJ7vi7BeLP/m/pVJemU2Kcq4C8HTs", | |
"@context": [ | |
"http://geojson.org/geojson-ld/geojson-context.jsonld", | |
"http://iiif.io/api/presentation/3/context.json" | |
], | |
"motivation": "georeference", | |
"target": { | |
"source": "https://tile.loc.gov/image-services/iiif/service:gmd:gmd384:g3842:g3842c:ct008615", | |
"type": "Image", | |
"selector": { | |
"type": "SvgSelector", | |
"value": "<svg width=\"5212\" height=\"7072\"><polygon points=\"966,3628 923,6769 2400,6757 2388,3623 966,3628\" /></svg>" | |
} | |
}, | |
"body": { | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
1823, | |
6656 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-77.058673, | |
38.889718 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
1360, | |
4110 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-77.244097, | |
38.98936 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
2363, | |
4643 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-77.14912, | |
39.013071 | |
] | |
} | |
} | |
] | |
} | |
}, | |
{ | |
"type": "Annotation", | |
"@id": "https://data.allmaps.org/annotations/i/yT5Z6epJ7vi7BeLP/m/EvBivpkw7ty4CSdJ", | |
"@context": [ | |
"http://geojson.org/geojson-ld/geojson-context.jsonld", | |
"http://iiif.io/api/presentation/3/context.json" | |
], | |
"motivation": "georeference", | |
"target": { | |
"source": "https://tile.loc.gov/image-services/iiif/service:gmd:gmd384:g3842:g3842c:ct008615", | |
"type": "Image", | |
"selector": { | |
"type": "SvgSelector", | |
"value": "<svg width=\"5212\" height=\"7072\"><polygon points=\"2685,504 2694,6928 5171,6934 5178,519 2685,504\" /></svg>" | |
} | |
}, | |
"body": { | |
"type": "FeatureCollection", | |
"features": [ | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
3525, | |
622 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-78.76585, | |
39.648194 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
2840, | |
3153 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-78.137998, | |
39.217154 | |
] | |
} | |
}, | |
{ | |
"type": "Feature", | |
"properties": { | |
"pixel": [ | |
4493, | |
4795 | |
] | |
}, | |
"geometry": { | |
"type": "Point", | |
"coordinates": [ | |
-77.432784, | |
39.406066 | |
] | |
} | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment