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

Align Marker To Stroke Or Fill (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

Align the representation marker symbols of a point feature class to the nearest stroke or fill representation symbols in a line or polygon feature class within a specified search distance.


Illustration

Illustration of aligning markers to stroke

Usage tips

Command line syntax
An overview of the Command Line window
AlignMarkerToStrokeOrFill_cartography <in_point_features> <in_line_or_polygon_features> <search_distance> {PERPENDICULAR | PARALLEL}

Parameter Explanation Data Type
<in_point_features>

The input point feature layer containing marker representations.

Layer
<in_line_or_polygon_features>

The input line or polygon feature layer containing stroke or fill representations.

Layer
<search_distance>

The search distance, in page units. A distance must be specified, and it must be greater than zero. Choose a page unit (Points, Milimeters, and so on) for the search distance; the default is Points.

Linear unit
{PERPENDICULAR | PARALLEL}

Specifies the representation marker orientation relative to the stroke or fill edge.

  • PERPENDICULAR — aligns representation markers perpendicularly to the stroke or fill edge. This is the default.
  • PARALLEL — aligns representation markers parallel to the stroke or fill edge.

String
Data types for geoprocessing tool parameters


Command line example

AlignMarkerToLine_cartography c:\workspace.mdb\houses.lyr streets.lyr 5 PERPENDICULAR

Scripting syntax
About getting started with writing geoprocessing scripts
AlignMarkerToStrokeOrFill_cartography (in_point_features, in_line_or_polygon_features, search_distance, marker_orientation)

Parameter Explanation Data Type
in_point_features (Required)

The input point feature layer containing marker representations.

Layer
in_line_or_polygon_features (Required)

The input line or polygon feature layer containing stroke or fill representations.

Layer
search_distance (Required)

The search distance, in page units. A distance must be specified, and it must be greater than zero. Choose a page unit (Points, Milimeters, and so on) for the search distance; the default is Points.

Linear unit
marker_orientation (Optional)

Specifies the representation marker orientation relative to the stroke or fill edge.

  • PERPENDICULAR — aligns representation markers perpendicularly to the stroke or fill edge. This is the default.
  • PARALLEL — aligns representation markers parallel to the stroke or fill edge.

String

Data types for geoprocessing tool parameters


Script example

import arcgisscripting
gp = arcgisscripting.create()

gp.workspace = "c:\Workspace.mdb"
gp.toolbox = "cartography"
gp.AlignMarkerToStrokeOrFill("houses.lyr", "streets.lyr", 5, "PERPENDICULAR")

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