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 assign a geo bounding box for a map #133

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

I want to assign a geo bounding box for a map #133

glenrobson opened this issue Feb 7, 2020 · 6 comments

Comments

@glenrobson
Copy link
Member

Description

I want to assign a geo bounding box for a map to aid discovery

17-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.)

@glenrobson glenrobson added the maps label Feb 7, 2020
@glenrobson
Copy link
Member Author

Example service on the manifest:


  "service": {
    "@context" : "http://geojson.org/geojson-ld/geojson-context.jsonld",
    "@id" : "http://www.example.org/geojson/paris.json",
    "type": "Feature",
    "bbox":[ -10.0, -10.0, 10.0, 10.0]
 }

@glenrobson
Copy link
Member Author

glenrobson commented Feb 10, 2020

In production version from @jbhoward-dublin:

Manifest: https://data.ucd.ie/api/img/manifests/ucdlib:256179
Object description: https://digital.ucd.ie/view/ucdlib:256179

Note they have encoded a bounding box like:

"service": [{
    "@context": "http://geojson.org/geojson-context.jsonld",
    "@id": "https://data.ucd.ie/api/geo/v1/dl/geoFilter=bbox(-9.8582479,53.8633133,-9.4400571, 54.0405075)&format=geojson",
    "geometry": {
        "coordinates": [
            [
                -9.8582479,
                53.8633133
            ],
            [
                -9.4400571,
                54.0405075
            ]
        ],
        "type": "Polygon"
    },
    "label": "Bounding box coordinates",
    "profile": "http://geojson.org/geojson-spec.html",
    "properties": {
        "name": "Collins' scribbling diary for 1909",
        "type": "dcterms:Box"
    },
    "type": "Feature"
}]

@azaroth42
Copy link
Member

The service needs to be rewritten at this point to use JSON-LD 1.1 best practices and features.

For recipes, they should be 3.0 (per versioning discussion) ... and this is still 2.0 era.
So I'm 👎 that this is ready to have a recipe yet.

@azaroth42
Copy link
Member

In particular, the geoJSON service was first discussed and described at the Copenhagen meeting where we renamed metadata to presentation, pre 2.0. So it's not that the recipe or issue is bad, it's that I think there needs to be more work on the basics before jumping into the solution.

For v3, ...

@thehabes
Copy link

thehabes commented Apr 15, 2020

There is a related issue on this point being discussed in https://github.com/IIIF/api/ at the following link IIIF/api#1246. Perhaps using a service at all for this doesn't make sense. Alternatives are embedded Annotation or an extension like navPlace.

@eliotjordan
Copy link

eliotjordan commented Sep 9, 2020

Example JSON for assigning a bounding box to a IIIF resource from the Chronoscope web application:

{	id	: "MxHL28488267",
	title	: "Astygnomon sive Europaearum urbium maxime insignium index. earum distantias mutuas perquam accurate ostendens; G. Valck",
	year	: 1694,
	urlInfo	: 'https://id.lib.harvard.edu/digital_collections/990128376990203941',
        urlIIIF	: 'https://ids.lib.harvard.edu/ids/iiif/28488267/pct:7,10,86,80/',
	corners: [[-14.49770,60.36137],[32.19372,60.34046],[32.13611,37.70058],[-14.39956,37.65459]]
}

https://mprove.de/chronoscope/world-en.html

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

5 participants