[mapserver-users] Layer rendering performance problem

Jon-Paul Dobson jpdobson40 at gmail.com
Wed May 11 12:21:49 EDT 2011


Hi Thomas,

I'm actually using the latest version of the MapScript c# API. Is it
possible to specify whether to use AGG or GD? The font file is definately
being continually accessed. Any ideas?

Regards,
Jon-Paul.
On Wed, May 11, 2011 at 5:10 PM, thomas bonfort <thomas.bonfort at gmail.com>wrote:

> what mapserver version and renderer/driver are you using?
>
> AGG should'nt be accessing the font file unless a new character is
> encountered. For GD I don't know.
>
> --
> thomas
>
> On Wed, May 11, 2011 at 18:00, Jon-Paul Dobson <jpdobson40 at gmail.com>
> wrote:
> > Thanks guys. I will give this ago. Any ideas about poor performance when
> > using a true type font? Why does MapServer need to load the .ttf file
> each
> > time to draw a symbol. Surely the ttf file should be cached?
> >
> > Rgards,
> > Jon-Paul.
> >
> > On Wed, May 11, 2011 at 4:54 PM, Jeff McKenna
> > <jmckenna at gatewaygeomatics.com> wrote:
> >>
> >> On 11-05-11 12:47 PM, Jon-Paul Dobson wrote:
> >>>
> >>> Hi Jukka,
> >>> Thanks for getting back to me so quickly. No I haven't tried this. How
> >>> is this done and what is the benefit? Aren't Shape files already
> indexed?
> >>> Regards,
> >>> Jon-Paul.
> >>
> >> Jukka is right, always make sure to run the shptree commandline utility
> on
> >> all of your ESRI shapefiles before using them in MapServer
> >> (http://mapserver.org/utilities/shptree.html).  You'll see huge speed
> >> differences.
> >>
> >> -jeff
> >>
> >>
> >> --
> >> Jeff McKenna
> >> MapServer Consulting and Training Services
> >> http://www.gatewaygeomatics.com/
> >>
> >>
> >> _______________________________________________
> >> mapserver-users mailing list
> >> mapserver-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110511/525e5d2d/attachment.html


More information about the mapserver-users mailing list