Skip to content

Instantly share code, notes, and snippets.

@bertspaan
Created January 18, 2024 19:12
Show Gist options
  • Save bertspaan/058ef1343167c21bef262382117da163 to your computer and use it in GitHub Desktop.
Save bertspaan/058ef1343167c21bef262382117da163 to your computer and use it in GitHub Desktop.
A Point Error occured during resource mask triangulation. This is typically because the resource mask contains duplicate or collinear points, or is self-intersecting.
Display the source blob
Display the rendered blob
Raw
{
"type": "AnnotationPage",
"@context": [
"http://www.w3.org/ns/anno.jsonld"
],
"items": [
{
"id": "49b1e40e0544363a",
"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://gallica.bnf.fr/iiif/ark:/12148/btv1b530650197/f1/full/max/0/default.jpg",
"service": [
{
"@id": "https://gallica.bnf.fr/iiif/ark:/12148/btv1b530650197/f1",
"type": "ImageService3"
}
],
"selector": {
"type": "SvgSelector",
"value": "<svg width=\"9648\" height=\"7240\"><polygon points=\"9064,915 9041,6719 9052,6707 700,6684 665,834\" /></svg>"
}
},
"body": {
"type": "FeatureCollection",
"purpose": "gcp-georeferencing",
"transformation": {
"type": "polynomial",
"order": 0
},
"features": [
{
"type": "Feature",
"properties": {
"pixelCoords": [
6343,
3308
]
},
"geometry": {
"type": "Point",
"coordinates": [
4.5260988,
48.3929958
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
4374,
3988
]
},
"geometry": {
"type": "Point",
"coordinates": [
4.074176,
48.297545
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
2820,
2555
]
},
"geometry": {
"type": "Point",
"coordinates": [
3.7266239,
48.5192731
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
2881,
5962
]
},
"geometry": {
"type": "Point",
"coordinates": [
3.7277651,
48.0017199
]
}
},
{
"type": "Feature",
"properties": {
"pixelCoords": [
5747,
5158
]
},
"geometry": {
"type": "Point",
"coordinates": [
4.3737012,
48.1141931
]
}
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment