layer type annotation ...label??
Pietro Giannini
pgiannini at BYTEWISE.IT
Fri Jul 20 01:13:43 PDT 2007
ciao John,
add this row to the layer:
TRANSFORM false
so the coordinates will not be transformed into the map's projection.
for the msDrawLegend() error, please attach the entire map file
ciao
.......................................p
--
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E
On Ven, Luglio 20, 2007 00:26, John Smith wrote:
> 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