EnMAP-Box / enmap-box

EnMAP-Box source code repository. See https://enmap-box.readthedocs.io for documentation
GNU General Public License v3.0
35 stars 16 forks source link

[Metadata] Viewer vs Layer properties #875

Open thielfab opened 3 months ago

thielfab commented 3 months ago

In the Viewer, I can view the metadata as the name suggests. I can also make edits, but in the end can not apply them. Although I also would not expect this functionality, as it is a viewer. In the same/similar dialog in the properties I can make my edits and then also apply them by clickling the respective button. So I would suggest, if possible, to deactivate the edit buttons in the Viewer.

grafik

V 3.14.1

thielfab commented 3 months ago

Another thing, perhaps related to #853, is how to deal with "external" files storing metadata, like stac-json or hdr, should they also be updated, or can/should there be an optional button for this (á la "write to/update STAC json")

janzandr commented 3 months ago
  1. The STAC-like sidecar file is a relatively new thing in the EnMAP-Box.
  2. Here, the dialog is called GDAL Metadata, so probably @jakimowb did not want to mix this with STAC metadata.
  3. Technically it is quit easy to flush all the GDAL metadata into the STAC JSON file. If we want to, we could do it

@jakimowb I think we should reconcider whether the (GDAL) metadata viewer should also show the STAC metadata. In my RasterReader, I take metadata from all the different sources (GDAL, STAC, QGIS Properties). Would be good, if the layer properties would also show all the different types of metadata. Maybe in separated widgets like "GDAL Metadata", "STAC Metadata", "Layer Properties" etc.