Align Marker To Stroke Or Fill (Cartography) (ArcInfo only) |
|
Release 9.2
Last modified July 13, 2007 |
![]() ![]() ![]() Print all topics in : "Tools" |
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
Usage tips
The tool works on the geometry of the source features, not the representation symbology. So, between a marker and a stroke, for instance, from the centerline of the stroke to the point location of the marker is the search distance.
Representation markers with the ground locations beyond the search distance are not affected.
The rotation of markers may create conflicts with nearby symbols. The result needs to be examined or the Detect Graphic Conflict tool can be used to see where the conflicts are.
The angle property of representation marker symbol layer will be overridden.
The following environment settings affect this tool: referenceScale, cartographicCoordinateSystem
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.
|
String |
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.
|
String |
import arcgisscripting gp = arcgisscripting.create() gp.workspace = "c:\Workspace.mdb" gp.toolbox = "cartography" gp.AlignMarkerToStrokeOrFill("houses.lyr", "streets.lyr", 5, "PERPENDICULAR")