Multi-Field Labels

(14 posts)
  • amagine
    Member

    I am wondering how to label forest cover polygons with multiple attribute labels.

    For instance, sp_1 (is the leading species attribute) sp1_per (is its forest cover percentage) sp_2 (is the second species attribute) sp2_per (is its forest cover percentage) and on and on... ** usually no more than 5 tree species per polygon.

    So If I wanted to label my polygon with "sp_1""sp1_per" "sp_2""sp2_per" I would be labeling from 4 seperat attribute fields.

    It would look something like this: Pl70 Sx30

    How would I go about doing this?

    Thank you!

    Posted On October 16, 2006 - 02:02 PM (3 years ago) (Permalink to this post)
  • amagine said:

    I am wondering how to label forest cover polygons with multiple attribute labels.

    For instance, sp_1 (is the leading species attribute) sp1_per (is its forest cover percentage) sp_2 (is the second species attribute) sp2_per (is its forest cover percentage) and on and on... ** usually no more than 5 tree species per polygon.

    So If I wanted to label my polygon with "sp_1""sp1_per" "sp_2""sp2_per" I would be labeling from 4 seperat attribute fields.

    It would look something like this: Pl70 Sx30

    How would I go about doing this?

    Thank you!

    Hello amagine,

    Have you tried the Label By Property command? I'm not sure if the object attributes can set in such a fashion but it's worth a try.

    Posted On October 17, 2006 - 01:11 PM (3 years ago) (Permalink to this post)
  • amagine
    Member

    Canuck the evangelist said:

    Hello amagine,

    Have you tried the Label By Property command? I'm not sure if the object attributes can set in such a fashion but it's worth a try.

    Okay, I'm sorry I didn't point out my question more clearly.

    I am using the GIS part of Canvas X

    I am trying to Label my Polygons by their "<u>properties</u>" as it is called in Canvas X.

    I am trying to use the "Label by Property" Command in the GIS part of Canvas X

    Within the "Label by Property" command pane if you select the first Drop Down Selection window for Property, if you 'mouse' down to the bottom of your 'property' attributes you will notice a choice to "Build Expression"

    This intuitively means you can Label by using an <u>Expression</u> built from the "Expression Builder"

    ie. </4069/labelbypropertyer3.jpg" border="0" class="linked-image" />

    I then try to "Build" my "Expression" using "Concatenate Text" for several of my properties. I wish to make my Label appear as I described in my first post.

    However I get this "Type Mismatch" error...
    </3885/typemissmatchvh9.jpg" border="0" class="linked-image" />

    I am trying to figure out how to Join multiple Properties for a Label

    Any ideas as to how to do this, or properly use the Concatenate Command?

    thanks!

    Posted On October 17, 2006 - 04:51 PM (3 years ago) (Permalink to this post)
  • rsands
    Canvas Focus Group

    have you written an expression that can't be matched? Is that expression asking for everything that meets all the criteria - ie must contain all of 'sp_1 sp1_per sp_2 sp2_per' when you want to include any that matches any one of the criteria?
    May be off tangent here? regards Richard

    Posted On October 18, 2006 - 03:02 AM (3 years ago) (Permalink to this post)
  • amagine
    Member

    Richard S said:

    have you written an expression that can't be matched? Is that expression asking for everything that meets all the criteria - ie must contain all of 'sp_1 sp1_per sp_2 sp2_per' when you want to include any that matches any one of the criteria?
    May be off tangent here? regards Richard

    sorry, I may be a little slow this morning, but I'm confused. I have enough troubles matching my socks in the morning let alone matching expressions.

    There is a sample of my expression for instance in one of the jpg image files, I guess I was too lazy to write out everything in my images I provided,

    oh no I have... I just checked. Okay, wow, what am I doing wrong here?

    type mismatch? okay so one red sock and one blue sock...

    the only criteria I know of is my agenda, that is to combine multiple properties into one Label. Is this possible?

    Who is the developer/mathematician that produced this Expression Builder I have some Q.'s ;-p

    cheers!

    Posted On October 18, 2006 - 11:37 AM (3 years ago) (Permalink to this post)
  • amagine said:

    sorry, I may be a little slow this morning, but I'm confused. I have enough troubles matching my socks in the morning let alone matching expressions.

    There is a sample of my expression for instance in one of the jpg image files, I guess I was too lazy to write out everything in my images I provided,

    oh no I have... I just checked. Okay, wow, what am I doing wrong here?

    type mismatch? okay so one red sock and one blue sock...

    the only criteria I know of is my agenda, that is to combine multiple properties into one Label. Is this possible?

    Who is the developer/mathematician that produced this Expression Builder I have some Q.'s ;-p

    cheers!

    Hello amagine,

    I believe there is an error because you are building an expression that uses both text and numeric. Look at the syntax for Concatenate text. I'm looking that data type for the various properties.

    Posted On October 18, 2006 - 05:54 PM (3 years ago) (Permalink to this post)
  • amagine
    Member

    Canuck the evangelist said:

    Hello amagine,

    I believe there is an error because you are building an expression that uses both text and numeric. Look at the syntax for Concatenate text. I'm looking that data type for the various properties.

    Hmm hmm yes I tried that. I used only the textual fields.

    You have managed to create a Label from multiple attributes/properties?

    Posted On October 19, 2006 - 02:10 AM (3 years ago) (Permalink to this post)
  • amagine said:

    Hmm hmm yes I tried that. I used only the textual fields.

    You have managed to create a Label from multiple attributes/properties?

    Hello amagine,

    I actually haven't tried what you're attempting. I wish I could be of more help but I wasn't given much direction or support when they wrote this portion of GIS.

    Posted On October 19, 2006 - 12:54 PM (3 years ago) (Permalink to this post)
  • amagine
    Member

    Canuck the evangelist said:

    Hello amagine,

    I actually haven't tried what you're attempting. I wish I could be of more help but I wasn't given much direction or support when they wrote this portion of GIS.

    Oh no problem!

    I wonder who I could speak to about this matter. ie. the Expression Builder.

    Be nice to see a well documented guide for this part of Canvas.

    cheers!

    Posted On October 19, 2006 - 01:40 PM (3 years ago) (Permalink to this post)
  • amagine said:

    Oh no problem!

    I wonder who I could speak to about this matter. ie. the Expression Builder.

    Be nice to see a well documented guide for this part of Canvas.

    cheers!

    Hi amagine,

    I couldn't figure out how to do what you want to do either; it looks like it's an unimplemented feature.

    However, you can label things twice using different attributes each time. You can use the little grid of small boxes to put the first label, say, to the upper right of the object and then put the second label to the lower right. You just can't put the two labels on the same line because they would then overlie each other.

    Rick

    Posted On October 19, 2006 - 06:14 PM (3 years ago) (Permalink to this post)
  • JamesW
    ACD Tech Support

    Hi amagine,

    You will have to call the Text(_arg_,_precision_)function and build an expression like this: "sp1"+ Text("sp1_per",0) + ' ' +"sp2"+ Text("sp2_per",0)

    1) + ' ' + is inserted in the expression to add a space. You can pick something else as a separator, like + '/' +, or + 'X' +
    2) Text (_arg_,_precision_): "_arg_" shall be a numeric value, and "_precision_" be the number of the decimal. In you case, choose 0 as I believe you just need to convert a whole number to a text.

    Posted On October 20, 2006 - 10:10 AM (3 years ago) (Permalink to this post)
  • amagine
    Member

    JamesW said:

    Hi amagine,

    You will have to call the Text(_arg_,_precision_)function and build an expression like this: "sp1"+ Text("sp1_per",0) + ' ' +"sp2"+ Text("sp2_per",0)

    1) + ' ' + is inserted in the expression to add a space. You can pick something else as a separator, like + '/' +, or + 'X' +
    2) Text (_arg_,_precision_): "_arg_" shall be a numeric value, and "_precision_" be the number of the decimal. In you case, choose 0 as I believe you just need to convert a whole number to a text.

    Wow Holy Hamsters, I'm Opening Canvas right now to try this!

    Thanks!

    Posted On October 24, 2006 - 11:41 PM (3 years ago) (Permalink to this post)
  • amagine
    Member

    JamesW said:

    Hi amagine,

    You will have to call the Text(_arg_,_precision_)function and build an expression like this: "sp1"+ Text("sp1_per",0) + ' ' +"sp2"+ Text("sp2_per",0)

    1) + ' ' + is inserted in the expression to add a space. You can pick something else as a separator, like + '/' +, or + 'X' +
    2) Text (_arg_,_precision_): "_arg_" shall be a numeric value, and "_precision_" be the number of the decimal. In you case, choose 0 as I believe you just need to convert a whole number to a text.

    Aww darn,

    Canvas abrubtly crashes when I go to "apply" this label </forums.acdsystems.com/style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />

    I decided to try with only one polygon just to see also... but canvas just hard crashes instantly when I go to apply this type of label... too bad!

    Posted On October 24, 2006 - 11:59 PM (3 years ago) (Permalink to this post)
  • rsands
    Canvas Focus Group

    just wondering if you're still around amagine, and if you have version 11.
    And then if you have tried in 11.
    oops - just realised this is in the Mac part, my apologies.
    regards, Richard

    Posted On November 20, 2007 - 04:43 AM (2 years ago) (Permalink to this post)

Subscribe to this topic via RSS

Reply

You must log in to post.