Code cleanup for WMS rendering of measurements, introduction of min and max range as well as selection of band