53162 Commits

Author SHA1 Message Date
volaya
d627b561be [processing]remove trailing spaces 2019-01-25 11:09:49 +01:00
volaya
261430b961 [processing] added test for SAGA non-ascii inputs 2019-01-25 10:30:08 +01:00
volaya
5690b05e6e [processing] added back code to replace filenames when exporting raster layers in SAGA 2019-01-25 09:52:55 +01:00
volaya
76d9ab8283 [processing] fixed SAGA for non-ascii output files
Fixes #19351
2019-01-25 09:39:45 +01:00
volaya
fda41e3b02 [processing] fixed handling of input filenames with non-ascii characters
Looks like there is no problem now in SAGA when using filenames with non-ascii chars, so some code used for replacing filenames has been removed. Also some code for python2, which is not needed now.

fixes #18617
2019-01-24 13:18:31 +01:00
volaya
e3516ab1b4 [processing] fixed qgis algorithms help file
fixes #20966
2019-01-23 08:38:41 +01:00
Nyall Dawson
db3b9aeb6b Revert "[processing] hide 'select file' button for vector layers when there are dependent params"
This reverts commit f2044528951bbb09a70b9c696d79d8cd5b756214.

It's a contentious fix, which needs discussion
2019-01-23 17:30:47 +10:00
Julien Cabieces
bdf77ac75a fixes #20893 : Update virtual layer when referenced layer update its fields 2019-01-23 18:24:38 +11:00
volaya
eb47288fac [processing] correctly set output styles for models
fixes #20573
2019-01-23 08:02:19 +01:00
volaya
f204452895 [processing] hide 'select file' button for vector layers when there are dependent params
fixes #21055
2019-01-23 08:02:18 +01:00
Peter Petrik
af2501e73d support also mesh elements with >4 vertices 2019-01-23 07:49:33 +01:00
Peter Petrik
928a559aa9 update MDAL to 0.1.4 (RC1 for QGIS 3.6) 2019-01-23 09:51:35 +11:00
Juergen E. Fischer
4048d37a46 osgeo4w: also look for GRASS 7.6 2019-01-22 17:40:14 +01:00
Nyall Dawson
7d7462c333 Fix loss of project when saving to QGZ format and path contains non-ascii chars
Fixes #19567
2019-01-23 03:37:24 +11:00
Nyall Dawson
d3924adf74 Use QFile to write zip contents, instead of std::ofstream
Because std::ostream doesn't handle non-ascii paths

Refs #19567
2019-01-23 03:37:24 +11:00
Nyall Dawson
cccd9766c2 Fix build 2019-01-23 03:37:00 +11:00
Nyall Dawson
85a6b1ac92 Followup map settings variable commit 2019-01-23 03:37:00 +11:00
Alex
f514516d07 Exposing more CRS variables 2019-01-23 03:37:00 +11:00
Nyall Dawson
cb7838badc Silently alias old "$scale" expression function to "@map_scale" (when available)
Allows older projects to open without change. We still hide $scale from the
builder UI, as we eventually want to clamp out its use.
2019-01-23 03:37:00 +11:00
Nyall Dawson
9cf2ff31d8 Fix evaluation of data defined properties for subsymbols of subsymbols
Fixes #18384
2019-01-23 03:36:41 +11:00
Juergen E. Fischer
855b3b4e26 oracle provider: check for valid lastInsertId() on ::addFeatures (fixes #20109) 2019-01-22 15:47:50 +01:00
Denis Rouzaud
3c8350357c
Correctly set matrix after defining map settings (#8946)
* Correctly set matrix after defining map settings

* Update qgsquickmaptransform.cpp
2019-01-22 08:37:06 -05:00
Alexander Bruy
0c4c8feb70
Merge pull request #8945 from alexbruy/processing-fieldcalc
[processing] use active layer by default in field calculator algorithm (fix #19686)
2019-01-22 15:25:20 +02:00
Alessandro Pasotti
b12985003b
Merge pull request #8929 from elpaso/bugfix-21059-server-post-request-issues
Fix POST requests for QGIS server
2019-01-22 13:59:53 +01:00
Alexander Bruy
3a98174640
Merge pull request #8942 from alexbruy/processing-interpolation
[processing] use complex delimiter for interpolation data (fix #20490)
2019-01-22 14:03:57 +02:00
Juergen E. Fischer
c3fc41ec02 fix translation string 2019-01-22 12:24:26 +01:00
Alessandro Pasotti
2641b3fe20 Allow REQUEST_BODY in tests even if QGISDEBUG is off 2019-01-22 12:14:42 +01:00
Alexander Bruy
8c24fa8455
Merge pull request #8927 from alexbruy/processing-vrt
[processing][needs-docs] add missed "srcnodata" parameter to the buildvrt algorithm (fix #20586)
2019-01-22 11:37:33 +02:00
Nyall Dawson
e75a888256 Fix shortest path algorithm can "shortcut" when using network in geographic coordinates
Fixes #20997
2019-01-22 20:20:44 +11:00
Alessandro Pasotti
4592fa70f1 Removed leftover 2019-01-22 10:08:45 +01:00
Alexander Bruy
95209d134c [processing] use active layer by default in field calculator algorithm
(fix #19686)
2019-01-22 11:04:49 +02:00
Alessandro Pasotti
02c3c8e84a Fix doxy string 2019-01-22 09:44:00 +01:00
Alexander Bruy
17fd86e723 [processing] use complex delimiter for interpolation data to avoid
overlaps with charactes which can be used in the layers source URI (fix #20490)
2019-01-22 10:15:07 +02:00
Nyall Dawson
8a920e0bc2 Rework QgsNetworkAccessManager::requestAboutToBeCreated() to be thread
safe, and encapsulate more useful request information
2019-01-22 18:27:06 +11:00
Alessandro Pasotti
eef7f49a21 Fix test to use re instead of lxml (the simpler the better) 2019-01-22 08:21:53 +01:00
Alessandro Pasotti
0e0146d82d
Merge pull request #8924 from elpaso/bugfix-20927-server_exp_filter
Server WFS EXP_FILTER bugfixes
2019-01-22 08:05:32 +01:00
Alexander Bruy
133b4057a6 add note about format of the srcnodata parameter 2019-01-22 08:18:37 +02:00
Alexander Bruy
dc2b29ce6a [processing] add missed "srcnodata" parameter to the buildvrt algorithm
(fix #20586).

Without this parameter it is not possible to remove collars surrounding
input raster which may overlap with other input rasters. As this is very
frequent case algorithm is useless without such parameter. To keep API
compatibility new parameter is optional and not used by default.
2019-01-22 08:17:47 +02:00
Nyall Dawson
ee34431214 Use a QHash instead of std::unordered_map
Because it turns out MUCH MUCH faster
2019-01-22 13:14:03 +11:00
Nyall Dawson
60a6fc13a5 Slightly more efficiency in QgsStatisticalSummary 2019-01-22 13:14:03 +11:00
Harrissou Sant-anna
d70191d272 Set appropriate window title when editing a join
fixes #17554
2019-01-22 12:18:26 +11:00
Nyall Dawson
fc99669019 Flip sequential calls to QgsRasterBlock::isNoData/value to single
unified call

Because... speed!
2019-01-22 12:13:39 +11:00
Nyall Dawson
ddd357c2ea Add API to QgsRasterBlock to obtain both pixel value AND no data
flag in a single call

This is much more efficient then making two calls, since the
QgsRasterBlock::isNoData() check internally calls QgsRasterBlock::value().
So by requiring API users to make the two separate calls individually,
we double the time this process takes...
2019-01-22 12:13:39 +11:00
Alexander Bruy
bb2c3663b0 [processing] add optional EXTRA parameter to gdalwarp algorithm (fix #20721)
This allows users to pass additional command-line arguments which are
not exposed in the algorithm definition. The most frequent use case is
enabling transparency and adding nodata values.
2019-01-22 09:39:57 +11:00
Matthias Kuhn
1253707337
Merge pull request #8928 from signedav/newbranch_qgis
Use valueAxis in QML-Widget example
2019-01-21 23:21:38 +01:00
Julien Cabieces
49cb397f89 Update layer statistics when adding column to table in order to be displayed by QGIS
fixes #13504
2019-01-22 07:54:12 +11:00
Nyall Dawson
83c0ea9a97 Fix warning 2019-01-22 07:52:45 +11:00
Nyall Dawson
d57c182d8b Allow QgsRasterIterator to iterate over a raster layer, WITHOUT
actually fetching the raster block data

This allows for efficient iteration over a "reference" layer, where
you require the block extent/origin/pixel size/etc (but not the
reference layer block data itself!), in order to fetch a block from
a DIFFERENT set of rasters (but keeping these pixel-aligned to the
reference raster).
2019-01-22 07:52:45 +11:00
Alessandro Pasotti
691176b39b Fix POST requests for QGIS server
Followup https://github.com/qgis/QGIS/pull/8830 that fixed
a regression with rewritten urls in the server, unfortunately
my original solution introduced a side-effect on the POST
request, with the new approach I'm introducing a new method
to retrieve the URL as seen by the web server: by default
this is the same URL seen by QGIS server, but in case
a rewrite module made some changes, the original URL will
be used as a base URL if not overridden by a config setting.

This PR comes with an extended set of tests that should
cover both (rewritten and unrewritten) cases for GET and
POST and for WFS/WFS/WCS and WMTS.
2019-01-21 19:15:49 +01:00
signedav
e8416661a4 use valueAxis in qml example
fixes #20472
2019-01-21 17:58:25 +01:00