The MAPublisher Vector Erase removes vector data based on a rectangular or ellipse area by using page or world coordinates, and by location type (using either a bounding box or by a single coordinate position). Use it to remove a precise area of a larger dataset based on coordinate locations (by bounding box or position). It is very useful for removing sensitive or unwanted data.
Original map Results
Before using MAP Vector Erase, ensure that layers being cropped are visible and unlocked in the Adobe Illustrator Layers panel. If there are invisible and locked layers, users will be prompted to unlock/unhide these layers or skip them. Text typed on a path may not return to its prior state after an undo.
The purpose of MAP Vector Erase is to cut and remove vector data (points, lines and polygons). However, some Adobe Illustrator-specific objects may not be erased properly using this tool:
- Blend and Live Paint objects
- Any art using effects that have been rasterized
- Custom art such as scale bars, grids/graticules, north arrows (expand custom art to crop)
- Compound shapes
- Legacy and overflowing text
- Locked objects (command box: either treat locked layers as unlocked or skip locked layers)
- Hidden layers (command box: either crop hidden layers or skip hidden layers)
Using MAP Vector Erase
On the MAPublisher Toolbar, click the Crop > MAP Vector Erase button or from the menu Object > MAPublisher > MAP Vector Erase.
The Input sets the coordinate system in which the starting point coordinates are entered. Input coordinates can either be Page Coordinates or World Coordinates.
When the Page coordinates (Global Rulers) option is chosen, page coordinate values (in page units) can be entered for the Corner and Opposite Corner coordinates.
When the World coordinates option is chosen, the MAP View drop-down list becomes enabled. Choose the appropriate MAP View to use. Its coordinate system is displayed directly below the MAP View drop-down list. The options in the dialog box will change to reflect a geodetic or projected coordinate system and corner values can be entered either as (a variation of) decimal degrees or in projected units. To use an alternative coordinate system, click the Use check box, and click the coordinate system link. Choose an appropriate coordinate system in the Select Coordinate System dialog box.
Shape and Location Type Options
There are two shape options to choose from when plotting areas: rectangle and ellipse. More importantly, two location types determine how the shapes are plotted: Bounding box and Position.
When Bounding box is chosen, enter (map page or map world) coordinates into the Corner and Opposite Corner coordinates to define the area. A preview of the area can be seen on the artboard (you may have to move the MAP Vector Erase dialog box to see it). Note: Any corner and its opposing corner can be used for the bounding box.
When Position is chosen, choose a coordinate point position relative to the shape. These point position options include Center, Upper left, Upper right, Lower left, and Lower right. In the Size section, enter a width and height and the appropriate units to plot. A preview of the area can be seen on the artboard (you may have to move the MAP Vector Erase dialog box to see it).
Text, Vectorize and crop will create an outline of the text and then crop it. This option does not preserve text editing ability. It should be used in situations where having text is still important and requires a clean cut.
Vectorize and Crop
To preserve text while cropping, use the Crop text based on option. The Origin of first character sub-option determines whether the first character of text is within the crop area or not. If it is, the text is cropped. The Text bounds sub-option determines whether the text bounding box is within the crop area or not. If it is, the text is cropped.
Crop based on first character Crop based on text boundary
For points, Vectorize and crop will create an outline of the points and then crop it. This results in small areas that are now partially cropped.
The overall result is a map coverage with data removed based on the cropping boundary. On all visible and unlocked layers:
- Crop text based on Origin of first character: Text that have the first character inside the cropping boundary are deleted. Text objects with the first character outside the cropping boundary are retained completely.
- Crop text based on Text bounds: Text that have their anchor inside the cropping boundary are deleted. Text objects with its anchor outside the cropping rectangle are retained completely.
- Points falling inside of the cropping boundary are deleted (the position of the center of the symbol is relevant). Symbols that have their center outside the cropping rectangle are maintained as a whole.
- Lines are clipped at the boundary of the cropping rectangle.
- Areas (polygons) that are completely inside of the cropping boundary are deleted. Areas intersecting with the cropping boundary are clipped and closed following the edge of the boundary.
"Skipping art because topology is invalid" messages display in the MAPublisher Log when a line intersects itself along the border of your crop boundary. "Hidden layer" messages display in MAPublisher Log.
Due to an Adobe Illustrator limitation, text on a path may flip after a crop. This can be corrected by checking the Flip option in the Type on the Path Options dialog box (choose Type > Type on a Path > Type on a Path Options).
When cropping on import, text will be cropped based on whether its bounding box touches the crop extents.
Please sign in to leave a comment.