biodiversitydata-se / svh-to-gbif

GNU Affero General Public License v3.0
0 stars 0 forks source link

Add associatedMedia #7

Open shahmanash opened 3 years ago

shahmanash commented 3 years ago

Some records from GB datasets have images associated to them, for eg: http://herbarium.emg.umu.se/record.php?InstitutionCode=GB&AccessionNo=GB-0152378&Page=1&AaccNr=GB-0152378&Ainst=GB&Acoll=&Aid=95148335&nrRecords=1

Use the DarwinCore terms associatedMedia to store the URLs to the original image filename https://dwc.tdwg.org/terms/#dwc:associatedMedia

idali0226 commented 3 years ago

Original image filenames are not exported to csv file.

shahmanash commented 3 years ago

The field ImageLinks from the export file should be mapped to associatedMedia varchar(45) DEFAULT NULL . The length of the field might need to be increased to accommodate long URLs.

idali0226 commented 3 years ago

Fixed