[mapserver-users] labeling streets
Raivo Alla
snaperski at gmail.com
Mon Jun 8 22:50:36 PDT 2009
Thank You,
so it should be, but somehow in my case it does not work properly.
When i have no declaration of MINFEATURESIZE, then the picture looks fine:
http://picasaweb.google.com/snaperski/Ort#5345194219497220482
But when I add MINFEATURESIZE AUTO, most labels just disappear, even
if they have enough space to fit in:
http://picasaweb.google.com/snaperski/Ort#5345195269825705586
And those labeled straight streets contain only one feature (line
feature) each - so the label should fit in decently.
Label is declared this way:
LABEL
TYPE truetype
ANTIALIAS true
FONT "arial"
COLOR 240 240 240
OUTLINECOLOR 52 52 52
SIZE 9
force false
MINDISTANCE 250
MINFEATURESIZE auto
ANGLE follow
POSITION cc
BUFFER 1
END
Changing FORCE or POSITION parameters didnt help either....
Raivo
On Mon, Jun 8, 2009 at 12:55 PM, Christy Nieman<cnieman at dmsolutions.ca> wrote:
> Hi,
>
> You could set MINFEATURESIZE to AUTO and then only the labels that fit on
> the lines should be drawn.
>
> Regards,
> Christy
>
> Raivo Alla wrote:
>>
>> Hello!
>>
>> I'm stuck in simple-looking problem, but the solution is just hiding
>> somewhere.
>>
>> The question is: how I can label only those line features, whos label
>> does not run over the line like that:
>>
>> http://picasaweb.google.com/snaperski/Ort#5344831130138846050
>>
>> As street lengths are very different, I cant solve the problem by
>> setting suitable MINFEATURESIZE for
>>
>> respective MINSCALE,MAXSCALE range.
>>
>>
>> All the best,
>> Raivo Alla
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
More information about the MapServer-users
mailing list