performance tuning annotation layers

Xin crazygecko at GMAIL.COM
Mon Nov 14 05:20:55 EST 2005


Hi,

I'm currently trying to produce my map under 1 second. A tough goal, yes.
I've managed to speed it up from around 3s to 1.5s so far. I did this using
various techniques, such as tileindexing, splitting up data, thinning data.

Using shp2img I can see drawing label cache takes the most time! Close to a
second. Clearly there's some performance to be squeezed out here. I thought
I'd email for some advice. Here's what most of my labels look like:

LABEL
TYPE TRUETYPE
FONT "arial"
FORCE true
SIZE 9
POSITION CR
MINDISTANCE 300
MAXSIZE 20
COLOR 0 0 0
OUTLINECOLOR 255 255 255
SHADOWCOLOR 255 255 255
SHADOWSIZE 2 2
ANTIALIAS false
PARTIALS FALSE
END

I notice if I'm using a bold font, they take quite some time longer. Any
suggestions?

Cheers,
Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20051114/a1ce49da/attachment.html


More information about the mapserver-users mailing list