Jump to content

 
Photo

labelling in ArcGIS

- - - - -

  • Please log in to reply
4 replies to this topic

#1
Covasnianu Adrian

Covasnianu Adrian

    Contributor

  • Validated Member
  • PipPip
  • 48 posts
  • Gender:Male
  • Location:Iasi
  • Romania

Hi! I'm trying to label from a shapefile. I've set 4 classes in order to specify on different angles.

Is it possible to label on two rows, instead of the classical one row?

For example New York City to be shown like this:

New York
City


I've searched in label styles, but no effect.

How can I do this without being forced to export those features in a annotation?

P.S. I think some VBScript could solve the problem, but I have no idea.

Thanks
Adrian,
GIS user

PhD geographer
CUGUAT-TIGRIS Research Center
University Al.I.Cuza Ia┼či
Faculty of Geography & Geology

email: covasnianu.adrian@gmail.com

#2
jrat

jrat

    Master Contributor

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

[Field1] & vbNewLine &[field2]

in the expressiong builder in the label manager there is a help feature that will clue you in to what you can do with lables using vb or phython scripting.

#3
DaveB

DaveB

    Hall of Fame

  • Validated Member
  • PipPipPipPipPipPipPip
  • 1,036 posts
  • Gender:Not Telling
  • Location:Redlands, CA
  • United States

If you have Maplex there are options for word-wrapping. If you're using the standard lable engine and the lable is coming from a single field you will have to do some parsing in the lable expression. There are many examples of this in the Esri user fourms, online help, etc.
In this help topic about building label expressions there is an example using 2 fields and another example using a single field.
Dave Barnes
Esri
Product Engineer
Map Geek

#4
Bryan Swindell

Bryan Swindell

    Contributor

  • Validated Member
  • PipPip
  • 42 posts
  • Gender:Male
  • Location:Montana
  • United States

Here's a document that I keep bookmarked - I find myself referring to it all the time:

http://www.esri.com/...cript_label.pdf

#5
heath b

heath b

    Key Contributor

  • Validated Member
  • PipPipPip
  • 71 posts
  • Gender:Male
  • Location:Portland, OR
  • Interests:the great outdoors, bouldering, martinis, unusual graphical representation
  • United States

A recent post here covered something similar

http://www.cartotalk...?showtopic=7321




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->