Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Auto-joining line segments?

Community Beginner ,
Apr 07, 2017 Apr 07, 2017

I have a bunch of maps generated by GIS software I need to work with. All of the lines are broken into hundreds of small segments, which makes it very difficult and time consuming to work with. I want to join the line segments, but selecting groups of segments and using either Join or Pathfinder|Unite doesn't quite work. I get segments that close back on something else, creating new, incorrect lines. Is there a way to search for endpoints that are within a specified distance and have them merge and join? Or some other technique I could use to get these maps in more functional form? I need to do a lot of manipulation on this data, so any tips would be massively appreciated!

Screen Shot 2017-04-07 at 11.09.25 AM.png

Sample line segments—the end points are all concurrent on the X and Y axes. This is a very small part of one of the maps I need to manipulate.

Screen Shot 2017-04-07 at 11.10.04 AM.png

Same line segments after using Join.

Screen Shot 2017-04-07 at 11.09.45 AM.png

Same line segments after using Pathfinder|Unite on them.

3.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Apr 07, 2017 Apr 07, 2017

Which version of Illustrator are you using?

Can you share a typical sample .ai file?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Apr 07, 2017 Apr 07, 2017

May be you can use a plugin named concatenate form this site

Adobe Illustrator plugins - rj-graffix

Give it a try

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 07, 2017 Apr 07, 2017

Depending on what you are trying to do with the maps, selecting all and converting it to a Live Paint Object may be helpful.

That's how I deal with Autocad DWG files, which are made of segments like this also.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 13, 2017 Apr 13, 2017

The plug-in VectorFirstAid should do exactly what you want.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2017 Apr 13, 2017

give Mr. Sato's join reasonably script a try

s.h's page : Scripts for Adobe Illustrator CS

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 13, 2017 Apr 13, 2017
LATEST

This is your answer VectorFirstAid - Astute Graphics

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines