layer type annotation ...label??

John Smith jayzee.smith at GMAIL.COM
Thu Jul 19 15:26:46 PDT 2007


if i just leave the annotation layer shown below in the map file, this
is what gives?

msDrawLegend(): GD library error. Unable to initialize image.
msImageCreateGD(): Image handling error. Cannot create GD image of size 40 x 0.

but why??

i can label shape layers fine, just not annotation layers??
jzs

On 7/19/07, John Smith <jayzee.smith at gmail.com> wrote:
> guys,
> racked my brains on what may be a simple problem- trying to add some
> copyright info like so:
>
> LAYER
>         NAME "copyright"
>         GROUP "metadata"
>         STATUS on
>         TYPE annotation
>         FEATURE
>                 POINTS
>                         30 30 # position of text in image pixel coordinates
>                 END
>                 TEXT "2007"
>         END
>         CLASS
>                 LABEL
>                         TYPE bitmap
>                         COLOR 0 0 0
>                         POSITION auto
>                 END
>         END
> END # layer
>
> what gives??
> jzs
>



More information about the MapServer-users mailing list