diff --git a/deegree-core/deegree-core-style/src/main/java/org/deegree/style/utils/UomCalculator.java b/deegree-core/deegree-core-style/src/main/java/org/deegree/style/utils/UomCalculator.java index 22f72c8632..ff8160a6ca 100644 --- a/deegree-core/deegree-core-style/src/main/java/org/deegree/style/utils/UomCalculator.java +++ b/deegree-core/deegree-core-style/src/main/java/org/deegree/style/utils/UomCalculator.java @@ -65,8 +65,9 @@ public final double considerUOM( final double in, final UOM uom ) { case Pixel: return in * 0.28 / pixelSize; case Foot: - // TODO properly convert the res to foot - return in / resolution; + // Note: Use 1 foot as 12 inches => 30,48 cm + // @see http://en.wikipedia.org/wiki/Foot_%28unit%29 + return in * 0.3048d / resolution; case Metre: return in / resolution; case mm: