1

I am delineating forest stand types and need each stand labeled. Stands 2 through 7 show labels, but for some reason unbeknownst to me, stands 1 and 8 are not showing. I have Googled the heck out of it and tried everything I saw (messing around with 'show label' type functions) and no luck. Zooming in and out does nothing either.

enter image description here

enter image description here

2
  • Can you share the field attributes? If one of the fields is null for either 1 or 8, string concatenation with '||' will break; in that case concatenate function would be required.
    – Cushen
    May 13, 2022 at 1:28
  • @Cushen You are right! There are nulls in both! How do I go about that? May 13, 2022 at 1:31

1 Answer 1

1

As stated in the comment some of the fields are null.
In order to deal with this we need to use the concat() function:

 concat( "field1" , '\n' , "field2" )

Using the user fields, that would be:

 concat( "Standid" , '\n' , "TimberType", ' ', "SizeClass", '',"Density", '\n' , "AltTT", ' ', "AltSS", '', "AltDensity", '\n', "Acerage", ' Ac. ' )

For example:

enter image description here

2
  • I added a snip of my expression dialog. Where would I put the concat function in here? May 13, 2022 at 1:53
  • as shown in the example but concat( at the start, replace || with , and then put ) at the end
    – Cushen
    May 13, 2022 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.