-
Notifications
You must be signed in to change notification settings - Fork 0
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
Force the use of @id
in place of identifier
for GeoNetwork SO
#68
Comments
Unfortunately, I had to commit a grave sin in order to make this work. The opersist Thing model wouldn't accept a json document that didn't have an I know it's not in the spirit of the network's metadata harvesting practice, but I don't want to have to mess with how the model is structured. I suppose it's "in kind" with the sins that GeoNetwork is committing... |
@datadavev can you review this set of changes please? |
I made a mistake and committed directly to the develop branch, let me know if you'd like me to roll those back before you review @datadavev |
This all looks OK. Using There is a question of what happens in the future should the geonetwork sources change, though I think these changes are good. |
Since this is a repo-specific setting, it can easily be turned off if Geonetwork restructures their schema.org definitions. |
|
We've identified some GeoNetwork repositories that incorrectly use
@id
instead ofidentifier
to define the dataset id. While this is technically incorrect in SO parlance, it is part of some (older?) GeoNetwork versions and thus in use in production environments. To correct for this, the SO normalization process should be able to treat@id
as if it were theidentifier
field.This can be achieved by setting
"use_at_id": true
in the SO node settings.json file.The text was updated successfully, but these errors were encountered: