Learning ArcGIS Pro
上QQ阅读APP看书,第一时间看更新

Contextual tabs

Now that you have had a chance to gain some experience using ArcGIS Pro and the ribbon, you hopefully have begun to understand the concepts of tabs. You will now begin to explore contextual tabs.

Contextual tabs are smart tabs that appear when you select an item within ArcGIS Pro. This could be a layer, a map, a layout, a table, and so on. When you select one of these items, a tab will appear on the ribbon, which contains tools specific to working with that item. For example, if you select a layer from the Contents pane, the FEATURE LAYER contextual tab will appear. You will examine the FEATURE LAYER contextual tab next. You will explore other contextual tabs throughout other chapters in the book.

The FEATURE LAYER contextual tab

The FEATURE LAYER contextual tab appears when you click on a layer within the Contents pane. It includes three tabs: APPEARANCE, LABELING, and DATA. Each of these allows you to access various properties associated with the layer you have selected.

The APPEARANCE tab

The APPEARANCE tab contains tools that control the display of the layer. You can change the symbology, set visibility scales, apply transparency, and so on.

You can see that there are five groups within the APPEARANCE tab. They include Visibility Range, Effects, Drawing, Extrusion, and 3D. Visibility Range, Effects, and Drawing will be available for all layers.

Extrusion and 3D groups will only be available when working with a 3D scene. Extrusion allows you to extend 2D features above a 3D surface, such as building footprints or light poles. The extruded layer must be in the 3D Layers category in the Contents pane. Face Culling allows you to see through parts of a 3D feature.

The LABELING tab

This tab allows you to access tools to add text labels to the features within the selected layer. The tools presented in this table will vary depending on what type of layer you have selected.

This tab contains six groups. These include Layer, Label Class, Visibility Range, Text Symbol, Label Placement, and Map. The Label tool in the Layer group will turn labeling on or off for the selected layer.

The Label Class group allows you to create different label classes for a group of features based on a SQL query statement. Each label class can have its own unique label settings. For example, you could create a label class based on the type for each road so that highways could be labeled using a different setting than a local city road. This can greatly expand the flexibility of labels.

The Text Symbol group contains tools and settings, which control how a label is visualized. Here, you can change the font, size, and color. You can also choose to make the label bold, italicized, or underlined. ArcGIS Pro also includes several predefined label styles, which you can also choose to use from this group tab.

The Label Placement group controls the general placement of the label in relation to the feature being labeled. The options here will vary depending on whether you are working with points, lines, or polygons. For example, for a line layer, you will have the options to place the label above, below, or on the line. The options for a point or a polygon layer will be different.

The last group is Map. The tools located here control the drawing of the labels within the map. You can pause labeling to help speed up navigation within the map. You can view unplaced labels. One of the most important tools located in this group sets the labeling engine used by ArcGIS Pro. Like ArcMap, ArcGIS Pro uses one of the two labeling engines: Esri Standard Labeling Engine or Maplex. By default, ArcGIS Pro uses Maplex, which provides much greater control over labeling than the Standard Esri Label Engine.

Exercise 2B – working with 2D and 3D layers

It is now time to see how the FEATURE LAYER contextual tab works for you. In this exercise, you will use tools on the tab to make changes to layers within an existing project. You will change a layers symbology, labels, and more.

Step 1 – opening the project and adding layers

In this step, you will open a project that has already been created. You will then add some additional layers to a map:

  1. Using the skills you have already learned, start ArcGIS Pro and open the Ex 2B project. It is located at C:\Student\IntroArcPro\Chapter2 or the location you installed the course data.
  2. Click on the Add Data tool located in the Layer group of the MAP tab.
  3. Expand the Project folder in the pane located on the right-hand side of the Add Data window. Then, select the Databases folder so you see two geodatabases: IntroArcGISPro Exercise 2A and Trippville_GIS.
  4. Double-click on the IntroArcGISPro Exercise 2A geodatabase.
  5. Select the bldg._footprints, RR_Tracks, and Street_Centerlines feature classes and click on the Select button. You can hold down your Ctrl key while clicking on each feature class to select and add multiple feature classes to a map at one time.

Step 2 – changing symbology

You have just added three new layers to the map. Now you need to adjust the symbology for the layers you added. You will change the railroad layer you added to use a common railroad symbol. You will similarly change the building footprints. Finally, you will adjust the road centerlines, so they are symbolized based on their condition:

  1. Right-click on the bldg_footprints layer and select Properties.
  2. Click on General located in the pane on the left-hand side of the Properties window.
  3. Change the name to Buildings and click on OK. Note what happens to the layer in the Contents pane.

    When you right-clicked on the bldg_footprints layer, did you notice what happened to the ribbon? The FEATURE LAYER contextual tab automatically appeared providing access to the tools it contains. You will now use those tools to make adjustments to the Building layer you just renamed:

  4. In the FEATURE LAYER contextual tab, select the APPEARANCE tab.
  5. Click on the Symbology tool and, if necessary, select Single Symbol. This opens the Symbology pane on the right-hand side of the ArcGIS Pro interface. The Symbology pane allows you to make changes to the symbology settings for a layer.
  6. Click on the small rectangular symbol located under Current symbol to open the Symbol Gallery.
  7. Select the Gray Building Footprint symbol that is located next to the Airport Runway symbol. You can use another symbol if you prefer.

    Note

    Question: What happens when you select the new symbol?

    _______________________________________________________

    _______________________________________________________

  8. Now select the RR_Tracks layer in the Contents pane and watch what happens in the Symbology pane.
  9. Using the same process mentioned earlier, change the symbology to the Railroad symbol.
  10. Rename the RR_Tracks layer to Railroad using the same process you used to rename the Buildings layer.
  11. Click on the PROJECT tab and select Save As.
  12. Navigate to the C:\Student\IntroArcPro\My Projects folder and name your project <your name> Ex2B.

    Now you will change the symbology for the road centerlines to reflect their condition. This will be a bit more challenging than changing a single symbol:

  13. Using the skills you have already learned rename the Street_Centerline layer to Streets.
  14. Select the APPEARANCE tab and click on the small arrow located below the Symbology tool. Choose Unique Values from the drop-down options.

    The Symbology pane will once again be opened on the right-hand side of ArcGIS Pro. It will look different than what it did when you were working with single symbols. It contains many more options and settings. These allow you to configure your symbology based on the attributes found in one or more fields:

  15. In the drop-down box located next to Field 1, select Condition. Note that ArcGIS Pro automatically adds all values found in this field and assigns them a symbol.
  16. Click on the symbol located next to Fair to open the Symbol Gallery.
  17. Click on the Properties tab located at the top of the pane.
  18. From the Color drop-down selection, set the color to an orange tone or another you prefer and set the width to 1 pt. Then, click on Apply.
  19. Click on the return arrow located at the top of the Symbology pane to return to the symbology settings for the entire Streets layer.
  20. Using the same method mentioned earlier make the following adjustments to the symbols for Good and Poor values.
    • Good: Bright green color and width of 1.5 pt
    • Poor: Bright red color and width of 3 pt

    When you are done, your map should look similar to this:

  21. Close the Symbology pane when you are done changing the symbology. Feel free to make changes to other layers in the map.
  22. Save your project by clicking on the Save button located on the Quick Access Toolbar located at the very top left-hand side of the ArcGIS Pro interface.

After adjusting symbology using the FEATURE LAYER contextual tab, let's add some labels to the maps.

Step 3 – labeling

In this step, you will use the LABELING tab in the FEATURE LAYER contextual tab to add street names to the map. You will configure the labeling for the Streets layer to accomplish this task:

  1. Select the Streets layer in the Contents pane.
  2. Click on the LABELING tab in the FEATURE LAYER contextual tab.
  3. Click on the Label tool to turn on labels for the Streets layer. You should see labels appear in the map once you click on the tool.
  4. Within the Label Placement group tab select the North American Streets option. ArcGIS Pro will then use the placement properties defined by this placement style such as the road name appearing above the centerline and be curved to follow the road.

    When you enabled labeling for the Streets layer, the Label Class pane also opened in the right-hand side of ArcGIS Pro in the same place the Symbology pane did. This pane allows you to refine various label settings.

  5. In the Label Class pane, click on the Fitting Strategy button. It is the one that looks like a knight piece from chess. If you do not see the Label Class pane, you can right click on the layer and select Label Properties from the context menu.
  6. Click on the small arrow next to Reduce size to expand the options for that strategy.
  7. Click on the check box next to the Reduce font size to enable this fitting strategy.
  8. Set the Lower Limit to 5.0 pts and the Step interval to 1.0 pts.

    Note

    This will allow ArcGIS Pro to automatically adjust the font size in order to get a road name to fit on the map. This will allow more road names to be displayed.

  9. Zoom in and out to see how well your labels appear. Turn off the Reduce font size option and then zoom in and out again to see the impact that option has.
  10. Save your project and close the Label Class pane.

Step 4 – working with a 3D layer

ArcGIS Pro also allows you to work with 3D data even if you don't have the 3D Analyst or Spatial Analyst extensions. In this step, you will add a layer containing building footprints to a 3D scene and then extrude that layer, so you can see the heights of the building:

  1. In the Project pane located in the same place as the Symbology and Label Class panes, click on the little arrow next to Maps located at the top of the pane to expand its contents. If you don't see the Project pane, you may have accidentally closed it when you closed the other panes. You can reopen it by clicking on the VIEW tab and then the Project button.
  2. Once you expand the Maps folder, you should see two maps: Map and Scene. Right-click on Scene and select Open Local View. This opens the 3D Scene.
  3. Press the scroll wheel on your mouse down and push your mouse away from you slightly to rotate the map view on the 3D plane until it looks similar to the following image:
  4. Place your mouse pointer near the center of the parcels layer and roll your wheel away from you to zoom in. Continue to work with the scroll wheel until you get comfortable with how it allows you to navigate within a 3D Scene.
  5. Click on the Add Data tool and navigate to the IntroArcGISPro Exercise 2A.gdb file. Click on bldg_footprints feature class and click on Select.
  6. Rename the bldg_footprints layer to Buildings using the same process you learned in previous steps.
  7. Select the Buildings layer and drag it up to 3D layers. This will allow you to apply 3D symbology to this layer.
  8. Click on the Bookmarks tool and select the Buildings bookmark. This will zoom you out, so you can see the buildings as they overlay the ground elevation.
  9. Select the Buildings layer once again and click on the APPEARANCE tab. Note that it looks quite a bit different from what you saw when working with a 2D map.
  10. On the Extrusion group tab, click on Type and select Base Height. This will allow you to extrude the buildings based on their estimated height, so you can see the differing heights of each building in a 3D view.
  11. In the drop-down window next to Type, set that to Est_HGT. This is the estimated height of each building.

Your map should now look similar to the following image. The colors of your buildings may be different because ArcGIS Pro assigns random colors to newly added layers:

You have just added and symbolized a 3D layer in ArcGIS Pro. You can now see the 3D relationships between the different buildings within the city.

Note

Challenge: Try to change the symbols for the buildings to one of the Gray Building Footprint symbols found in the Symbol Gallery.