Closed kazlauskis closed 4 years ago
This part attaches the entered_sref
to the submission in this file.
For some reason the value.plot
must be empty or corrupted so that the warehouse rejects it then.
location: {
id: 'location_id',
values(value, submission) {
// add other location related attributes
submission.fields.entered_sref = value.plot; // eslint-disable-line
// lat lon
if (value.plot.match(/\d+\.\d+N \d+\.\d+W/g)) {
submission.fields.entered_sref_system = 4326; // eslint-disable-line
}
return value.id;
},
}
@kazlauskis can this be closed?
I will close it once the app is released in the apple app store
@kazlauskis Can this be closed?