-
Notifications
You must be signed in to change notification settings - Fork 52
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
Consider changing some metadata elements from required to optional #855
Comments
Some investigations: Omitting Provenance: the record loads to Solr, but the page does not display in the application. A workaround is including the field in the record and setting the value to a space. Omitting Geometry Type: the record loads to Solr and a direct link to the page works. However, faceted search pages that include the record will return a 500 error. Omitting Solr Geom (bounding box): this seems to work fine in the BTAA geoportal. Does it work for others? |
@ewlarson Here are 3 records to use for testing. |
Running your test docs using GeoBlacklight#master. Here's what I'm seeing: No Solr GeomMostly this just seems to work, with the caveat any map-based query will exclude these documents from a bounding-box-scoped search. Also, clicking on a result item to view the show page creates a JS error: "Uncaught Invalid bounding box string"
Possible resolutionWe'll need to adjust the event handler here to not expect every result to have a bbox. Omitting ProvenanceShow action does not display. Record errs calling BL's "fetch" method in this GBL function: Possible resolutionWrap the GBL same_institution? method to check the doc for provenance. Omitting Geometry TypeI'm not seeing anything wrong here. Doc works in GeoBlacklight. Perhaps a Geoportal customization is causing this document to fail there? I'll start working on fixes for the first two scenarios here. |
Only draw a bounding box on the map if data-bbox exists. Addresses #855
@karenmajewicz The code side of this issue is now resolved in my branch. Once this is merged, we'll need to update our schema documentation accordingly. |
Only draw a bounding box on the map if data-bbox exists. Addresses #855
Updated chart [in progress]
|
Only draw a bounding box on the map if data-bbox exists. Addresses #855
Descriptive summary
The GeoBlacklight schema requires several elements that effectively restrict what kind of layers can be loaded into a GeoBlacklight application. Examples of records that someone might want to add to GeoBlacklight without adding a value for a required element include:
Additionally, there is a slight discrepancy between the required elements in the schema documentation as opposed to what is actually necessary to load into the application. This table shows the affected elements (at least as configured for the BTAA geoportal - please update if these are incorrect for default GeoBlacklight):
Proposed Changes
This ticket proposes that we consider releasing the requirement for the following elements to facilitate more flexible records:
Perhaps we could add another level to the schema beyond Required & Optional to indicate that these values are "Strongly Recommended"?
Related work
Link to related tickets or prior related work here.
#628 (geometry type is still causing browser error for BTAA; anyone else?)
The text was updated successfully, but these errors were encountered: