Coder Social home page Coder Social logo

qgis-geohey-toolbox's Issues

why use ’a = 6378245.0‘?

define ellipsoid

a = 6378245.0
f = 1 / 298.3

why use 'a = 6378245.0', rather than ‘a=6378137’ ?
'a = 6378245.0‘ is Krassovsky ellipsoid ,it is not a WGS84 ellipsoid

model file naming error

load geohey-toolbox-qgis3 error:

can‘t load plugin “geoheytoolbox”, error in calling method classFactory()
ModuleNotFoundError: No module named 'geoheytoolbox.geohey_toolbox_provider'

the reason:

in model file geohey_toolbox.py import geohey_toolbox_provider,
but the model geohey_toolbox_provider is named as geoHey_toolbox_provider.py in original package,
that is the lower 'h' is the wrong way to the higher 'H' in geohey.

the suggestion:

file name "geoHey_toolbox_provider.py" is amended to "geohey_toolbox_provider.py"

卸下插件GeoHey-Toolbox时出错

卸下插件GeoHey-Toolbox时出错
KeyError: 'GeoHey-Toolbox'
Traceback (most recent call last):
File "d:/Program Files/QGIS 3.0/apps/qgis/./python\qgis\utils.py", line 394, in unloadPlugin
_unloadPluginModules(packageName)
File "d:/Program Files/QGIS 3.0/apps/qgis/./python\qgis\utils.py", line 405, in _unloadPluginModules
mods = _plugin_modules[packageName]
KeyError: 'GeoHey-Toolbox'

Python版本: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
QGIS版本: 3.0.2-Girona Girona, 307d082e3d

安装后加载发生错误

执行Python代码时发生错误:

TypeError: function takes exactly 5 arguments (1 given)
Traceback (most recent call last):
File "d:/Program Files/QGIS 2.18/apps/qgis/./python/plugins\processing\gui\ConfigDialog.py", line 278, in accept
self.tr('Wrong value for parameter "%s":\n\n%s' % (setting.description, unicode(e))))
TypeError: function takes exactly 5 arguments (1 given)

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

Python路径:
d:/Program Files/QGIS 2.18/apps/qgis/./python/plugins\processing
C:/Users/user/.qgis2/python/plugins\GeoHey-Toolbox
d:/Program Files/QGIS 2.18/apps/qgis/./python
C:/Users/user/.qgis2/python
C:/Users/user/.qgis2/python/plugins
d:/Program Files/QGIS 2.18/apps/qgis/./python/plugins
d:\Program Files\QGIS 2.18\bin\python27.zip
d:\Program Files\QGIS 2.18\apps\Python27\DLLs
d:\Program Files\QGIS 2.18\apps\Python27\lib
d:\Program Files\QGIS 2.18\apps\Python27\lib\plat-win
d:\Program Files\QGIS 2.18\apps\Python27\lib\lib-tk
d:\Program Files\QGIS 2.18\bin
d:\Program Files\QGIS 2.18\apps\Python27
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\win32
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\win32\lib
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\Pythonwin
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
d:\Program Files\QGIS 2.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/user/.qgis2//python

wrapped C/C++ object of type WGS2GCJ has been deleted

It happened when I use coordinate transforms

File "C:\Users/admin/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geohey_toolbox\geohey_toolbox_provider.py", line 66, in loadAlgorithms
              self.addAlgorithm( alg )
             RuntimeError: wrapped C/C++ object of type WGS2GCJ has been deleted

Environment:

QGIS version	3.26.1-Buenos Aires	QGIS code revision	b609df9ed4d
Qt version	5.15.3		
Python version	3.9.5		
GDAL/OGR version	3.5.1		
PROJ version	9.0.1		
EPSG Registry database version	v10.064 (2022-05-19)		
GEOS version	3.10.3-CAPI-1.16.1		
SQLite version	3.38.1		
PDAL version	2.3.0		
PostgreSQL client version	unknown		
SpatiaLite version	5.0.1		
QWT version	6.1.6		
QScintilla2 version	2.13.1		
OS version	Windows 10 Version 2009		
			
Active Python plugins			
geohey_toolbox	0.4		
db_manager	0.1.20		
grassprovider	2.12.99		
MetaSearch	0.3.6		
processing	2.12.99		
sagaprovider	2.12.99		

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.