[QGIS-Developer] prepare-commit.sh

2018-11-09 Thread David Adler
Is there documentation on this or guidance on how to make it work? On mingw, cygwin and ubuntu this gives the message qgisstyle / astyle not found - please install astyle >=3 or enable WITH_ASTYLE in cmake and build The latest version of astyle on cygwin and ubuntu is 2.05. I modified

[QGIS-Developer] QGIS build problem on Windows 10 64-bit from Master

2018-10-18 Thread David Adler
After getting a clean OSGEO4W64 and new clone of QGIS source and running configonly.bat, I get the following error when building on Visual Studio 2015. Creating library E:/qgisdev/ms-windows/osgeo4w/build-qgis-test-x86_64/src/app/RelWithDebInfo/qgis_app.lib and object

[QGIS-Developer] Windows build failure

2018-10-09 Thread David Adler
On 64-bit Windows 10, attempting to build QGIS results in many errors that seem tied to a problem building the project qgis_core which results in the error: Py_Initialize: unable to load the file system codec Running configonly.cmd seemed to complete without errors. I had to change

[QGIS-Developer] QGIS 2.18 Windows build problems

2017-07-21 Thread David Adler
I'm still having problems building on Windows 7 using VS 2010 after running cmake-gui with errors like: 43>File "J:\QGISDB2-218\scripts\\pyuic-wrapper.py", line 26, in 43> import qgis.PyQt.uic.pyuic 43>File "E:\qgisbuild\output\python\qgis\__init__.py", line 27, in 43>

[QGIS-Developer] Problems building 2.18 on Windows 7 with MS Visual C++ 2010 Express

2017-05-22 Thread David Adler
I haven't tried building QGIS for over a year and the build process is now failing. 1. Forked and cloned a clean copy of release-2_18 2. Ran cmake-gui which had the following warning messages but the Configure and Generate seemed successful CMake Warning at CMakeLists.txt:320 (FIND_PACKAGE):

[Qgis-developer] DB2 Driver for QGIS

2016-08-02 Thread David Adler
S Message-ID: <20160802171151.ga17...@norbit.de> Content-Type: text/plain; charset="iso-8859-1" Hi David, On Tue, 02. Aug 2016 at 11:59:57 -0400, David Adler wrote: >We developed DB2 support for QGIS using the ODBC driver that is >built in to QGIS/Qt for Windows. But the ODBC driver

[Qgis-developer] Adding SQL provider to QGIS

2016-08-02 Thread David Adler
We developed DB2 support for QGIS using the ODBC driver that is built in to QGIS/Qt for Windows. But the ODBC driver isn't built in on other platforms and using ODBC on other platforms is sketchy. Is it possible to build and use the Qt DB2 driver with QGIS and is there any documentation on

[Qgis-developer] DB2 provider environment

2016-04-19 Thread David Adler
The QGIS startup batch files reset the Windows environment. This causes a problem for the DB2 provider as we need the DB2 libraries to be included in the path. Is there a straightforward way to handle this? Is this an issue for other database providers? We've handled this by hacking the

[Qgis-developer] DB2 Provider - can it be integrated?

2016-04-03 Thread David Adler
This now builds cleanly as far as I can tell and I believe we have addressed all the issues that were raised in the pull requests. We also updated the user documentation and a pull request is outstanding for that as well. Regards, David Adler --- This email has been checked for viruses

[Qgis-developer] Coordinate Reference System Selector

2016-03-21 Thread David Adler
If a layer in the browser panel is double-clicked to add it to the map and it doesn't have an srid associated with it, a dialog pops up to allow the user to select a CRS. Where does this information go? When the database provider constructor is called, it isn't given this information in the

[Qgis-developer] Add DB2 support - PR 2732

2016-03-11 Thread David Adler
What are the next steps to move this forward? We have tested using the Python and QGIS GUI interface which have been successful so far. Draft documentation updates have been submitted in PR 876. There have been some error on the Travis builds but it isn't clear that they have anything to

[Qgis-developer] Ubuntu build dependencies

2016-03-10 Thread David Adler
Using sudo apt-get build-dep qgis finds/installs many dependencies but there were still some missing like libqca2-dev and libqca-plugin-ossl. Running ccmake, /usr/lib/libqscintilla2.so is not found. What package is this in? A while back, someone pointed us to a page that had QGIS

Re: [Qgis-developer] Help needed setting up Ubuntu build environment

2016-02-11 Thread David Adler
/qgis/QGIS/blob/master/INSTALL Regards 2016-02-10 23:43 GMT+01:00 David Adler <dad...@adtechgeospatial.com <mailto:dad...@adtechgeospatial.com>>: The instructions at http://qgis.org/en/site/getinvolved/development/qgisdevelopersguide/qtcreator.html have a link for

[Qgis-developer] Help needed setting up Ubuntu build environment

2016-02-11 Thread David Adler
/INSTALL Regards 2016-02-10 23:43 GMT+01:00 David Adler <dad...@adtechgeospatial.com <mailto:dad...@adtechgeospatial.com>>: The instructions at http://qgis.org/en/site/getinvolved/development/qgisdevelopersguide/qtcreator.html have a link for "detailed instructi

[Qgis-developer] Help needed setting up Ubuntu build environment

2016-02-10 Thread David Adler
The instructions at http://qgis.org/en/site/getinvolved/development/qgisdevelopersguide/qtcreator.html have a link for "detailed instructions" but the link doesn't work. I'm up to the CMake error "Could not find GEOS". sudo apt-get install GEOS sudo apt-get install geos don't succeed. I

[Qgis-developer] QGIS release schedule, DB2 support

2016-02-09 Thread David Adler
Is the QGIS release schedule documented online? We would like to have the DB2 provider included in the next release if it isn't too late. We are just doing some cleanup and final testing. --- This email has been checked for viruses by Avast antivirus software.

[Qgis-developer] Question about expression compiling

2016-02-02 Thread David Adler
We are working on the DB2 expression compiler and testing it with a Python driver. For an expression like NAME IS NULL What should be the node type of NULL? It appears to be QgsExpression::ntLiteral but it doesn't seem to have a valid value and fails the call to quotedValue(). For now we

Re: [Qgis-developer] WKB support is only little-endian?

2016-01-30 Thread David Adler
) ); } mP += sizeof( v ); } Any suggestions? On 1/26/2016 5:57 PM, Even Rouault wrote: Le mardi 26 janvier 2016 23:11:28, David Adler a écrit : We just realized that DB2 on z/OS uses big-endian, first byte = x'00'. This doesn't appear to work with the QgsGeometry->fro

[Qgis-developer] QGIS scripts on Windows

2016-01-30 Thread David Adler
Should scripts like prepare-commit.sh and astyle.sh run on Windows in a cygwin window? Is there any documentation on parameters for these scripts? prepare-commit.sh fails to find astyle.sh because it appends to the path "E:/qgis-db2-dev/scripts" instead of "/cygdrive/e/qgisdb2-dev/scripts" I

[Qgis-developer] DB2 Provider for QGIS

2016-01-29 Thread David Adler
As a novice GitHub user, I didn't realize that clicking on the Pull Request button was going to start automated testing of our draft code and send out notifications to many people connected with QGIS/Master. I was just hoping to synchronize my fork with QGIS/Master which appears to be a

[Qgis-developer] WKB support is only little-endian?

2016-01-26 Thread David Adler
We just realized that DB2 on z/OS uses big-endian, first byte = x'00'. This doesn't appear to work with the QgsGeometry->fromWkb() function. We have other alternatives but were just wondering. --- This email has been checked for viruses by Avast antivirus software.

Re: [Qgis-developer] Adding new provider for QGIS

2016-01-26 Thread David Adler
a/provider/testdata_mssql.sql. Hope that helps! Nyall On 26 Jan 2016 10:05, "David Adler" <dad...@adtechgeospatial.com <mailto:dad...@adtechgeospatial.com>> wrote: > > I'm not clear on what the "automated CI" is or how one runs is. > > We did a fork and

[Qgis-developer] Adding new provider for QGIS

2016-01-25 Thread David Adler
We would like to add a DB2 provider to QGIS so that QGIS users can access spatial tables on DB2 for LUW and DB2 for z/OS. We have implemented and tested much of this based on an existing database provider. What is the mechanism to have this reviewed and approved? --- This email has been

Re: [Qgis-developer] Adding new provider for QGIS

2016-01-25 Thread David Adler
Thank you for the quick response. We have forked the main repository and did a pull request. The code development was based on this. We have also read the contributor guidelines. On 1/25/2016 4:24 PM, Alessandro Pasotti wrote: 2016-01-25 21:57 GMT+01:00 David Adler <