Show Navigation | Hide Navigation
You are here:
Geoprocessing tool reference > Cartography toolbox > Masking toolset > Tools

Feature Outline Masks (Cartography) (ArcInfo only)

Release 9.2
Last modified July 13, 2007
E-mail This Topic Printable Version Give Us Feedback

Print all topics in : "Tools"


Related Topics

Creates mask polygons at a specified distance and shape around the symbolized features in the input layer. This tool accepts point, line, and polygon feature layers as well as geodatabase annotation layers as input.


Usage tips

Command line syntax
An overview of the Command Line window
FeatureOutlineMasks_cartography <input_layer> <output_fc> <reference_scale> <spatial_reference> <margin> <CONVEX_HULL | BOX | EXACT_SIMPLIFIED | EXACT> <ALL_FEATURES | ONLY_PLACED> {ONLY_FID | NO_FID | ALL}

Parameter Explanation Data Type
<input_layer>

The symbolized input layer from which the masks will be created.

Layer
<output_fc>

The feature class that will contain the mask features.

Feature Class
<reference_scale>

The reference scale used for calculating the masking geometry when masks are specified in page units. This is typically the reference scale of the map.

Double
<spatial_reference>

The spatial reference for which the masking polygons will be created. This is not the spatial reference that will be assigned to the output feature class. It is the spatial reference of the map in which the masking polygons will be used since the position of symbology may change when features are projected.

Spatial Reference
<margin>

The space in page units surrounding the symbolized input features used to create the mask polygon. Typically, masking polygons are created with a small margin around the symbol to improve visual appearance. Margin values are specified in either page units or map units. Most of the time you will want to specify your margin distance value in page units.

Margin value units are interpreted differently depending on which units you choose. If you choose points, inches, millimeters, or centimeters, then masks are created using the margin distance as calculated in page space (you can think of the margin as a distance measured on the paper). The reference scale parameter value is accounted for in this calculation.

If you choose any other units for your margin, then masks are created using the margin distance as calculated in map space (you can think of the margin as a real world distance measure on the earth). Also, in this case, the reference scale parameter value is not used as part of the calculation.

Linear unit
<CONVEX_HULL | BOX | EXACT_SIMPLIFIED | EXACT>

The type of masking geometry created. There are four types:

  • BOX — A polygon representing the extent of the symbolized feature.
  • CONVEX_HULL — The convex hull of the symbolized geometry of the feature. This is the default.
  • EXACT_SIMPLIFIED — A generalized polygon representing the exact shape of the symbolized feature. Polygons created with this method will have a significantly smaller number of vertices compared to polygons created with the EXACT method.
  • EXACT — A polygon representing the exact shape of the symbolized feature.

String
<ALL_FEATURES | ONLY_PLACED>

Specifies whether to create masks for unplaced annotation. This option is only used when masking geodatabase annotation layers.

  • ALL_FEATURES: Creates masks for all the annotation features.
  • ONLY_PLACED: Only creates masks for features with a status of placed.

Boolean
{ONLY_FID | NO_FID | ALL}

Determines which attributes will be transferred from the input features to the output features.

  • ONLY_FID: Only the FID field from the input features will be transferred to the output features. This is the default.
  • NO_FID: All the attributes except the FID from the input features will be transferred to the output features.
  • ALL: All the attributes from the input features will be transferred to the output features.

String
Data types for geoprocessing tool parameters


Command line example

FeatureOutlineMasks_cartography d:\parcelsanno.lyr d:\parcelsannomasks.shp 1200 d:\utm17n.prj "2.0 Points" BOX ALL_FEATURES ONLY_FID

Scripting syntax
About getting started with writing geoprocessing scripts
FeatureOutlineMasks_cartography (input_layer, output_fc, reference_scale, spatial_reference, margin, method, mask_for_non_placed_anno, attributes)

Parameter Explanation Data Type
input_layer (Required)

The symbolized input layer from which the masks will be created.

Layer
output_fc (Required)

The feature class that will contain the mask features.

Feature Class
reference_scale (Required)

The reference scale used for calculating the masking geometry when masks are specified in page units. This is typically the reference scale of the map.

Double
spatial_reference (Required)

The spatial reference for which the masking polygons will be created. This is not the spatial reference that will be assigned to the output feature class. It is the spatial reference of the map in which the masking polygons will be used since the position of symbology may change when features are projected.

Spatial Reference
margin (Required)

The space in page units surrounding the symbolized input features used to create the mask polygon. Typically, masking polygons are created with a small margin around the symbol to improve visual appearance. Margin values are specified in either page units or map units. Most of the time you will want to specify your margin distance value in page units.

Margin value units are interpreted differently depending on which units you choose. If you choose points, inches, millimeters, or centimeters, then masks are created using the margin distance as calculated in page space (you can think of the margin as a distance measured on the paper). The reference scale parameter value is accounted for in this calculation.

If you choose any other units for your margin, then masks are created using the margin distance as calculated in map space (you can think of the margin as a real world distance measure on the earth). Also, in this case, the reference scale parameter value is not used as part of the calculation.

Linear unit
method (Required)

The type of masking geometry created. There are four types:

  • BOX — A polygon representing the extent of the symbolized feature.
  • CONVEX_HULL — The convex hull of the symbolized geometry of the feature. This is the default.
  • EXACT_SIMPLIFIED — A generalized polygon representing the exact shape of the symbolized feature. Polygons created with this method will have a significantly smaller number of vertices compared to polygons created with the EXACT method.
  • EXACT — A polygon representing the exact shape of the symbolized feature.

String
mask_for_non_placed_anno (Required)

Specifies whether to create masks for unplaced annotation. This option is only used when masking geodatabase annotation layers.

  • ALL_FEATURES: Creates masks for all the annotation features.
  • ONLY_PLACED: Only creates masks for features with a status of placed.

Boolean
attributes (Optional)

Determines which attributes will be transferred from the input features to the output features.

  • ONLY_FID: Only the FID field from the input features will be transferred to the output features. This is the default.
  • NO_FID: All the attributes except the FID from the input features will be transferred to the output features.
  • ALL: All the attributes from the input features will be transferred to the output features.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "d:/"
gp.toolbox = "cartography"
gp.FeatureOutlineMasks("ParcelsAnno.lyr", "ParcelsAnnoMasks.shp", "1200", "utm17N.prj", "2.000000 Points", "EXACT", "ALL_FEATURES", "ONLY_FID")</scriptExample>

Please visit the Feedback page to comment or give suggestions on ArcGIS Desktop Help.
Copyright © Environmental Systems Research Institute, Inc.