Q&A - Question

Calculated Label

Question
ChrM asked on May 13, 2017, keyword: Viewer / Editor
Can a label calculate and display a value on the basis of GIS_AREA or GIS_LENGTH? For example, GIS_AREA/4,046.856422 would display acres rather than square meters. 

Is it possible to perform a calculation with GIS_AREA or GIS_Length when using the 'Set Column Value' feature?   
Answers
ChrM replied May 09, 2017
Just found Tools...Field Calculator, which may be used to update field with a calculated value. The script doesn't make calculations on the fly, i.e. within the label itself.
Danv replied May 13, 2017
Another possibility is to use a paint event when a shape is drawn or when a label is drawn.
This might slow down the drawing of the layer but one can switch this on and of, depending on how one writes his/her code ;-)

We wrote an example of extended rendering: render information from one layer to be used for the styling of another layer. None of the layers is changed in data.
We call it dynamic rendering.
Check this out:

https://twitter.com/SmallToGo/status/698100077571784705

 
If you would like to answer the question please Sign In.
*
*
Please review our recent Privacy Policy.
If you have any questions or requests, please contact us.
Rules
The Questions and Answers (Q & A) is intended to provide a means of communication between TatukGIS customers.
 
  1. Licensed users (with active maintenance play) of TatukGIS products may contribute to the Q & A content. Read-only access is available to anyone.
  2. Keep the content positive and professional.
  3. Be courteous to others by posting information when a question or issue asked on the Q & A is answered or resolved by other means (such as with help from TatukGIS technical support). Offer others at least a hint how the posted question was answered or the issue was resolved.
  4. The Q & A is not a replacement for TatukGIS technical support. TatukGIS team may or may not regularly follow or contribute content.