Hi all <div><br></div><div>First up, thanks to everyone who helped me get started last week when I tried my hand at writing QGis plugins for the first time. With the help of the community and the nice environment QGis provides, it was a pleasant experience to take these first steps.</div>
<div><br></div><div>I wish to give back to the FOSS community, so have written a small but working plugin that calculates polygon centroids. The reason I picked this task is that I had QGis crash when trying to calculate centroids for large datasets. A test set with about 47,000 polygon features showing this behaviour is OSM_building_footprints_20111115.shp which is available in <a href="http://www.aifdr.org/projects/CentroidPlugin/browser/test_data">test_data</a>. The new plugin uses numpy vector operations and does the same job in about 10 seconds (on my machine), so I think it will be useful. The source code, installation instructions, test suite, screen shots and so on are available here: <a href="http://www.aifdr.org/projects/CentroidPlugin">http://www.aifdr.org/projects/CentroidPlugin</a></div>
<div><br></div><div>The plugin still needs some work, mainly on the UI side, and if the community finds it useful I hope someone will help doing that. The outstanding issues that I know are recorded here <a href="http://www.aifdr.org/projects/CentroidPlugin/report/1">tractickets</a> and if anyone finds problems and issues, please report them here <a href="http://www.aifdr.org/projects/CentroidPlugin/newticket">newticket</a></div>
<div><br></div><div>I am not sure if this is the right forum for this - if it isn&#39;t please let me know what the process is for contributing this kind of work.</div><div><br></div><div>Cheers and thanks</div><div>Ole Nielsen, Jakarta</div>
<div><br></div><div><br></div>