48017 Commits

Author SHA1 Message Date
Nyall Dawson
0e7c31e9e7 [processing][grass] Fix handling of optional file parameters 2018-06-01 11:54:31 +10:00
Nyall Dawson
e273ac2815 [processing] Some test debugging help 2018-06-01 11:54:31 +10:00
Nyall Dawson
46a4c23648 Resurrect a grass test 2018-06-01 11:54:31 +10:00
Nyall Dawson
ae95adba40 [processing][GRASS] Fix r.relief.scaling has inverted min/max values for altitude and azimuth parameters
Fixes #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
1c684456aa [processing] Log an error when a numeric parameter has min value >= max value
Refs #19076
2018-06-01 09:36:24 +10:00
Nyall Dawson
32792d3409 Better dox, spelling 2018-06-01 08:53:20 +10:00
Nyall Dawson
f7a6864b9c [processing] Fix invalid characters in HTML for 'Raster layer unique values' report 2018-06-01 08:53:20 +10:00
Nyall Dawson
8bdec09b3b Revert "Fix QCA-ssl for FreeBSD"
This reverts commit 25ba36180cfbf836b9458beb98e28f62349c4260.

Breaks linux build
2018-06-01 08:32:46 +10:00
Matthias Kuhn
5e3ce8ff6a SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. 2018-06-01 08:25:46 +10:00
Matthias Kuhn
09f17d9952 SC2006: Use $(..) instead of legacy ... 2018-06-01 08:24:38 +10:00
Nyall Dawson
408a9fbf0b Fix some shellcheck warnings 2018-06-01 08:21:48 +10:00
Even Rouault
efa7f99b6f
Merge pull request #7132 from rouault/fix_19077_bis
[OGR provider] Avoid attribute table to be empty on OGR layer with mixed geom types (fixes #19077)
2018-05-31 23:51:15 +02:00
Even Rouault
2969ba1e99
test_provider_ogr_gpkg.py: avoid bug_17795.gpkg test sample to be modified by tests 2018-05-31 23:05:37 +02:00
Even Rouault
ee06d52421
[OGR provider] Avoid attribute table to be empty on OGR layer with mixed geom types (fixes #19077) 2018-05-31 23:05:37 +02:00
Denis Rouzaud
0cffd19e5f monkey path custom widgets
this will add module to the system to avoid missing modules when running on a local install (uic widget-plugin not installed)
2018-05-31 12:33:38 -08:00
Even Rouault
9fcee524b9
Merge pull request #7128 from rouault/fix_17945
[WFS provider] Add typename prefix before attribute/geometry name for Update requests (fixes #17945)
2018-05-31 21:01:45 +02:00
Even Rouault
1e4b01bb9b
[WFS provider] Add typename prefix before attribute/geometry name for Update requests (fixes #17945)
Deegree requires those namespace prefixes. I've also verified that
GeoServer is indifferent regarding them.
2018-05-31 18:30:39 +02:00
Even Rouault
f7e4dd671f
Merge pull request #7127 from rouault/fix_18267
[WFS provider] Handle DescribeFeatureType responses that consist of a single <include> (fixes #18267)
2018-05-31 14:50:38 +02:00
Even Rouault
1d2686d0dc
[WFS provider] Handle DescribeFeatureType responses that consist of a single <include> (fixes #18267)
Also handle another occurence of a buggy server only accepting TYPENAMES plural
as parameter of DescribeFeatureType
2018-05-31 13:38:08 +02:00
lbartoletti
25ba36180c Fix QCA-ssl for FreeBSD 2018-05-31 19:34:07 +10:00
Matthias Kuhn
a26b9b1de3
Merge pull request #7122 from nyalldawson/fix_19065
Use a snapping indicator when picking feature to move with move tool
2018-05-31 11:31:21 +02:00
Matthias Kuhn
497abfe797
Merge pull request #7120 from nyalldawson/opts
Optimise geometry conversion to/from geos
2018-05-31 11:30:40 +02:00
Matthias Kuhn
25f4794fd2
Merge pull request #7125 from m-kuhn/sld_read_multiple_featuretypestyles
Sld read multiple featuretypestyles
2018-05-31 11:26:15 +02:00
Roel Huybrechts
c49a18c587
Add support for reading SLD's with multiple FeatureTypeStyle elements.
Introduce a virtual FeatureTypeStyle to add support for reading SLD documents with more than one FeatureTypeStyle element.

Still supports SLD's with one FeatureTypeStyle, as well as SLD's with multiple FeatureTypeStyles, including empty FeatureTypeStyles (not breaking single symbol rendering in that case). Complies with SLD's painter's model for rendering, appending Rules from subsequent FeatureTypeStyles in order.

Fix #6413 (http://hub.qgis.org/issues/6413)
2018-05-31 10:51:32 +02:00
Matthias Kuhn
8cf7447a2c
Merge pull request #7124 from nyalldawson/fix_16428
[processing] Hopefully fix bad layout for docks in modeler
2018-05-31 09:49:07 +02:00
Matthias Kuhn
9c7cf40c07
Merge pull request #6537 from slarosa/menu-indicator
fix size for menu indicator in data defined button
2018-05-31 08:34:41 +02:00
Nyall Dawson
1d62d106fb [processing] Don't hold on to algorithm instances for menu items
Instead, only store references to the algorithm id string, and
use this to retrieve algorithms when the actions are triggered.

This avoids errors caused by the algorithm instances being
removed, e.g. due to plugin removal or reload of providers
(e.g. by opening options dialog).

Fixes #19070
2018-05-31 15:28:12 +10:00
Nyall Dawson
59d425c5b0 [processing] Fix some incorrect formatting of algorithm titles 2018-05-31 15:27:51 +10:00
Matthias Kuhn
4752b99ed9
Merge pull request #7106 from m-kuhn/encodedUrl3
Assume URL already encoded in web view widget
2018-05-31 07:27:43 +02:00
Nyall Dawson
612d61dc09 [processing] Tweak algorithHelp formatting 2018-05-31 15:27:34 +10:00
Nyall Dawson
297cfd547d [processing] Add metadata for feature sink parameters 2018-05-31 15:27:34 +10:00
Nyall Dawson
db916bc238 [processing] Show accepted data types for parameters in processing.algorithmHelp 2018-05-31 15:27:34 +10:00
Nyall Dawson
0bbaa3b01e [processing] Add method to retrieve list of accepted Python data types for a parameter type 2018-05-31 15:27:34 +10:00
Nyall Dawson
db2c3d4986 [processing] Show search icon in search boxes 2018-05-31 12:51:53 +10:00
Nyall Dawson
879622547c [processing] Fix bad layout for docks in modeler
Because there's some deep underlying issue which causes the dock
layouts to get corrupted in certain circumstances, avoid the
issue entirely by moving construction of the docks out of
the .ui file and instead do it all manually via Python code.

Fixes #16428, #19068
2018-05-31 12:45:47 +10:00
Nyall Dawson
e8515d86ee Fix crash in QgsNetworkContentFetcherRegistry 2018-05-31 10:50:24 +10:00
Nyall Dawson
de347f0742 Move 'move features' button to correct place in toolbar 2018-05-31 09:52:39 +10:00
Nyall Dawson
3ef7b125ab Use a snapping indicator when picking feature to move with move tool
Fixes #19065
2018-05-31 09:30:35 +10:00
Nyall Dawson
37b06bcf29 [processing] Fix Rectangles/Ovals/...(variable) chokes on angle values of 0
Change the test to a NULL test instead, as angle values of 0 are valid
2018-05-31 08:55:26 +10:00
nirvn
377f393c67 Use subsetStringChange signal for layer tree view filter indicator 2018-05-30 18:37:12 +07:00
Nyall Dawson
3aa4968f93 Optimise geometry conversion to/from geos 2018-05-30 18:52:41 +10:00
nirvn
0a3bef1bc9 Remember last used directory when saving map as PDF 2018-05-30 15:34:16 +07:00
Nyall Dawson
ab04e0fa98 Tweak wording of metadata contacts header
Because contacts have an explicity 'role' setting, they may not
necessarily be the 'owner' of the resource
2018-05-30 16:51:09 +10:00
Nyall Dawson
d4a5df2f2c More unit checks for project dirtying 2018-05-30 14:15:00 +10:00
Nyall Dawson
69b590b0ef Fix corrupted text in Open From menu item 2018-05-30 13:30:27 +10:00
Alexandre Neto
e7da103096 Changes tooltip of Open Layer Styling button 2018-05-30 08:52:53 +10:00
Nyall Dawson
6bf5274b11 [processing] Fix some missing references warnings 2018-05-30 08:51:30 +10:00
Nyall Dawson
aabbb307fa [processing] Fix clearing destination doesn't actually reset to temporary output
Even though the UI makes it look like it did
2018-05-30 07:45:34 +10:00
Nyall Dawson
ce2f7739e7 [processing] Correct text for temporary folder output 2018-05-30 07:45:34 +10:00
Salvatore Larosa
68b7f5a807
Merge pull request #7087 from slarosa/fix_19001
Fixes #19001: update url for _pyqgis and _api commands
2018-05-29 22:38:32 +02:00