[mapserver-users] Re: annotations in mapserver 5.4

Raivo Alla snaperski at gmail.com
Mon Aug 31 06:23:57 EDT 2009


This is a bit old problem (still got that bug), but I found that I
typed the second link not right, the right link to
the problematic output is that:
http://picasaweb.google.com/snaperski/Ort#5365984697960162578
I assume this is some 5.4 version bug?

Sincerely,
Raivo

On Tue, Aug 4, 2009 at 9:12 AM, Raivo Alla<snaperski at gmail.com> wrote:
> Hey,
>
> I got some weird behavior while trying to display labels with mapserver 5.4.
> With mapserver 5.0.3 these labels show up nicely:
> http://picasaweb.google.com/snaperski/Ort#5365984694609689634
> But with mapserver 5.4, these layers are shown at scale about
> 350000-200000, but they will disappear at higher scales, so nothing
> can be seen:
> http://picasaweb.google.com/snaperski/Ort#5365984694609689634
> This could'nt be collision conflict either as they have enough space to fit in.
> Is something changed in the way mapserver treats annotations elements?
>
> Data source is a polygon shapefile: I hope that (polygon type) is not
> the problem?
> The layer itself in the mapfile:
>
>        LAYER
>                NAME alevikAnno_1
>                GROUP HYBRID
>                METADATA
>                        "wms_title" "alevikAnno"
>                        "wms_srs" "EPSG:3301"
>                        "wms_extent" "355000 6360000 754000 6660000"
>                END
>                STATUS default
>                TYPE annotation
>                DATA "kohanimed/alevikud_1"
>                LABELITEM "TEXTSTRING"
>                CLASS
>                MAXSCALE 1333333
>                MINSCALE 200000
>                        LABEL
>                                TYPE truetype
>                                ANTIALIAS true
>                                FONT "arial"
>                                COLOR 255 255 255
>                                SIZE 9
>                                priority 6
>                                force false
>                                ANGLE auto
>                                OUTLINECOLOR 25 25 25
>                                POSITION cr
>                                BUFFER 1
>                        END
>                END
>        END
>
>
>
> Raivo Alla
> Estonian Land Board
>


More information about the mapserver-users mailing list