Jump to content

 
Photo

Text styling in ArcGIS

- - - - - ArcGIS

  • Please log in to reply
8 replies to this topic

#1
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,835 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

Still working on my ArcGIS map...

 

I have a text layer in my personal geodatabase that's originally coming from Illustrator via a mid/mif file. This layer contains many different classes of texts and through the export process there's been an attempt to maintain the style from Illustrator, so this is stored in the annotation's attributes.

 

How on earth can I override that? I want to be able to assign a new text style to a certain class of text objects in one go, but so far have only been able to do it one by one, or by just editing the annotation attributes, neither are great solutions for the long terms.


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#2
jrat

jrat

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 143 posts
  • Gender:Male
  • Location:Hagerstown, MD
  • United States

You should be able to use the calculator on the Annotation attribute table to change the annotation class ID.  You can also select multiple annotation elements then select the range in the attribute tab and then change the annotation class and it should update all of the selected features.



#3
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,835 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

I had looked at that, but then couldn't find a way to actually create those annotations (i.e. the styles). It now dawns on me that that might be something that needs to be done in ArcCatalog.

 

I worked around it by selecting by attribute and then setting the annotation inline. Just struggling with the font size, the attribute values for that are huge, over a million. This means I can't set them in the regular style dialog, I have to edit the actual attribute values. However, it doesn't always seem to work. Also, there doesn't seem to be a relation between the attribute value and the real world size of the text (e.g. a text that's 400 m tall in real world units has a font size attribute value of around 1080000), so I'm kinda groping. I do know I need to reduce them all a bit in size to avoid overlapping labels.


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#4
Unit Seven

Unit Seven

    Legendary Contributor

  • Moderator
  • PipPipPipPipPip
  • 266 posts
  • Gender:Male
  • Location:New Zealand
  • New Zealand

Hey Hans,

 

Did you export from Illy as DXFs?

 

I have done a lot of work migrating Microstation anno to Arc GDBs—how did you get teh anno into the GDB? I usually used the import CAD anno tool.

 

One thing to keep in mind the annotation class needs to have a scale set  (Feature cLass Properties > Annotation > Reference Scale) This could explain you off values.


S a m B r o w n

U N I T S E V E N
unit.seven@gmail.com

Miramar, Wellington
N E W Z E A L A N D

#5
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,835 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

I exported them out of MAPublisher as mid/mif (so I could retain attribute values) and then put them into my geodatabase using FME.


Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#6
katzmoye

katzmoye

    Contributor

  • Validated Member
  • PipPip
  • 14 posts
  • Gender:Female
  • Location:Portland, OR
  • United States

In ArcCatalog in the properties of your annotation class on the Annotation Classes tab you should be able to create your new styles. Then in ArcMap you should be able to start editing, open the Annotation feature class table, select the records you want to change, and then use the field calculator on the Symbol ID field to change it to the new symbol style you created.

 

Instead of using the Field Calculator you can also open the Attributes window (button is on the Editor toolbar). This also allows you to apply edits/changes to a group of selected features en masse by selecting the layer name at the top (rather than an individual record) and then changing it's attributes.

 

The attached screenshot hopefully shows this. If I select the parent element (POINT_FEATURESAnno) I can apply a single change to all the child elements (2-1, 2-10, 2-11, etc). For example the Annotation Class dropdown (Default, Class1, Class2, etc). In this case, changing the Annotation Class doesn't really do anything but changing the SymbolID does.

 

Hope this helps!

Attached Files



#7
Jon B Ball

Jon B Ball

    Contributor

  • Validated Member
  • PipPip
  • 10 posts
  • Gender:Male
  • Canada

HI Hans

 

Would Symbol Substitution be of use to you? See a reference to it on this page: http://help.arcgis.c...0001m000000.htm  

 

To perform the symbol substitution you need to acccess the properties of the overall Annotation Feature Class (e.g. right click > properties in the table of contents) and view the symbology tab - this is from memory so please let me know if you do not see options for symbol substitution there! You should see options to substitute any/each Annotation Class right there. (Do not look at ther properties for each Class individually, look at the overall set of Annotations).

 

I have had some success using that, but be warned: sometimes the symbol substitution seems to be a bit clumsy and overrides all the manual edits that I have made on the Annotation such as the character and word spacings that I might have created for each feature to make a nice fit between the feature and the anno.

 

Hope that helps!

 

Jon



#8
Jon B Ball

Jon B Ball

    Contributor

  • Validated Member
  • PipPip
  • 10 posts
  • Gender:Male
  • Canada

Hey Hans - I think symbol substitution may only be an option if your annotation is in a File Geodatabse ...

 

Jon



#9
wick

wick

    Contributor

  • Validated Member
  • PipPip
  • 27 posts
  • Gender:Male
  • United States

I exported them out of MAPublisher as mid/mif (so I could retain attribute values) and then put them into my geodatabase using FME.

Hans,

I'm looking at ways to import text from Illustrator files into Geodatabase annotation. How does this process handle curved text on paths?

Anyone have other recommendations or best practices when attempting this conversion?


Jesse Wickizer
Maps.com





Also tagged with one or more of these keywords: ArcGIS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->