Welcome to Golden Software Support

Polygon info as labels ?

Comments

3 comments

  • Avatar
    Kari Dickenson

    Hello,

    You can label polygons in a base layer with attribute information, but not geometry information. I will add this request to our suggestion file! If the area was an attribute, then you could label the polygon, but if you changed the shape of the polygon, you'd need to update it manually.

    For example:

    1. Load the polygon file as a base layer in Surfer (Map | Add | Base Layer or Map | New | Base Map).
    2. Expand the Base layer in the Object Manager and select the polygon of interest.
    3. In the Property Manager, click the Info page. You can see the area of the polygon in map units.
    4. Under Attributes, click the Add button, enter the Attribute name as "Area" and click OK.
    5. To the right of the Area attribute, type in the same number as it appears to the right of the Area field under Geometry. You will need to do this manually.
    6. Repeat for all polygons. If you have multiple polygons, you could add the "Area" attribute to them all at once using the Attribute Table (Map | Open Attribute Table, click Add Field, enter "Area" and click OK).
    7. Once all the polygons you wish have their areas as attributes, you can label the polygons. Select the Base layer in the Object Manager.
    8. In the Property Manager, click the Labels page.
    9. Set the Label source to Area and the area is added as a label to the polygons. You can change the font properties if you wish.
    10. If you do reshape any of the polygons, just select that polygon, click the Info tab in the Property Manager and update the Area attribute value.

     

    Thanks,

    Kari

    0
    Comment actions Permalink
  • Avatar
    Thomas Perrier

    Dear Kari,

    Has the feature of adding geometry information been implemented in the latest version ?

    a few other suggestions :

    - this feature works fine for polygones but not for "regular" shapes, such as rectangles or ellipses. Too bad !

    - labels property can only be adjusted at the base layer level. It could be useful to be able to change at the polygon level. In particular, it would be useful too be able to move the labels "by hand" to adjust their positioning, especially for strange shapes (eg network shapes) where the label is placed in the middle of nowhere.

    - it would be a great feature to be able to add as an attribute not only geometry attributes but also formating attributes, especially colours.

    Hope this helps developing your great software.

    0
    Comment actions Permalink
  • Avatar
    Kari Dickenson

    Hi Thomas,

    Thanks for your post! I am not sure which version you are using, but many of the suggestions have been implemented in the current version.

    Regarding your suggestions:

    1. Yes, you can add the geometry information to an object’s attributes (and then use them for labels). This was added in version 16.0.
    2. We have also added the ability to label the shapes (e.g. rectangles, ellipses) with the attributes. This was added in Surfer 18.0, which is currently in Beta version. If you have active maintenance, you are welcome to download and try the Surfer Beta version.
    3. I will add your request for changing label properties at the object level to our suggestion file!
    4. You can interactively move base map labels now. Right click over the Base layer and click “Edit Labels” and then you can drag and drop the labels to new positions. Press ESC when you are finished moving them. This was added in version 16.3.
    5. I will add your request to be able to add labels to the objects for formatting properties, like fill or line color.

    Thanks,
    Kari

    0
    Comment actions Permalink

Please sign in to leave a comment.