Hi<br><br>I&#39;m supporting an instance of MapServer 4.8.3 and I am trying to improve the performance of the map drawing.<br><br>I&#39;ve a java app that modifies the JNI setProjection object, using &#39;init=epsg:27700&#39; as its argument.<br>
<br>This seems to take approx 200ms for every layer that I add to my request (rendered or not), which can drastically increase the time taken to draw a map (my standard request includes 18 layers).<br><br>I read <a href="http://mapserver.gis.umn.edu/docs/howto/mapfiletuning">http://mapserver.gis.umn.edu/docs/howto/mapfiletuning</a> about using inline projection parameters and how it is much quicker than using an epsg lookup, but I&#39;m having problems.<br>
<br>Using <a href="http://spatialreference.org/ref/epsg/27700/">http://spatialreference.org/ref/epsg/27700/</a> I determined that the projection parameter should now be<br><br>&#39;+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy +datum=OSB36 +units=m +no_defs&#39;<br>
<br>but this just gives me an error in setProjection - unknown eliptical parameter name.<br><br>The advice here (<a href="http://comments.gmane.org/gmane.comp.gis.mapserver.user/18519">http://comments.gmane.org/gmane.comp.gis.mapserver.user/18519</a>) suggests that I should be using the proj4 format - is that correct?<br>
<br>Does anybody have any idea how I can modify my projection parameter so that it works?&nbsp; FWIW, upgrading MapServer is probably out of the question.<br><br>MTIA<br><br>Rob<br><br>