Displaying Mapinfo text layer with rotation {Scanned} {Scanned}
Siki Zoltan
siki at AGT.BME.HU
Fri Aug 5 16:11:11 PDT 2005
Hi Tamas,
Some alternatives ...
If you have MapInfo you can add a column for rotational angle and
you can fill it up with a SQL command
Update table_name set angle_column = ObjectGeography(obj, 7)
I usually generate a line tab from the texts and display them as
labels with ANGLE AUTO. I also use shape files where this is the solution
to position annotations.
To make your labels size depending on the zoom add
SYMBOLSCALE scale
line to your layer definition, the label SIZE parameter will be used at
the given scale, at other scales mapserver will change the size of labels.
Bye,
Zoltan
On Fri, 5 Aug 2005, Tamas Szekeres wrote:
> How to display Mapinfo "text" layer correctly? It seems that using
> STYLEITEM "AUTO" and TYPE ANNOTATION ensures the features to display, but
> the angle or the font display setting have not taken into account.
>
> The rotation angle and the displayable text do not appear as a separate
> attribute, so it is not possible to set the appearance manually (eg. by
> using LABELANGLEITEM).
>
> How to render the labels with the size depending on the scale as Mapinfo
> does?
>
>
> I would greatly thankful for any help.
>
> Tamas Szekeres
>
More information about the MapServer-users
mailing list