<br><font size=2 face="sans-serif">Thank you for the responses Daniel and
Frank.</font>
<br>
<br><font size=2 face="sans-serif">We have implemented the following changes:</font>
<br><font size=2 face="sans-serif">Removed all setting of projection in
individual layers</font>
<br><font size=2 face="sans-serif">Moved the <27700> projection to
the top of the epsg file</font>
<br><font size=2 face="sans-serif">Reverted back to mapobj.setProjection
("init=epsg:27700") in the code</font>
<br>
<br><font size=2 face="sans-serif">We have run some tests in our development
environment and these changes remove the error we were seeing and still
produces valid map images. We are going to run some performance tests
overnight in our pre-production environment against 200 or so of our layers
to see what impacts we get against our live data. </font>
<br>
<br><font size=2 face="sans-serif">I am expecting an improvement because
we used to call set projection once for the map and then once for each
of our 18 context layers in each WMS request. So if setProjection
took ~200ms before, that meant our setprojection process was taking (200+(18*200))
= ~3.8 seconds for each request. Now the worst case is 200ms
for the map set projection and because of the epsg file change hopefully
that will come down to <100ms per request.</font>
<br>
<br><font size=2 face="sans-serif">Next week we plan to filter out the
context layers that we know will not get drawn at the view scale right
at the start of processing so we expect more savings.</font>
<br>
<br><font size=2 face="sans-serif">Thanks for the support. Simon</font>
<br><font size=3 face="sans-serif"><br>
</font>
<br><font size=3 face="sans-serif"><br>
</font>
<hr><font size=2 face="sans-serif"><br>
<i><br>
</i></font>
<p><font size=2 face="sans-serif"><i>Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</i></font>
<p><font size=2 face="sans-serif"><br>
</font><font size=3 face="sans-serif"><br>
</font>
<br>
<br><font size=3 face="sans-serif"><br>
</font>