<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am trying to interpret font sizes coming from OGR feature style
    strings.<br>
    <br>
    I would expect a font size in ground units to be scale-dependent
    inasmuch as a label would get smaller when you zoom out and bigger
    when you zoom in. I would expect a font size in pts, mm, inches,
    pixels, etc. to be scale-independent and to be drawn with that size
    at the current display scale.<br>
    <br>
    The problem I have encountered is that the style tools do not seem
    to offer a way to get at the input units (OGRStyleValue::eUnit) of a
    given parameter. The classes only seem to offer a way to convert the
    values from their unexposed input units to some given output units.<br>
    <br>
    Is there a way to get at that information? If not, would it make
    sense to add a GetInputUnit(Param) method on the OGRStyleTool
    classes?<br>
    <tt>OGRSTUnitId GetInputUnit(OGRSTLabelParam eParam, GBool
      &bValueIsNull);</tt><br>
    <br>
    I have also considered trying to use SetInternalInputUnitFromParam
    to work around the problem at my level, but I cannot seem to get at
    the original parameter string as GetParmStr gives back a
    unit-converted string.<br>
    <br>
    Thanks,<br>
    Andre<br>
    <br>
    <small>Any views or opinions expressed in this email are solely
      those of the author and do not necessarily represent those of the
      company. No binding contract will result from this email until
      such time as a written document is signed on behalf of the
      company.</small>
  </body>
</html>