TransWikia.com

Expression labeling

Geographic Information Systems Asked by Baky on January 24, 2021

My problem is with expression labeling in ArcMap (ArcGIS Desktop 10.5.1). I have a layer named ‘Figure location’. The layer has a field- named ‘Figure name’ with values for instance- Fig. 1, Fig. 2, Fig. 3, Fig. 4 etc. I would like to show only the values Fig. 2 and Fig. 3 as label and not others. See the attached image.


enter image description here

Here’s the image attached. Just a screen shot

One Answer

You don't need a label expression to do that.

  • On the Labels tab of the layer's properties, select Method: Define classes of features and label each class differently
  • Click SQL Query and set the Where clause to Fig_number in ('Fig. 2', 'Fig. 3', 'Fig. 4'), → OK
  • Set Label field to Fig_number

Answered by Berend on January 24, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP