Matthias Kuhn
e585a28782
Q_GLOBAL_STATIC for QgsEllipsoidUtils
2019-11-02 15:01:59 +01:00
Matthias Kuhn
bf32f3264a
Remove unused global static
2019-11-02 15:01:59 +01:00
Matthias Kuhn
f8f9de8f32
QgsSettings Q_GLOBAL_STATIC
2019-11-02 15:01:59 +01:00
Matthias Kuhn
4ea4b67b2c
Remove unused variable
2019-11-02 15:01:59 +01:00
Matthias Kuhn
179fcf3347
Use Q_GLOBAL_STATIC
2019-11-02 15:01:59 +01:00
Juergen E. Fischer
c86ed789bf
osgeo4w: detect grass78
2019-11-02 10:04:20 +01:00
Matthias Kuhn
213df8df23
Merge pull request #32315 from roya0045/optional_fids
...
[API/feature?] make fids caching optional
2019-11-01 16:00:17 +01:00
Matthias Kuhn
8cf5209a52
Merge pull request #32574 from m-kuhn/fix_orfeo_link
...
[travis] Fix link to OTB binaries
2019-11-01 12:33:23 +01:00
Matthias Kuhn
562b5186ce
Fix link to OTB binaries
2019-11-01 11:27:08 +01:00
Matthias Kuhn
392532ee62
Merge pull request #32517 from m-kuhn/tracerFixCrashOnExit
...
Fix crash on exit
2019-11-01 11:12:10 +01:00
Matthias Kuhn
7dcb26db40
Merge pull request #32527 from m-kuhn/valueMapCopyPasteFix
...
Fix copy items from value map configuration
2019-11-01 11:07:16 +01:00
Sandro Santilli
4b8d3e7800
Iterate over a const, to supposedly save some CPU cycles and memory
...
... as suggested by @m-khun via
https://github.com/qgis/QGIS/pull/31858#discussion_r339471008
2019-11-01 10:36:35 +01:00
Sandro Santilli
199b7da5fd
Use for instead of foreach
2019-11-01 10:36:35 +01:00
Sandro Santilli
d7ffb84372
Reduce number of queries to qgis_editor_widget_styles table
...
Closes #26186
2019-11-01 10:36:35 +01:00
Sandro Santilli
1a9682598e
Use EXISTS to tell if a table exists, rather than count(*)
...
Avoids a full sequencial scan (see #26186 )
Also query pg_class directly
2019-11-01 10:36:35 +01:00
Sandro Santilli
a4aea8ad43
Use CREATE IF NOT EXISTS for layer_styles
...
The syntax is supported since PostgreSQL 9.1 and we already use
9.1-only syntax (regclass).
2019-11-01 10:36:35 +01:00
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
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
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
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
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
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