<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Mapserver Debug Output</title>
	<atom:link href="http:///wordpress/2007/08/mapserver-debug-output/feed/" rel="self" type="application/rss+xml" />
	<link>/wordpress/2007/08/mapserver-debug-output/</link>
	<description>by rupert</description>
	<lastBuildDate>Tue, 03 Jan 2012 02:28:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: rupert</title>
		<link>/wordpress/2007/08/mapserver-debug-output/comment-page-1/#comment-46</link>
		<dc:creator>rupert</dc:creator>
		<pubDate>Wed, 14 Nov 2007 11:05:19 +0000</pubDate>
		<guid isPermaLink="false">/wordpress/?p=107#comment-46</guid>
		<description>I saw this awesome post from Ed McNierney @ MAPSERVER-USER Mailing List.

&lt;blockquote&gt;
Let me first toss off a few generic suggestions that probably won’t help much but are worth doing:

1.       Get rid of unused fonts in your font file.  MapServer will reach out and touch each one for each map request.
2.       If your shapefiles don’t change often, preprocess them to create a separate shapefile for each CLASS, so you don’t have to filter as much.
3.       If you must use CLASSes, organize them so the most commonly-used class comes first in each LAYER.
4.       If you have a certain number of combinations of shapefiles used in a given request, create multiple map files with only those layers.  For example, if your 12 layers are one set of 4 base layers that are always used, and then 8 more layers only one of which is displayed at a time, create 8 map files, each with only 5 layers instead of 12 – the four base layers and one specific overlay layer.  Then use your application code to figure out which map file to select.

And make sure you’re using shptree to generate spatial indexes for all your shapefiles!
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>I saw this awesome post from Ed McNierney @ MAPSERVER-USER Mailing List.</p>
<blockquote><p>
Let me first toss off a few generic suggestions that probably won’t help much but are worth doing:</p>
<p>1.       Get rid of unused fonts in your font file.  MapServer will reach out and touch each one for each map request.<br />
2.       If your shapefiles don’t change often, preprocess them to create a separate shapefile for each CLASS, so you don’t have to filter as much.<br />
3.       If you must use CLASSes, organize them so the most commonly-used class comes first in each LAYER.<br />
4.       If you have a certain number of combinations of shapefiles used in a given request, create multiple map files with only those layers.  For example, if your 12 layers are one set of 4 base layers that are always used, and then 8 more layers only one of which is displayed at a time, create 8 map files, each with only 5 layers instead of 12 – the four base layers and one specific overlay layer.  Then use your application code to figure out which map file to select.</p>
<p>And make sure you’re using shptree to generate spatial indexes for all your shapefiles!
</p></blockquote>
]]></content:encoded>
	</item>
</channel>
</rss>

