Making dashed lines intersect at every intersection in MAPublisher

One of the great advantages of using Adobe Illustrator for a mapping project is that you can make great line styles easily. For example, to make a double line stroke and one of them is dashed:

01: Double Stroke Line

Double strokes are a line graphic style where two different line strokes overlap each other. For example, the image shows that there is a stroke with a brown color and its stroke size is 3 pts. On top of this brown line, there is a 1 pt white dash line:

02: Double stroke lines with the settings shown in the appearance panel

You might have an experience where you duplicated one line layer and assigned a different style for lines in each of those layers. However, this has some disadvantages. The file size will increase because all the line segments as well as the attribute information attached to every line object is duplicated. Also, when you apply the double stroke line to road layer, the white dash line does not intersect nicely at every intersection of the map:

02: Double stroke problem

With Adobe Illustrator CS5, these problems are solved.

0) Create a graphic style like the one shown above.

1) Open the Pathfinder panel (Window > Pathfinder).

03: Pathfinder Tool

2) Select all the line objects in the line layer.
Click the outline tool 04: Pathfinder - outline tool .

This function in the Pathfinder tool breaks lines at every intersection.

03: Pathfinder - function: breaking lines at every intersection

All the selected objects which were selected at Step 2 will be broken into segments at every intersection and they will be grouped as one object in the layer.

04: Pathfinder result - all the objects are now grouped.

3) Having the grouped objects selected, apply the graphic style with the double stoke.

4) The white dashed line is intersected at every intersection nicely.
05: dashed lines intersect at every intersection


Quick tip

When creating double stroke, make sure to select the option trick tool "Align dashes to corners & path ends, adjusting length to fit" available next to the dash line option.

Note

Since this operation involves a pathfinder functions, the attribute information will not be matintained after the "outline" function is applied to those selected line works. Our development team is looking for a possible solution to keep the attribute information for the future version of MAPublisher.

 

In order to overcome the

In order to overcome the limitations of loosing the attribute information, you should initially duplicate your map layer. You can use the original map (street) layer for labeling (e.g. names) and use the outline pathfinder command on the copied layer for symbolization purposes. Furthermore you could use MapPublisher split map layer or map selection tools to make different layers based on predefined styling codes and then apply line styles using the method described in this post. Regards

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam.
By submitting this form, you accept the Mollom privacy policy.
 
Products Download Purchase Resources Support About Us

 

 

Follow us on Twitter
Follow us on Twitter

PDF Maps
MAPublisher
MAP LabelPro
MAP FME Auto
Geographic Imager
MAPdata
MAPdataCanada
MAPdataUSA
MAPdataWorld
MajorCitiesUSA
PDF Maps iOS
PDF Maps Android
MAPublisher
Geographic Imager
MAPdataCanada
MAPdataUSA
MAPdataWorld
MajorCitiesUSA
Order by Phone
Order by Fax
Order by Email
Order Online
Direct Download
Resellers
Resources Blog
Map Awards
Map Gallery
Training Courses
YouTube Channel
Styles & Symbols
Web Author API
Contact Support
User Guides and Tutorials
User Forums & FAQ
Product Compatibility
Product Activation
Retrieve License File
Renew Maintenance
Maintenance Login
History
Careers
Contact
News
Events