Jump to content

 
Photo

importing a series of individual labels

- - - - -

  • Please log in to reply
3 replies to this topic

#1
Dennis McClendon

Dennis McClendon

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,083 posts
  • Gender:Male
  • Location:Chicago
  • Interests:map design, large-scale maps of cities
  • United States

From time to time, we all need to take a series of labels that we have in a text document (Word, Excel, or something similar) and bring them into an Illustrator map as individual labels. Imagine that you have the series of street names:

Third
Lexington
Park
Madison
Fifth

Has anyone thought of a clever way to bring those into an Illustrator file so they'd be separate labels that could then be dragged to the appropriate streets?
Dennis McClendon, Chicago CartoGraphics
chicagocarto.com

#2
Nick H

Nick H

    Legendary Contributor

  • Validated Member
  • PipPipPipPipPip
  • 307 posts
  • Gender:Male
  • Location:Caversham, Reading, England.
  • United Kingdom

Export the labels from Word as a PDF. Open your map in AI in and then open the PDF with the labels. With the labels on the screen do CTRL-A, CTRL-C. Then click the map tab and go CTRL-V. This works.

Its amazing that AI won't let you import files.

Regards, N.
Caversham, Reading, England.

#3
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,304 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

Dennis - the amazing John Wundes has a javascript to the rescue for you - just copy/paste the text into a textframe, and then run his DivideTextFrame script. Voilá!
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#4
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,306 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

Dennis - the amazing John Wundes has a javascript to the rescue for you - just copy/paste the text into a textframe, and then run his DivideTextFrame script. Voilá!


That looks like a great script.

It would be interesting to try and tweak the "verticalTolerance" variable for Maplex street label exports in order to try and join broken baselines - but presently the script is only intended for individual lines of horizontal text.

This copied from script
// If a selected text anchors vertical coordinate is different,
// the text areas are assumed to be sequential lines,


We need someone to define instances of X and Y coordinate differentiation (as well as rotation) for cartographic use. This would be awesome to to have for Maplex generated labeling that is not all horizontal.

co-cartographic creator of boringmaps.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->