@keilw thanks for your response. I will have a focus on uom-systems to see if it fits.
by "converting UOM symbols" I mean to convert to UOM symbols. that is having arbitrary uom strings (used by a domain which are not standard), parse it into a known unit (very likly via some mapping config) and then get out the actual UCUM symbol from it.
Currently I do have org.geotools:gt-opengis:14
on my classpath which ships with jsr-275 beta jar which provides a UnitFormatter via `UnitFormat.getUCUMInstance(). However, JSR-275 was rejected by the EC.
BaseUnit
has an additional argument Q
, but I see no realistic way to pass that when constructing the class, nor to retrieve it later. Using the Class
maybe, that's already done in other places like unit systems.