Im trying to import a BAG file in a database. A bag file has 2 bands (elevation and uncertainty) and a metadata string. I want to import the 2 bands and the metadata features to their own column in a table. When I try to import the metadata string it imports the whole string to one column called: Bag_metadata_string. I have no experience with the xml transformators.
I tried to export the string to a xml file and continue with that xml file to import in a database. It worked almost but not completely. When I export to XML it changes the < > to something like &gm; and ≷
When i changed them back in notepad to < > it could be used to import to a database. Unfortunately it created only the columns and didn't import the data.
What is a good workaround to work with a BAG file so I can export the metadata correctly from BAG to postgis?