[Qgis-developer] How do datum transformations work?
Hi, I am struggling to find out how datum transformations work - specifically also under QGIS Server. I have a .gsb file (CHENYX06a.gsb) for Swiss datum transformations. It is located under /usr/local/shar/proj/ where all the other .gsb files are. I also set the DEFAULT_DATUM_TRANSFORM variable variable in my fcgid.conf file: FcgidInitialEnv DEFAULT_DATUM_TRANSFORM "EPSG:21781/EPSG:2056/11/-1;EPSG:2056/EPSG:21781/-1/11" I checked the entries in the srs.db on the server in the table tbl_datum_transform which has an entry: wkt_geom coord_op_code epsg_nr source_crs_code target_crs_code coord_op_method_code p1 p2 p3 p4 p5 p6 p7 remarks scope preferred deprecated area_of_use_code NULL 11 15486 4149 4150 9615 0 But how does QGIS know that it should use the CHENYX06a.gsb file as grid-shift file? Where exactly does it find this information? Thank you for shedding some light on this mystery. Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [740] qgis2web approval notification.
Plugin qgis2web approval by pcav. The plugin version "[740] qgis2web 2.6.0" is now approved Link: http://plugins.qgis.org/plugins/qgis2web/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [1175] MySQL Importer approval notification.
Plugin MySQL Importer approval by pcav. The plugin version "[1175] MySQL Importer 0.1 Experimental" is now approved Link: http://plugins.qgis.org/plugins/mysqlimport/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Building QGIS2.99 cloned from GitHub on Ubuntu 16.10 (yakkety) 64-bit Python
Hi Gordon, On Thu, 09. Feb 2017 at 11:40:41 -0500, gor...@shieldaig.com wrote: > Thanks Jürgen. I see your approach. I have done it with other > packages but am not sure why I cannot get `pyqt5-dev` and > `pyqt5-dev-tools` 5.6.1 version directly from the `repo` as it did > exist last year. That would be the simplest solution. yakkety has pyqt5-dev-tools=5.7+dfsg-2. But it actually depends on python3-pyqt5=5.7+dfsg-2, which in turn is depends on libqt5core5a (>= 5.6.0~beta) - which is libqt5core5a=5.6.1+dfsg-3ubuntu6~4 in yakkety (see [0] ff) So no need to downgrade pyqt5 - it's built against Qt 5.6.1. > PyQt5 or package `python-pyqt5` can be removed and installed with > `sudo pip3 install` using the Qt 5.6.1 `.whl` file. Mixing debs and pip might create a mess. I'd avoid that. And given the above, there's no need to anyway. Jürgen [0] http://packages.ubuntu.com/search?keywords=pyqt5-dev-tools=names=yakkety=all -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode pgpzvHwRSJCU9.pgp Description: PGP signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Spell check failed: Error in pthread_setaffinity_np(): Invalid argument
Hi devs, The spell check failed but I don't know if it's my chenges in the code or the test. ``` $ ./ci/travis/check_spelling.sh Spell check TRAVIS PR BRANCH: server-geojson-precision Running spell check on files: src/core/qgsjsonutils.h src/server/services/wfs/qgswfsgetfeature.cpp ERR: Error in pthread_setaffinity_np(): Invalid argument ``` regards, René-Luc ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] newbie build, run question
Hello Chris, QgsMapLayerRegistry does not exist anymore (since some weeks). It's methods have been moved to QgsProject to allow having multiple project open at the same time. So the GdalTools plugin does not seems up to date or compatible with current master branch of QGIS. I'm not really aware of that plugin, but I do not see it in QGIS core repository. Maybe this is an obsolete thing, and you could just remove it. Have you followed the install doc : https://github.com/qgis/QGIS/blob/master/INSTALL For using custom build of QGIS, you should : Change CMAKE_INSTALL_PREFIX to some folder in your home instead of default one in system folder https://github.com/qgis/QGIS/blob/master/INSTALL#L256 And run QGIS using : export QGIS_PREFIX_PATH=~/apps/qgis-master export LD_LIBRARY_PATH=$QGIS_PREFIX_PATH/lib $QGIS_PREFIX_PATH/bin/qgis With a fresh build/install you should not get this error. Cheers Arnaud Morvan Ingénieur logiciel Tél: +33 (0)4 58 48 20 32 Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac Cedex http://www.camptocamp.com Le 10/02/2017 à 04:39, Chris Nicholas a écrit : I successfully built (or so it appeared from cmake…) QGIS from source on Linux according to the instructions of: https://github.com/qgis/QGIS/blob/final-2_18_3/INSTALL (…. [100%] Built target qgis_fieldcalculatortest_automoc [100%] Built target qgis_fieldcalculatortest [100%] Built target qgis_bench *cgn@cgn-VirtualBox*:*~/src/QGIS/build-master*$ …) after make install, now trying to run qgis: *cgn@cgn-VirtualBox*:*~/src/QGIS/build-master*$ which qgis /usr/local/bin/qgis , but I get the following error message …. I’ve looked everywhere but can’t find this stuff … where might it be? advise/RTFMs/etc welcomed… thanks!!! Chris —— Couldn't load plugin GdalTools due to an error when calling its initGui() method ImportError: cannot import name 'QgsMapLayerRegistry' Traceback (most recent call last): File "/usr/local/share/qgis/python/qgis/utils.py", line 347, in startPlugin plugins[packageName].initGui() File "/usr/local/share/qgis/python/plugins/GdalTools/GdalTools.py", line 106, in initGui from .tools.GdalTools_utils import GdalConfig, LayerRegistry File "/usr/local/share/qgis/python/qgis/utils.py", line 647, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "/usr/local/share/qgis/python/plugins/GdalTools/tools/GdalTools_utils.py", line 40, in from qgis.core import QgsApplication, QgsMapLayerRegistry, QgsRectangle, QgsProviderRegistry, QgsLogger, QgsProject ImportError: cannot import name 'QgsMapLayerRegistry' Python version: 3.5.2 (default, Nov 17 2016, 17:05:23) [GCC 5.4.0 20160609] QGIS version: 2.99.0-Master Master, 2c188b2 Python Path: /usr/local/share/qgis/python /home/cgn/.qgis3/python /home/cgn/.qgis3/python/plugins /usr/local/share/qgis/python/plugins /usr/local/share/qgis/python/qgis /home/cgn/src/QGIS/build-master/python /usr/lib/python35.zip /usr/lib/python3.5 /usr/lib/python3.5/plat-x86_64-linux-gnu /usr/lib/python3.5/lib-dynload /usr/local/lib/python3.5/dist-packages /usr/lib/python3/dist-packages /home/cgn/.qgis3//python ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [1121] QMarxan Toolbox approval notification.
Plugin QMarxan Toolbox approval by pcav. The plugin version "[1121] QMarxan Toolbox 0.3.4" is now approved Link: http://plugins.qgis.org/plugins/QMarxanToolbox/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer