IIIF / iiif-stories

Community repository for documenting stories and use cases related to uses of the International Image Interoperability Framework.
21 stars 0 forks source link

I want to georeference a IIIF image of a map  #129

Open glenrobson opened 4 years ago

glenrobson commented 4 years ago

Description

I want to georeference a IIIF image of a map

12-votes in Stanford maps meeting

Variation(s)

(do you know of, or can you imagine, similar use cases?)

Proposed Solutions

(any ideas about how your use case might be supported)

Additional Background

(more about your perspective, existing work, etc. goes here.)

mejackreed commented 4 years ago

The needed information for providing georeferencing of an image:

Masking Annotation

targets: svg or whole canvas body: geojson feature collection

FeatureCollection contains points, the points have properties these properties contain the pixel space coordinates.

{
  "id": "http://annotation/id",
  "motivation": "georeferencing",
  "target": "https://example.com/manifest/123/canvas/123#xywh=50,50,100,100",
  "body": {
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "properties": {
          "transformationType": "affine",
          "x": 300,
          "y": 400
        },
        "geometry": {
          "type": "Point",
          "coordinates": [
            -2.109375,
            13.923403897723347
          ]
        }
      },
      {
        "type": "Feature",
        "properties": {
          "transformationType": "affine",
          "x": 100,
          "y": 200
        },
        "geometry": {
          "type": "Point",
          "coordinates": [
            11.25,
            21.616579336740603
          ]
        }
      }
    ]
  }
}
abrin commented 4 years ago

to clarify, geometry and control points are at the canvas points for the image. (was the pixel points for the full image)

glenrobson commented 4 years ago

Control points would be for the full image or rather the canvas dimensions.

mprove commented 10 months ago

A video demo with Chronoscope World