GithubHelp home page GithubHelp logo

gustry / geohealth Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 7.0 3.82 MB

Geohealth offers a simplified interface for users in public health: import data, create incidence or density maps, spatially blur GPS location, run statistics and export results.

License: GNU General Public License v3.0

Python 82.92% QMake 0.56% Makefile 0.87% QML 15.12% Shell 0.52%
health python qgis-plugin

geohealth's People

Contributors

chriseas avatar gustry avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geohealth's Issues

ImportError: cannot import name NavigationToolbar2Qt

ImportError: cannot import name NavigationToolbar2Qt
Traceback (most recent call last):
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 308, in loadPlugin
import(packageName)
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/MYUSER/.qgis2/python/plugins\GeoHealth_init
.py", line 23, in
from GeoHealth.src.plugin import GeoHealthPlugin
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/MYUSER/.qgis2/python/plugins\GeoHealth\src\plugin.py", line 30, in
from GeoHealth.src.gui.main_window import MainDialog
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/MYUSER/.qgis2/python/plugins\GeoHealth\src\gui\main_window.py", line 50, in
from GeoHealth.src.gui.analysis.stats_dialog import StatsWidget
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/MYUSER/.qgis2/python/plugins\GeoHealth\src\gui\analysis\stats_dialog.py", line 35, in
from GeoHealth.src.core.graph_toolbar import CustomNavigationToolbar
File "E:/QGis/apps/qgis/./python\qgis\utils.py", line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:/Users/MYUSER/.qgis2/python/plugins\GeoHealth\src\core\graph_toolbar.py", line 27, in
from matplotlib.backends.backend_qt4agg import
ImportError: cannot import name NavigationToolbar2Qt

Python version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
QGIS version: 2.18.13 Las Palmas, 8cba0bb9eb

Python Path:
E:/QGis/apps/qgis/./python/plugins\processing
E:/QGis/apps/qgis/./python
C:/Users/MYUSER/.qgis2/python
C:/Users/MYUSER/.qgis2/python/plugins
E:/QGis/apps/qgis/./python/plugins
E:\QGis\bin\python27.zip
E:\QGis\apps\Python27\DLLs
E:\QGis\apps\Python27\lib
E:\QGis\apps\Python27\lib\plat-win
E:\QGis\apps\Python27\lib\lib-tk
E:\QGis\bin
E:\QGis\apps\Python27
E:\QGis\apps\Python27\lib\site-packages
E:\QGis\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
E:\QGis\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
E:\QGis\apps\Python27\lib\site-packages\win32
E:\QGis\apps\Python27\lib\site-packages\win32\lib
E:\QGis\apps\Python27\lib\site-packages\Pythonwin
E:\QGis\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
E:\QGis\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
E:\QGis\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
E:\QGis\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/MYUSER/.qgis2//python

matplotlib requires pyparsing >= 1.5.6

The plugin will not work in Windows 10, QGIS 2.16.2.

I always get this error upon installation on my PC : matplotlib requires pyparsing >= 1.5.6 .. I don't even know where to begin to fix it. Looks like I've got Python 2.7.

Works fine on my mac ! Love this plugin.. please help! Richard

Blur does not seem to work

The help suggests that the plugin will do:

1 : Creating a buffer (radius r)
2 : Random selection of a point in each buffer
3 : Creating a buffer around the new point with the same radius. The initial point is at a maximal distance 2r of the centroid of the buffer.
4 : Deleting the random point and the first buffer

However, it seems to stop after step 1 for me.

Also, I recommend adding the keyword jitter to the plugin description, since this is a (more?) common name for this type of obfuscation; more typically done by simply adding two random value in the range of -r to +r to the coordinates of the point, no buffers required.

Quick tweaks for the release

High priority:

  • Remove Thai
  • Remove the plugin from experimental
  • Add help from the right panel in English in Python code
  • Update the code in Transifex (French) half checked, still some strings to be translated in French
  • Reduce icon IRD
  • New icon GeoHealth

Low priority:

  • Download the sample dataset with a button

Export attribute table

Traceback (most recent call last):
File "/home/etienne/.qgis2/python/plugins/GeoHealth/gui/export/csv.py", line 109, in save_csv
line = u'%s\n' % delimiter.join(attributes)
TypeError: sequence item 1: expected string or Unicode, float found

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.