Labels in 5.0 was: Can I export MapInfo "styleitem" info to PostGIS?
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Wed Oct 10 12:23:07 PDT 2007
Richard,
the field definition might be case sensitive so it would like be:
LABEL [NAME] # for shapefiles
LABEL [name] # for postgres
And your guess is as good as mine for the rest.
-Steve W
Richard Greenwood wrote:
> On 10/10/07, Daniel Morissette <dmorissette at mapgears.com> wrote:
>
>> That is the reason why LABELITEM, ANGLEITEM, etc were dropped in 5.0.
>> e.g. LABELITEM was replaced by "LABEL [mylabelitem]", etc.
>
> The above doesn't work for me. My layer definition is:
>
> LAYER
> NAME "water"
> STATUS ON
> DATA "Hydro/Water"
> TYPE LINE
> #LABELITEM "Name"
> LABEL [Name]
> LABELMAXSCALE 50000
> CLASS
> COLOR 0 0 255
> SYMBOL 'solid'
> SIZE 1
> LABEL
> ANGLE AUTO
> TYPE truetype
> antialias true
> POSITION CC
> SIZE 8
> COLOR 0 0 255
> FONT arial
> OUTLINECOLOR 255 255 255
> END # label
> END # class
> END # water layer
>
> Am I putting LABEL [Name] in the wrong place?
>
> Thanks,
> Rich
>
More information about the MapServer-users
mailing list