Giter Club home page Giter Club logo

cartogram's Issues

How do I know how many iterations to run?

If I'm looking for an "accurate" result, where the polygons get reasonably correctly sized relative to the data column being used, how do I know how many iterations to run? I've already seen that it looks like I need to run more iterations in order to get a reasonably-looking distorted result when the low to high range of the data is separated by several orders of magnitude. But what I don't know is how to determine how many iterations I "should" run in order for my result to be mathematically accurate. Does running too many iterations endlessly exaggerate differences between polygons? Is there a way to know what the correct number of iterations I should run is?

Not working in QGIS 2.2

Just cloned this into /usr/share/qgis/python/plugins and it ain't working ("no metadata file"). Happy to work on a fix because it's a great plugin when working. Any suggestions?

cartogram plugin doesn't see join fields

I have joined a .csv file to the data in my .shp file (well, the .dbf, obviously), and I can see the data in the attribute table, but the field doesn't show up on the list of available fields in the drop down to choose a data field in the cartogram creator plugin.

Publish in QGis repository?

I don't know enough about QGis to install the plugin manually; could you publish it in the official repository? (Or is it published and my QGis 2.4 just doesn't see it?)
Or add a guide on where to clone this repository to?

Error in QGIS 2.4

Perhaps I'm doing something wrong, but...

An error has occured while executing Python code:

Traceback (most recent call last):
File "C:/PROGRA1/QGISCH1/apps/qgis/./python/plugins\cartogram-plugin\plugin.py", line 136, in run
d = doCartogram.Dialog(self.iface)
File "C:/PROGRA1/QGISCH1/apps/qgis/./python/plugins\cartogram-plugin\doCartogram.py", line 61, in init
for name, layer in layermap.iteritems():
File "C:/PROGRA1/QGISCH1/apps/qgis/./python/plugins\cartogram-plugin\doCartogram.py", line 61, in init
for name, layer in layermap.iteritems():
File "C:\PROGRA1\QGISCH1\apps\Python27\lib\bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
File "C:\PROGRA1\QGISCH1\apps\Python27\lib\bdb.py", line 68, in dispatch_line
if self.quitting: raise BdbQuit
BdbQuit

Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS version:
2.4.0-Chugiak Chugiak, 8fdd08a

Python path: ['C:/PROGRA1/QGISCH1/apps/qgis/./python/plugins\processing', 'C:/PROGRA1/QGISCH1/apps/qgis/./python', u'C:/Users/bjquinn/.qgis2/python', u'C:/Users/bjquinn/.qgis2/python/plugins', 'C:/PROGRA1/QGISCH1/apps/qgis/./python/plugins', 'C:\PROGRA1\QGISCH1\bin\python27.zip', 'C:\PROGRA1\QGISCH1\apps\Python27\DLLs', 'C:\PROGRA1\QGISCH1\apps\Python27\lib', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\plat-win', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\lib-tk', 'C:\PROGRA1\QGISCH1\bin', 'C:\PROGRA1\QGISCH1\apps\Python27', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg', 'C:\PROGRA1\QGISCH1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg', 'C:\PROGRA1\QGISCH1\apps\qgis\python\plugins\fTools\tools']

issue launching Cartogram

Hi,

launching cartogram on either Qgis 2.0 or 2.4 on Fedora 20, I get the following error:


Traceback (most recent call last):
File "/home/nao/.qgis2/python/plugins/cartogram_creator/plugin.py", line 136, in run
d = doCartogram.Dialog(self.iface)
File "/home/nao/.qgis2/python/plugins/cartogram_creator/doCartogram.py", line 61, in init
for name, layer in layermap.iteritems():
File "/home/nao/.qgis2/python/plugins/cartogram_creator/doCartogram.py", line 61, in init
for name, layer in layermap.iteritems():
File "/usr/lib64/python2.7/bdb.py", line 49, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib64/python2.7/bdb.py", line 68, in dispatch_line
if self.quitting: raise BdbQuit
BdbQuit

Version de Python :
2.7.5 (default, Jun 25 2014, 10:19:55)
[GCC 4.8.2 20131212 (Red Hat 4.8.2-7)]

Version de QGIS :
2.4.0-Chugiak Chugiak, exported

Chemin vers Python : ['/usr/share/qgis/python/plugins/processing', '/usr/share/qgis/python', u'/home/nao/.qgis2/python', u'/home/nao/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/PIL', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.7/site-packages', '/usr/share/qgis/python/plugins/fTools/tools']

the cartogram plugin has been unzipped to the "/home/nao/.qgis2/python/plugins/cartogram_creator" directory.

Have you any idea of what is going wrong ?

regards,

"invalid syntax" in QGIS

When I put these files in /Users/me/.qgis2/python/plugins/cartogram-master and start QGIS, and select Cartogram Creator from the plugins menu, the side panel says
"This plugin is broken
invalid syntax"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.