58525 Commits

Author SHA1 Message Date
Alessandro Pasotti
7b38ca8b79
Merge pull request #32546 from elpaso/pg-broken-credentials-cache
[feature] Ignored credentials temporary cache
2019-11-01 09:02:34 +01:00
Alessandro Pasotti
0445c7088f
Update python/core/auto_generated/qgsfield.sip.in
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-11-01 08:59:24 +01:00
Alessandro Pasotti
cdf523e33d
Update python/core/auto_generated/qgsfield.sip.in
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-11-01 08:59:17 +01:00
Nyall Dawson
17a4a34fc5 Remove unused define 2019-11-01 14:03:01 +10:00
Nyall Dawson
5e84033193 Sipify 2019-11-01 14:03:01 +10:00
Nyall Dawson
b371013929 Minor fixes 2019-11-01 14:03:01 +10:00
Nyall Dawson
4684a743f9 Dox++ 2019-11-01 14:03:01 +10:00
Nyall Dawson
fc993f6fc7 Heavily optimise GDAL based image resampling 2019-11-01 14:03:01 +10:00
Nyall Dawson
04111f64fb Add method to resample a QImage using gdal library resampling, and
use this instead of the inbuilt QGIS resampling

The QGIS methods are slooooow, unoptimized, and buggy. And gdal exposes MANY
more resampling methods we could potentially expose now!

Also fixes rendering issues with cubic resampler and nodata pixels
2019-11-01 14:03:01 +10:00
Nyall Dawson
b41b4164fe Add method to resample QImage using gdal resample to a gdal memory dataset 2019-11-01 14:03:01 +10:00
Nyall Dawson
27e5eb1f21 Add method to convert a QImage to a gdal memory dataset 2019-11-01 14:03:01 +10:00
Nyall Dawson
a90d1b3d83 Add method to create multi-band gdal memory dataset 2019-11-01 14:03:01 +10:00
Etienne Trimaille
3739ac2739 add QGIS version in model exported as Python 2019-11-01 08:57:30 +10:00
Alessandro Pasotti
e8023aab76 Remove this from lambda 2019-10-31 22:31:57 +01:00
Alessandro Pasotti
730c875241 Capitalize actions 2019-10-31 21:37:41 +01:00
Hugo Mercier
77725c90b8
Merge pull request #32252 from mhugo/fix_27087
[oracle] fixes insertion of dates
2019-10-31 17:41:09 +01:00
Alessandro Pasotti
faeaab1a57 Sipify 2019-10-31 17:33:49 +01:00
Alessandro Pasotti
f20660c0dd field displayNameWithAlias
This adds another method to display field names with alias, this is to be used when
working close to the data structure (sql builder, expressions etc.) when the information
in the alias is sometimes fundamental to indentify what the field contains.

displayNameWithAlias is now used (insted of field name) in:

    expressions dialog
    query builder

The format is:

alias (field_name)
and, in case there is no alias:
field_name
2019-10-31 17:30:02 +01:00
Alessandro Pasotti
a1ce37cd2e Fix build 2019-10-31 16:04:00 +01:00
Matthias Kuhn
9a9ab392f2
Merge pull request #32524 from m-kuhn/dxfEmptyExtentError
[dxf export] Bail out if extent could not be determined
2019-10-31 15:34:44 +01:00
Blottiere Paul
292008f637
Merge pull request #32386 from pblottiere/fix_crs_json
Use CRS in WMS GetFeatureInfo when info_format is in json Fixes #32326
2019-10-31 15:30:43 +01:00
Alessandro Pasotti
9b6c683042 Connect vl to vectorLayerStyleLoaded on load 2019-10-31 15:00:56 +01:00
Blottiere Paul
624ae0355f Remove unused parameter 2019-10-31 14:15:14 +01:00
Blottiere Paul
0a2b92ab22 Update sip 2019-10-31 14:15:14 +01:00
Blottiere Paul
b12896f5b9 Do not transform eometries in getfeatureinfo for json format 2019-10-31 14:15:14 +01:00
Blottiere Paul
2f79dcc057 Add option in json exporter to not transform geometries 2019-10-31 14:15:14 +01:00
Blottiere Paul
e3371fd9be Update sip 2019-10-31 14:15:14 +01:00
Blottiere Paul
55d1b8d68a Add doc 2019-10-31 14:15:14 +01:00
Blottiere Paul
ff19e61280 Update src/core/qgsjsonutils.h
Co-Authored-By: Alessandro Pasotti <elpaso@itopen.it>
2019-10-31 14:15:14 +01:00
Blottiere Paul
44b835fb93 Add test with underlying layer in 4326 2019-10-31 14:15:14 +01:00
Blottiere Paul
f3fbbcd488 Add unit test with layer in crs other than 4326 2019-10-31 14:15:14 +01:00
Blottiere Paul
a1ad183cc6 Set destination crs on json exporter 2019-10-31 14:15:14 +01:00
Blottiere Paul
2ca4aa6546 Add method to set destination crs on json exporter 2019-10-31 14:15:14 +01:00
Alessandro Pasotti
979d8c4c09 Option to ignore the connection temporarily of for the session 2019-10-31 14:09:36 +01:00
Alex
54c175b55f optional fids counting 2019-10-31 08:36:34 -04:00
Matthias Kuhn
34e5862467 Use Q_GLOBAL_STATIC 2019-10-31 12:07:31 +01:00
Alessandro Pasotti
a09f36daee
Update src/core/qgsmaplayer.h
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-31 11:35:24 +01:00
Alessandro Pasotti
85e8d946c7
Update src/app/qgisapp.cpp
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-10-31 11:30:25 +01:00
Matthias Kuhn
2c65ac54ad
Merge pull request #32542 from Djedouas/patch-1
Changed Python inspect.getargspec()
2019-10-31 11:08:30 +01:00
Alessandro Pasotti
b9db38a8f5 Ignore connections: from 5 seconds to 60 2019-10-31 10:39:04 +01:00
Hugo Mercier
ca939cf28f [oracle] Fix date insertion
Values are not converted anymore to strings before binding, so that
QDate values are written as dates.

Fixes #27087
2019-10-31 10:30:44 +01:00
Matthias Kuhn
1895db9495 Test fixes 2019-10-31 10:09:29 +01:00
Alessandro Pasotti
975e0e6664 Move connections ignore cache to credentials dialog
this way it is available for all providers
2019-10-31 09:53:11 +01:00
Hugo Mercier
e86c2afb4e
Merge pull request #31648 from troopa81/fix_snaptocurrentlayer
Parallelize snap caching
2019-10-31 09:31:20 +01:00
Matthias Kuhn
3e5af46a16
Merge pull request #32540 from daniviga/master
[RPM] Update sip references in spec file
2019-10-31 09:23:12 +01:00
MUrban
3f33701da1 [feature] [mesh] fix #29326 Adding SIP_SKIP for datasetPlaybackInterval 2019-10-31 09:09:47 +01:00
MUrban
32cfedd074 [feature] [mesh] fix #29326 Adding playback function for mesh datasets 2019-10-31 09:09:47 +01:00
Djedouas
6d63bce6d2
Changed Python inspect.getargspec()
inspect.getargspec() is deprecated since python 3.
replacement with inspect.getfullargspec()

related to issue #32516
2019-10-31 09:00:20 +01:00
Matthias Kuhn
30cada8825
Merge pull request #32513 from m-kuhn/dxfNoNan
[dxf export] initialize PointZ with 0
2019-10-31 08:51:49 +01:00
Hugo Mercier
737585d0da Allow the execution of Oracle tests on an arbitrary DB 2019-10-31 08:45:30 +01:00