<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010>Hi</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>I'm wanting to add
scale information for symbols to composer. These are arrow symbols
representing vector fields, so I want to be able to show in the composer
generated page what the scale of the arrows is (ie how long an arrow represents
a 5cm offset at a point, or whatever).</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>Logically this would
be a custom composer item, but I cannot see any way to create a custom item,
either in C++ or in Python (my preference!), without modifying the base composer
classe(s). Can anyone confirm this?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>A slightly less
desirable approach would be to draw the scale information onto the map item in
composer. This would constrain the placement - it would be nicer to be
able to place it arbitrarily as other widget items.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>In the main Qgis
window I draw this scale information onto the map canvas in response to the
renderComplete signal, in the same way as the scale bar or north arrow, but I
don't think there is an equivalent event when the composer map item is
drawn? So I can't use that approach to draw onto the
canvas...</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>I think I may be
able to draw the scale information by adding a custom map
layer.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>Can anyone suggest
better approaches, or point me to something obvious I've
missed?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=641024921-28022010>Many
thanks</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010>Chris</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=641024921-28022010></SPAN></FONT> </DIV>
<DIV>
<HR>
<DIV>This message contains information, which is confidential and may be subject
to legal privilege. <BR>If you are not the intended recipient, you must not
peruse, use, disseminate, distribute or copy this message.<BR>If you have
received this message in error, please notify us immediately (Phone 0800 665 463
or <A href="mailto:sinfo@linz.govt.nz">info@linz.govt.nz</A> ) and destroy the
original message.</DIV>
<DIV>LINZ accepts no responsibility for changes to this email, or for any
attachments, after its transmission from LINZ.</DIV>
<DIV> </DIV>
<DIV><STRONG>Thank you.</STRONG> <BR></DIV>
<HR>
</DIV>
</BODY></HTML>