hello,<div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp;I want to build QuickPrint Option Window For my app, where it display the window as in Quantum Gis of adding north arrow ,title, legend and logo.. I am new in this so plz help by giving some code in python.&nbsp;</div>
<div><br></div><div>i know there must be solution with you all, thanks in advance.</div><div><br></div><div>arpita<br><div><br><div class="gmail_quote">On Sat, Jan 10, 2009 at 12:14 AM, Barry Rowlingson <span dir="ltr">&lt;<a href="mailto:b.rowlingson@lancaster.ac.uk">b.rowlingson@lancaster.ac.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Okay, so I&#39;m getting my new raster algebra plugin working. Runs fine<br>
at home on &nbsp;Windows with Qgis 1.0.0-preview2.<br>
<br>
&nbsp;I try it on Linux, on Qgis 1.0.0-Kore. Fails because of API changes,<br>
so I fix those. Then it fails while playing with raster data from<br>
gdal.<br>
<br>
&nbsp;What seems to be happening is that on Windows, everything uses numpy<br>
arrays - so when I get raster data via python-gdal I get a numpy array<br>
back, which I then manipulate using numpy functions, and pass it back<br>
to python-gdal to write a new geoTiff. But with Ubuntu, I get a<br>
Numeric array back, manipulate it with numpy functions, and then pass<br>
a numpy array to python-gdal which promptly complains that the object<br>
doesn&#39;t have a &#39;typecode&#39; method (which only Numeric arrays have).<br>
<br>
&nbsp;I think the change happened between python-gdal 1.4 and 1.5. Is it<br>
worth working round the Numeric array problem or does anyone know if<br>
things are going to be updated soon? What does Ubuntu Intrepid Ibex<br>
have? What python-gdal is available for MacOS?<br>
<br>
&nbsp;The workaround involves making sure I pass the right sort of array to<br>
the writing functions, but that involves knowing what python-gdal<br>
expects and copying the data when converting it to Numeric array.<br>
Something worth avoiding. Oh well.<br>
<br>
&nbsp;Sorry this is less of a qgis problem and more of a python-gdal one...<br>
But I&#39;m sure you guys know the answer...<br>
<br>
Barry<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Arpita<br>
</div></div>