Even Rouault
8b1adc5dcd
Merge pull request #3635 from arnaud-morvan/processing_postgis_connect
...
[processing][db_manager] Fix connection to postgis
2016-11-13 18:15:57 +01:00
Nyall Dawson
dbf6107b14
[processing] Add button for projection selection dialog to
...
Crs parameters in algorithm settings in modeler
This makes it easier to pick static CRSes for the parameter,
and also makes it obvious to users that they can use a fixed
CRS parameter in their model (as opposed to one taken from
a layer or input)
2016-11-13 20:34:35 +10:00
Nyall Dawson
f24cda4402
[processing] Add unit tests for retrieving param from script code
...
And fix number param retrieving from script code
2016-11-13 20:34:35 +10:00
Nyall Dawson
3ef7b3b7eb
[processing] Use standard QGIS projection selection widget for CRS params
2016-11-13 20:34:35 +10:00
Nyall Dawson
fbc12a8a81
Allow showing 'not set' in QgsProjectionSelectionWidget
2016-11-13 20:34:35 +10:00
Nyall Dawson
08231b8b14
Merge pull request #3742 from nirvn/processing_fix_hasdependencies
...
[processing] check for parent alg dependencies in hasDependencies()
2016-11-12 15:09:26 +10:00
Werner Macho
c180cf3208
Merge pull request #3753 from DelazJ/patch-17
...
typo fix
2016-11-11 18:33:56 +01:00
Harrissou Sant-anna
b069e955ae
typo fix
2016-11-11 18:14:15 +01:00
Alessandro Pasotti
fb124baaf6
Merge pull request #3751 from elpaso/downloader_master
...
[bugfix][forwardport] File downloader for identify dialog hyperlinks
2016-11-11 17:42:56 +01:00
Alessandro Pasotti
4e96912c91
[bugfix][forwardport] File downloader for identify dialog hyperlinks
...
fixes #14703
Include C++ and Python tests
Travis won: ported all test cases to Python
and disabled C++ companion test (still useful locally and
for debugging)
For the curious: QTemporaryFile is not working as expected
Moved to Qt5 new style signals
Disabled C++ test and connected cancel to progress
Make string comparison on SSL errors more robust
2016-11-11 17:26:33 +01:00
Matthias Kuhn
4981bfcf18
Fix memory leak
2016-11-11 16:55:57 +01:00
Matthias Kuhn
45617fb292
Fix more Qt5.7 warnings
2016-11-11 15:43:21 +01:00
Matthias Kuhn
054d430859
[spatialite] Don't skip default values
...
When inserting multiple features in a single prepared statement, the spatialite
provider would skip any default for individual features, even though they have
been specified in the field list, resulting in missing fields.
2016-11-11 13:15:24 +01:00
Nyall Dawson
28d7ceaef5
Some fixes to processing expression parameters
2016-11-11 20:13:12 +10:00
Alexander Bruy
a4cc5726c3
Merge pull request #3748 from nirvn/processing_harmony
...
[processing] harmonize modeler UI/UX behavior with QGIS
2016-11-11 11:09:16 +02:00
nirvn
f3d7e39abb
[processing] harmonize modeler UI behavior with QGIS
...
- use [close without saving][cancel][save] option when closing
a modeler with unsaved changes
- invert mouse wheel zoom in/out to match that of QGIS' main
canvas window
- holding the mouse middle click and dragging will pan the
modeler view
2016-11-11 15:47:42 +07:00
Matthias Kuhn
35d106bf64
Fix Qt 5.7 build warnings
2016-11-11 08:56:12 +01:00
nirvn
be2223fed3
[processing] check for parent alg dependencies in hasDependencies()
2016-11-11 13:08:01 +07:00
Nyall Dawson
156fce989d
Add unit tests for processing expression parameter
2016-11-11 13:26:31 +10:00
Nyall Dawson
5625d6e9b6
Expression parameters don't have to have parent layers
2016-11-11 13:26:31 +10:00
Nyall Dawson
132e76a596
[FEATURE][processing] New input type for expressions
...
This adds a new input type for expression inputs. Expression
inputs can be linked to a parent layer so that the builder
shows the correct fields and layer variables.
It's designed for two use cases:
1. to be used when an algorithm specifically requires an expression,
eg Select by Expression and Extract by Expression.
2. to be potentially used as a replacement input instead of string
or number literals in algorithms. Eg - if the simplify algorithm
tolerance parameter was replaced with an expression paremeter, then
this expression would be evaluated for every feature before
simplifying that feature. It would allow parameters to be calculated
per feature, as opposed to the current approach of calculating
a parameter once before running the algorithm. It would also
mean algorithms like "variable distance buffer" would no longer
be needed, as a single "buffer" algorithm could then be used
for either a fixed distance, field based, or expression based
distance.
2016-11-11 13:26:31 +10:00
Nyall Dawson
72118f91f9
[processing] When an algorithm has string parameters, also
...
accept numeric, file and table field inputs in modeler
This allows a non-string parameter to be reused as a string
parameter in contexts where it makes sense.
2016-11-11 13:26:31 +10:00
Nyall Dawson
1ef7ed53c9
Merge pull request #3703 from aaime/svg_params
...
Export parametric SVG, will fallback symbols for the systems that cannot understand them
2016-11-11 13:25:48 +10:00
Nyall Dawson
cc0b2e64a2
Merge pull request #3746 from ahuarte47/Issue_SinglePartsToMultiparts
...
[FIXBUG] Fix iteration of features in SinglePartsToMultiparts algorithm
2016-11-11 09:42:25 +10:00
Alvaro Huarte
dc800dbab7
Fix iteration of features
2016-11-11 00:28:27 +01:00
Nyall Dawson
10648dfb0c
[processing] Start of tests for modeler
2016-11-11 08:35:38 +10:00
mhugent
1cd1158668
Merge pull request #3745 from mhugent/server_datasources
...
WMS server: add user setting if custom datasources are allowed in wms…
2016-11-10 17:26:25 +01:00
Marco Hugentobler
88587fdeb7
Add override keywords
2016-11-10 16:59:11 +01:00
Marco Hugentobler
b0644ea438
WMS server: add user setting if custom datasources are allowed in wms requests
2016-11-10 15:12:59 +01:00
Juergen E. Fischer
73b283c0b5
update FindQCA.cmake for Arch Linux
2016-11-10 13:47:50 +01:00
Alexander Bruy
51a56573c5
Merge pull request #3727 from arnaud-morvan/processing_ogr2ogr_defaults
...
[processing] fix Ogr2OgrToPostGisList algorithm
2016-11-10 11:45:56 +02:00
Alexander Bruy
be6672ddbd
Merge pull request #3741 from nirvn/processing_dependencies_improvement
...
[processing] use algorithm description in modeler dependencies dialog
2016-11-10 11:43:04 +02:00
Nyall Dawson
6ea0049b17
Merge pull request #3732 from nirvn/strpos_regexp_match_upgrade
...
[expression] strpos() and regexp_match() improvements
2016-11-10 16:02:57 +10:00
nirvn
6b2b4c578a
[FEATURE][expression] strpos() and regexp_match() improvements
...
- strpos() now relies on a simple string within a string search
- regexp_match() now returns pos of a matching regular expression
2016-11-10 11:55:20 +07:00
nirvn
45711d372e
[processing] use algorithm description in modeler dependencies dialog
2016-11-10 10:21:12 +07:00
Hugo Mercier
164a85acdb
[virtual] Fix encoding issue
2016-11-09 16:40:43 +01:00
Matthias Kuhn
5093ec6bc9
Improve num_selected and is_selected function help
2016-11-09 08:45:53 +01:00
Matthias Kuhn
c282e26210
Use QPointer for storing layer pointers in expression scope
2016-11-09 08:45:53 +01:00
Stéphane Brunner
6cf47bef1e
Apply some @m-kuhn comments ( #3736 )
...
* Use QgsStringMap
* Better description
* Use new translated metadata methods
2016-11-08 23:16:11 +01:00
rldhont
63e3fd3781
[BUGFIX][QGIS Server] Revert layer order in WMS GetContext request
2016-11-08 20:00:47 +01:00
Patrick Valsecchi
4234ad5c35
Relation managment: enable the remove button when selection
...
If nothing is selected, this button is doing nothing.
2016-11-08 16:28:07 +01:00
Patrick Valsecchi
aaa3117bd5
Multi relation removal
...
Let the user select multiple relations and delete them.
2016-11-08 16:28:07 +01:00
volaya
72fddb8b5e
Merge pull request #3470 from arnaud-morvan/refactor_fields_context_generator
...
[Processing] Fix processing refactor fields algorithm using expression context generators
2016-11-08 10:45:32 +01:00
volaya
7c4e66b360
Merge pull request #3726 from arnaud-morvan/processing_various_fixes
...
[processing] small fixes
2016-11-08 10:30:06 +01:00
volaya
db35b38bdb
Merge pull request #3731 from nyalldawson/alg_tags
...
[processing] Allow algorithms to specify tags
2016-11-08 10:27:39 +01:00
Juergen E. Fischer
0189609dcf
dxf export: skip nan z coordinates
2016-11-08 09:03:12 +01:00
Nyall Dawson
e40d64f9d5
Make provider default value clauses exempt from unique constraint checks
...
Otherwise the check fails when the provider has a default value clause
like 'nextval(...)' even though the actual committed value will be
unique.
2016-11-08 12:54:31 +10:00
Nyall Dawson
8cd810ed2c
Return false from QgsVectorLayer::addFeatures if adding features failed
2016-11-08 12:54:25 +10:00
Nyall Dawson
fcb6c2bb9a
Fix some incorrect return values from QgsFeature python bindings
2016-11-08 12:54:19 +10:00
Nyall Dawson
6f3b0caa81
Add method to QgsAttributes to convert to QgsAttributeMap
2016-11-08 11:25:48 +10:00