Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Daniel Morissette
On 11-05-12 04:57 AM, Jan Hartmann wrote: About the GD library: the dowload site (http://www.boutell.com/gd/) is down, and there is no indication how long this will be so. There is a link to the code repository, but no standard tar-file is to be found there. Since MapServer cannot be compiled wit

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Jeff McKenna
On 11-05-11 9:59 PM, Ben Madin wrote: I'm not sure whether it is still the case, but it used also to be that if you wanted to use the index, you need to name the shapefile without the .shp extension. If you used the .shp extension it wouldn't use the .qix index. So maybe this is a question - Is

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Jon-Paul Dobson
ever, this in old knowledge and both WMS_DATA.shp and WMS_DATA are >> >> utilising the index nowadays. >> >> >> >> Gdal is using the same .qix index file system and therefore also QGIS. >> >> There is more info about gdal shapefile spatial index in >>

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread thomas bonfort
t;> -Jukka Rahkonen- >> >> >> >> >> Lähettäjä: mapserver-users-boun...@lists.osgeo.org >> [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Ben Madin >> Lähetetty: 12. toukokuuta 2011 4:00 >> Vastaanottaja: mapserver-us

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Jon-Paul Dobson
nen- > > > > -- > *Lähettäjä:* mapserver-users-boun...@lists.osgeo.org [mailto: > mapserver-users-boun...@lists.osgeo.org] *Puolesta *Ben Madin > *Lähetetty:* 12. toukokuuta 2011 4:00 > *Vastaanottaja:* mapserver-users@lists.osgeo.org > *Aihe:* Re: [mapserver-u

Re: [mapserver-users] Layer rendering performance problem

2011-05-12 Thread Jan Hartmann
...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Wednesday, May 11, 2011 11:10 AM To: Jon-Paul Dobson Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Layer rendering performance problem what mapserver version and renderer/driver are you using? AGG should'nt be accessin

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Rahkonen Jukka
toukokuuta 2011 4:00 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Layer rendering performance problem I'm not sure whether it is still the case, but it used also to be that if you wanted to use the index, you need to name the shapefile withou

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Ben Madin
To: mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] Layer rendering performance problem > > > look at the mapserver utilities: > > shptree myshapefile > > This creates a spatial index (*.qix) and you should create one for every > shapefile you are using. &

RE: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Lime, Steve D (DNR)
:10 AM To: Jon-Paul Dobson Cc: mapserver-users@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.

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jon-Paul Dobson
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 wrote: > what mapserver version and

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jeff McKenna
On 11-05-11 12:53 PM, Stephen Woodbridge wrote: look at the mapserver utilities: shptree myshapefile This creates a spatial index (*.qix) and you should create one for every shapefile you are using. On Linux this will do the trick: find /path/data -name \*.shp -exec shptree {} \; If the .qix

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread thomas bonfort
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 wrote: > Thanks guys. I will give this ago. Any ideas about poor performance wh

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jon-Paul Dobson
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 wrote: > On 11-05-11 1

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Stephen Woodbridge
look at the mapserver utilities: shptree myshapefile This creates a spatial index (*.qix) and you should create one for every shapefile you are using. On Linux this will do the trick: find /path/data -name \*.shp -exec shptree {} \; If the .qix file is missing on every draw mapserver must c

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jeff McKenna
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

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jon-Paul Dobson
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. On Wed, May 11, 2011 at 4:41 PM, Rahkonen Jukka wrote: > Hi, > > No answers but a question back. Have you created spatial

Re: [mapserver-users] Layer rendering performance problem

2011-05-11 Thread Rahkonen Jukka
Hi, No answers but a question back. Have you created spatial index (.qix) for your shapefiles with shptree? -Jukka Rahkonen- Jon-Paul Dobson wrote: > Hi, > Whenever I display a layer based on a Shape file I notice that the Shape file is accessed constantly. This makes rendering extremely s

[mapserver-users] Layer rendering performance problem

2011-05-11 Thread Jon-Paul Dobson
Hi, Whenever I display a layer based on a Shape file I notice that the Shape file is accessed constantly. This makes rendering extremely slow when compared to, for example, ESRI ArcIMS which appears to cache the Shape file. Is there an equivalent caching mechanism for Map Server? ArcIMS seems to