Hi Randal:
The label expression: [% '1 inch to ' || (to_int( $scale )/12) || ' Feet'%] 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? Developers, please light us. Carlos Cerdán 2016-10-12 8:52 GMT-05:00 Randal Hale <[email protected]>: > I've had this question come up several times and I've done some digging > but can't find an answer. > > In map composer I can set my scale (Feet) to 1:7920 which is 1 inch to 660 > Feet. > > - I can display a scale bar. > - I can display scale text (1:7920) > > 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. > > Randy > > -- > ----------------- > Randal Hale > North River Geographic Systems, Inchttp://www.northrivergeographic.com > 423.653.3611 [email protected] > twitter:rjhale > > > _______________________________________________ > Qgis-user mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user >
_______________________________________________ Qgis-user mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
