-
Notifications
You must be signed in to change notification settings - Fork 493
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
Attribute naming of bounding-box wrong (North and South Longitude) #5645
Comments
Hi @pdante-ubc - I'll tag in local metadata block enthusiast @jggautier to get his thoughts about what a fix would look like here. |
Thanks for pointing out this error, @pdante-ubc! Because this fix involves changes to the database's field names, as opposed to the field labels we see in the UI, I don't know if editing and reloading the geospatial.tsv, the thing I'm most familiar with doing, would be appropriate. There's a warning in our metadata customization guides:
So would only editing these field names in the geospatial.tsv and reloading it create duplicate fields? |
If it helps, the logic is in "DatasetFieldServiceApi.java": https://github.com/IQSS/dataverse/blob/v4.11/src/main/java/edu/harvard/iq/dataverse/api/DatasetFieldServiceApi.java Update: I'm just adding the terms |
Related to Improve Geospatial Metadata Block #6713. |
@jggautier sorry no one fully answered your question, but yes it would create duplicates since the "name" is what we use to match the DatasetFieldType. So the change in the tsv would need to be accompanied by a corresponding db change. But it would be a straightforward update query. |
2024/01/08: This is a cleanup task. See tasks below. Update with size: 10
|
2024/01/31
|
As for maintaining backward compatibility on the API level - I don't really have a strong opinion. We can keep code in place that recognizes the old names, or we can say firmly that this is a breaking change and the old names are no longer accepted because they were wrong in the first place. Either option is ok, IMO. |
I was working on a harvester to grab data/metadata from Dataverse and noticed that North and South Latitude fields in the geospatial metadata are mislabeled as "Longitude". The web interface titles the fields as "Latitudes" so this doesn't break anything other than for developers who are trying to parse metadata coming out of Dataverse. The error is both in actual metadata coming out of Dataverse and in the field names in the Dataverse Metadata v4.x spreadsheet, although the spreadsheet has the correct labels in the title.
The text was updated successfully, but these errors were encountered: