Use a geoprocessing tool to create overpasses where one feature class crosses another |
Representations |
Segment 21 of 24 |
Top Previous Next |
In this example you will see how to create symbology for a situation in which you have information about the location for bridges but no data to actually represent the bridges. You know from some fields in your feature classes that you have roads crossing over rivers. This information tells you that at those locations where two features intersect each other, one feature crosses above the other. For your maps, you want to use this information to create bridge symbology.
The Create Overpass tool performs this complicated operation. This tool is located in the Symbolization Refinement toolset. There are several parameters on this tool; some are required, and others are optional.
When the tool is complete, you will be able to symbolize your features in a way that clearly indicates one feature is crossing over the other. This is done using masks to hide one feature and a new linear feature class that provides the bridge symbol.
You can indicate which features are above other features by setting the first two parameters.
To do so, open the Create Overpass tool. Choose RoadL layer.lyr for Input Above Features With Representations and HydroL layer.lyr for Input Below Features With Representations. Type “2” for Margin Along and type “1” for Margin Across, then choose Points for both from the drop-down lists for the unit of measurement. Following this, you will select your own locations for the mask feature class (Output Overpass Feature Class) and mask relationship class (Output Mask Relationship Class). Type “Over_FC” and “Over_RC” for the names of the new feature class and relationship class.
Next you will see the tool’s optional parameters. Without these parameters, the tool will complete as expected and create the masks you need to indicate which features cross over others, but it will only create the minimum required parts for overpass symbology. These optional parameters allow you to indicate how you want the overpass to look.
You can choose to enter a SQL expression to refine your selection. Without a SQL expression, the tool will process every feature in your feature class. Although there is nothing inherently wrong with this approach, it will take longer for the tool to complete. In this example the tool will complete in less than 30 seconds. Your computer speed may vary, so the elapsed time could be as long as two minutes.
For example, you may want to place a bridge at every location where a road crosses a river, or your data might not have an attribute field on which to make a refinement selection to make the tool process on a smaller set of data. As shown earlier, a data field indicates where a crossing occurs.
Click the SQL button to open the Query Builder dialog box. On the Query Builder dialog box, double-click BridgeCategory to add it to the SQL expression box, click the = button to add it to the SQL expression box, click Get Unique Values, then double-click the 1 bridge entry to add it to the SQL expression box. Click OK to close the Query Builder dialog box.
Type “Bridge_FC” for the name of this new feature class. Choose ANGLED from the drop-down list to indicate the wing type you want to use. Type “1” and choose Points from the drop-down list to indicate the length of the wing ticks for your bridge symbol.
Click OK to run the tool.
When the tool finishes running you will have created two new feature classes and a relationship class to use in your map to display bridges. The mask will be linked to RoadL with the relationship class.