[mapserver-users] Layer rendering performance problem

Lime, Steve D (DNR) steve.lime at state.mn.us
Wed May 11 13:39:17 PDT 2011


I believe GD had its own font caching built in or it used some Freetype constructs. I never wrote it...

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Wednesday, May 11, 2011 11:10 AM
To: Jon-Paul Dobson
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Layer rendering performance problem

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
>
>
_______________________________________________
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