[Geomoose-users] [Geomoose-developers] Labeling

Dan Little danlittle at yahoo.com
Tue Aug 5 16:46:25 EDT 2008


Hey Jay,

This is a repeatish post, but try looking up "ANGLEITEM"

IIRC, it's ANGLEITEM fieldname

-Duck



----- Original Message ----
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>; geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net
Sent: Tuesday, August 5, 2008 3:33:10 PM
Subject: Re: [Geomoose-users] [Geomoose-developers] Labeling

 
What I am trying to do is use
annotation from a Geodatabase.  From what I hear GeoMoose / Map Server will not
read it.
 
I converted the Annotation
Feature Class to a Point.
Then created a Polygon from the
Annotation Feature Classes, pointing to the Point Feature class for the
Attributes (label field, degree field)
 
I then read the Polygons into
GeoMoose and label on the field and Angle the text by “Angle’ Field.
 
The ANGLE call to Map Server
dosent seem to work in this case
 
Any thoughts?
 
 
From:Jay Kapalczynski 
Sent: Tuesday, August 05, 2008 3:19 PM
To: Jay Kapalczynski; geomoose-users at lists.sourceforge.net;
geomoose-developers at lists.sourceforge.net
Subject: RE: [Geomoose-developers] Labeling
 
I have also tried Angle [Angle]
where “Angle” is the field name that holds the Degrees (ex 270)…still errors
out
 
Thoughts?
 
Can I even do what I am trying
to do?
 
 
 
From:geomoose-developers-bounces at lists.sourceforge.net
[mailto:geomoose-developers-bounces at lists.sourceforge.net] On Behalf Of Jay
Kapalczynski
Sent: Tuesday, August 05, 2008 1:36 PM
To: geomoose-users at lists.sourceforge.net; geomoose-developers at lists.sourceforge.net
Subject: [Geomoose-developers] Labeling
 
I have been successful labeling street centerlines using the
ANGLE FOLLOW in the .map File

This is being performed on a Shapefile Line feature
 
I also have a Polygon Feature that has a field that I am
trying to label….once again I need the text to follow the polygon 
As you can see from the image the road names a following
properly, but the labels for the polygons are not following…
I tried the ANGLE FOLLOW on the Polygon and It will not
draw..
 
Is there some other syntax that I have to put in the map
file that will force the text to follow the Polygon?
 
THANKS
 
 
 
LAYER # Maple Grove Streets
Name
               
    NAME Streets_Labels
               
    DATA './GEOCODED_CENTERLINES2.shp'
               
    STATUS DEFAULT
               
    TYPE annotation
               
    MAXSCALE 6000
               
    MINSCALE 100
               
    LABELITEM 'STREET_NAM'
 
                               
LABELCACHE ON
               
     CLASS
               
       COLOR -1 -1 -1
               
       LABEL
                               
TYPE TRUETYPE
                               
FONT vera_sans
       
                       
ANGLE FOLLOW
       
                       
POSITION AUTO
                               
MAXSIZE 10
                               
SIZE 8
                               
MINSIZE 8
                               
ANTIALIAS TRUE
                               
COLOR 0 0 0
                               
OUTLINECOLOR 255 255 192
                               
BUFFER 2
               
       END
               
     END
  END # Maple Grove
Streets Name


      
-------------- next part --------------
Skipped content of type multipart/related


More information about the Geomoose-users mailing list