<div dir="ltr">

<p style="margin:0px;text-indent:0px">Hi Randal:</p><p style="margin:0px;text-indent:0px"><br></p>The label expression:<br><br><br>[% '1 inch to ' || (to_int( $scale )/12) || ' Feet'%]<br><br><br>must work... but I got "1 inch to 0 Feet".  $scale help says: "This function is only available in some contexts and will be 0 otherwise". .... Which contexts?<br><br>Developers, please light us.<p style="margin:0px;text-indent:0px"><br></p><p style="margin:0px;text-indent:0px">Carlos Cerdán<br></p><p style="margin:0px;text-indent:0px"><br></p></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-12 8:52 GMT-05:00 Randal Hale <span dir="ltr"><<a href="mailto:rjhale@northrivergeographic.com" target="_blank">rjhale@northrivergeographic.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>I've had this question come up several times and I've done some
      digging but can't find an answer. <br>
    </p>
    <p>In map composer I can set my scale (Feet) to 1:7920 which is 1
      inch to 660 Feet. <br>
    </p>
    <ul>
      <li>I can display a scale bar.</li>
      <li>I can display scale text (1:7920)<br>
      </li>
    </ul>
    <p>Can I display  "1 inch to 660 Feet"  through use of an
      expression? I've been manually typing it in and sometimes I'll
      change map scale and forget to change the typed scale. <br>
    </p>
    <p>Randy<span class="HOEnZb"><font color="#888888"><br>
    </font></span></p><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_-808822487685528970moz-signature" cols="72">-- 
-----------------
Randal Hale
North River Geographic Systems, Inc
<a class="m_-808822487685528970moz-txt-link-freetext" href="http://www.northrivergeographic.com" target="_blank">http://www.<wbr>northrivergeographic.com</a>
423.653.3611 <a class="m_-808822487685528970moz-txt-link-abbreviated" href="mailto:rjhale@northrivergeographic.com" target="_blank">rjhale@northrivergeographic.<wbr>com</a>
twitter:rjhale</pre>
  </font></span></div>

<br>______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>