Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
glenrobson opened this issue Feb 7, 2020 · 4 comments
Open

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

glenrobson opened this issue Feb 7, 2020 · 4 comments

Comments

@glenrobson
Copy link
Member

glenrobson commented Feb 7, 2020

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
Copy link

mejackreed commented Feb 7, 2020

The needed information for providing georeferencing of an image:

  • mask of image (area to be georef, can be whole image)
  • control points related to geographic space + pixel coordinate space

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
Copy link

abrin commented Feb 8, 2020

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

@glenrobson
Copy link
Member Author

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

@mprove
Copy link

mprove commented Aug 23, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants