Calculate Visual Specifications (Production Mapping)

Résumé

Contains rules that determine the way features should be depicted. This tool assigns representation rules and builds calculated fields on features for symbolization and labeling using a predefined specification.

Learn more about visual specifications

Usage

Syntaxe

CalculateVisualSpecification_production (input_layers, selected_only, input_vs_table_location, input_specifications, show_representations, create_label_classes, preserve_free_representations, {output_layers})
ParamètreExplicationType de donnée
input_layers
[input_layers,...]

The feature layers, feature classes, or tables to which you want to apply the visual specifications.

Feature Layer ; Table
selected_only

Indicates whether only selected features from the input_layers parameter are processed.

  • ALL_FEATURESAll features in the input_layers parameter are processed. This is the default.
  • SELECTED_ONLYOnly selected features in the input_layers parameter are processed.

Boolean
input_vs_table_location

The location of the workspace that contains the visual specifications table. The VST_Specification table can be stored in a personal, file, or enterprise geodatabase.

Workspace
input_specifications
[input_specifications,...]

The visual specifications you want to apply to the selected feature layers and feature classes.

String
show_representations

Indicates whether calculated representations in input_layers are displayed.

  • SHOWDisplays calculated representations. This is the default.
  • NO_SHOWDoes not display calculated representations.

Boolean
create_label_classes

Indicates whether calculated fields are displayed as labels.

  • CREATEDisplays calculated fields as labels. This is the default
  • NO_CREATEDoes not display calculated fields as labels

Boolean
preserve_free_representations

Indicates whether free representations are preserved when the Calculate Visual Specifications tool is run.

  • PRESERVEPreserves free representations (that is, they will not be removed when this tool is run). This is the default.
  • NO_PRESERVEDoes not preserve free representations.

Boolean
output_layers
(Facultatif)

Derived output parameter that represents the table after visual specifications have been calculated.

Table View

Exemple de code

CalculateVisualSpecification Example (Python Window)

The following ArcGIS Python window script calculates visual specifications on Production Mapping sample data.

# import the production mapping toolbox - you may have to alter this path
arcpy.ImportToolbox(r'C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Production Mapping Tools.tbx')

# paths to data
SoCal_ProductLibrary_gdb = "C:\\data\\SoCal_ProductLibrary.gdb"
RoadL = "C:\\data\\SoCal_Sample.gdb\\SoCal\\RoadL"
RoadL_Layer = "RoadL_Layer"

# make a feature layer and add it to the display
arcpy.MakeFeatureLayer_management(RoadL, RoadL_Layer)

# execute the calc visual spec
arcpy.CalculateVisualSpecification_production("RoadL_Layer", "ALL_FEATURES", SoCal_ProductLibrary_gdb, "'SoCal :: 1:250K specification'", "SHOW", "CREATE", "PRESERVE")

Environnements

Rubriques associées

Informations de licence

ArcView : RequiertProduction Mapping
ArcEditor : RequiertProduction Mapping
ArcInfo : RequiertProduction Mapping

9/30/2010