True, I was using an inappropriate layer, sorry for the noise.
You should consider that sometimes 0 are present?
(ZeroDivisionError: float division)
Agus
Carson Farmer wrote:
Hi Agus,
The 'Generate Centroids' name is simply me reusing code, I'll fix this
later...
as for not being able to select anything, all I can think of is perhaps
you don't
have a valid polygon layer loaded, or if you do, perhaps it doesn't have
any numeric fields?
Carson
On Tue, Oct 27, 2009 at 8:13 AM, Agustin Lobo <[email protected]
<mailto:[email protected]>> wrote:
Hi!
When I run plugin Cartogram Creator a window named
"Generate Centroids"
pops up in which I cannot select anything in field
Input Shapefile
(qgis 1.3.0 ubuntu jaunty from ubuntugis-unstable binaries)
Cheers
Agus
--
Carson Farmer
National Centre for Geocomputation
John Hume Building,
National University of Ireland, Maynooth,
Maynooth,
Co. Kildare,
Ireland.
www.carsonfarmer.com <http://www.carsonfarmer.com>
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user