Skip to content

Instantly share code, notes, and snippets.

@glenrobson
Created November 17, 2023 11:12
Show Gist options
  • Save glenrobson/d0b2989f36f8a4f22b5ab538bd0aa75a to your computer and use it in GitHub Desktop.
Save glenrobson/d0b2989f36f8a4f22b5ab538bd0aa75a to your computer and use it in GitHub Desktop.
Map GIS
{
"type": "AnnotationPage",
"@context": [
"http://www.w3.org/ns/anno.jsonld"
],
"items": [
{
"id": "b36bf8acd682a429",
"type": "Annotation",
"@context": [
"http://www.w3.org/ns/anno.jsonld",
"http://geojson.org/geojson-ld/geojson-context.jsonld",
"http://iiif.io/api/presentation/3/context.json"
],
"motivation": "georeferencing",
"target": {
"type": "Image",
"source": "https://damsssl.llgc.org.uk/iiif/image/1445624/full/full/0/default.jpg",
"service": [
{
"@id": "https://damsssl.llgc.org.uk/iiif/image/1445624",
"type": "ImageService2"
}
],
"selector": {
"type": "SvgSelector",
"value": "<svg width=\"12985\" height=\"12517\"><polygon points=\"1397,307 12656,307 12766,11998 3979,11933 3123,8396 2250,7927 1120,8089 571,7960 377,7217 247,6328 183,4067 457,3130 1023,2791 1249,1838 1200,433\" /></svg>"
}
},
"body": {
"type": "FeatureCollection",
"transformation": {
"type": "polynomial",
"options": {
"order": 1
}
},
"features": [
{
"type": "Feature",
"properties": {
"pixelCoords": [
6008,
9600
]
},
"geometry": {
"type": "Point",
"coordinates": [
-4.062956,
52.4397185
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
8795,
11780
]
},
"geometry": {
"type": "Point",
"coordinates": [
-4.0564857,
52.4340956
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
761,
3304
]
},
"geometry": {
"type": "Point",
"coordinates": [
-4.076597,
52.450904
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
12325,
10236
]
},
"geometry": {
"type": "Point",
"coordinates": [
-4.0459464,
52.4359229
]
}
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment