[Qgis-user] cartogram plugin

Paolo Cavallini cavallini at faunalia.it
Thu May 8 10:50:35 PDT 2008


Hi all.
Testing the new plugins from cfarmer, I encountered an error in the
cartogram plugin (BTW: the name of the window is wrong):

An error has occured while executing Python code:

Traceback (most recent call last):
 File "/home_slides/.qgis//python/plugins/cartogram/doCartogram.py",
line 83, in accept
  tempList = self.cartogram(inLayer, outPath, iterations, str(inField),
keep, self.progressBar)
 File "/home_slides/.qgis//python/plugins/cartogram/doCartogram.py",
line 149, in cartogram
  (dMean, aLocal, dForceReductionFactor, dTotalArea, dTotalValue) =
self.getInfo(provider, index)
 File "/home_slides/.qgis//python/plugins/cartogram/doCartogram.py",
line 232, in getInfo
  dFraction = dAreaTotal / dTotalValue  #ratio of actual area to total
'area' value...

All the best.
pc
-- 
Paolo Cavallini, see: * http://www.faunalia.it/pc *



More information about the Qgis-user mailing list