53974 Commits

Author SHA1 Message Date
Alessandro Pasotti
e63b2ef69c Rename container background color dialog title 2019-02-25 09:03:08 +01:00
volaya
2f305c560e [processing] fixed finding grass folder 2019-02-25 08:49:57 +01:00
Matthias Kuhn
7f30680bed
Add test files for dissolve consecutive lines 2019-02-25 08:49:05 +01:00
Denis Rouzaud
884d9f688c
Merge pull request #9209 from jdugge/advanceddigitizing_rotated
Fix advanced digitizing display for rotated map canvas
2019-02-24 21:28:36 -05:00
Etienne Trimaille
8151872d41 add tooltips in the vertex editor 2019-02-25 11:32:36 +10:00
Nyall Dawson
50f3a32f4e Fix crash when exporting reports 2019-02-25 11:10:19 +10:00
uclaros
403a2e302e Ran scripts/astyle-all.sh and scripts/sipify_all.sh 2019-02-25 09:26:11 +10:00
uclaros
09efa48b97 Fixed notation of doxygen comments that were after a member 2019-02-25 09:26:11 +10:00
JF Perini
a020d479b4 fix error: call to 'abs' is ambiguous 2019-02-25 08:41:39 +10:00
Nyall Dawson
ec1218314d [processing] Fix "Add geometry attributes" handling of multipoint geom
For multipoints, export the count of geometries only
2019-02-25 07:50:48 +10:00
Nyall Dawson
0efa0b1dde Fix space inserted at start of graduated legend entries
Fixes #21339
2019-02-25 07:50:28 +10:00
Juergen E. Fischer
918f5f393d fix Pal::registerCancellationCallback spelling 2019-02-24 22:44:45 +01:00
Bas Couwenberg
371176357b Fix spelling errors.
* cancelation -> cancellation
 * overal      -> overall
2019-02-24 22:39:40 +01:00
Juergen E. Fischer
13a08c97fb nsis: remove desktop links 2019-02-24 18:13:53 +01:00
Alessandro Pasotti
6bdabcfe88 Doc for the new backgroundColor argument 2019-02-24 13:29:25 +01:00
Alessandro Pasotti
8d3f73a62a [feature][needs-docs] Add bg color option to form containers
Because gray is boring.
2019-02-24 13:18:29 +01:00
Alessandro Pasotti
c672893e9c Typo 2019-02-24 13:14:32 +01:00
Alessandro Pasotti
678f98c355
Merge pull request #9247 from elpaso/bugfix-21353-db-manager-sql-error
Fix db manager sql query
2019-02-23 23:23:09 +01:00
Juergen E. Fischer
2b21a97994 fix #19933 2019-02-23 22:09:53 +01:00
Alessandro Pasotti
a9652316af Tiny cosmetic fix: error by 1 on iteration counter text 2019-02-23 15:30:57 +01:00
Alessandro Pasotti
74aa8ca16e Fix db manager sql query
Fixes #21353
2019-02-23 11:10:50 +01:00
Denis Rouzaud
57ac4e67c9 use bool variables instead of connecting/disconnecting signals
also move simple QgsVertexEntry to qgsvertexeditor.h
2019-02-22 22:58:20 -05:00
Denis Rouzaud
4c1f08cc7a fix updating vertex selection 2019-02-22 22:32:13 -05:00
Denis Rouzaud
f77538e8f5 fix updating table selection 2019-02-22 22:05:34 -05:00
Denis Rouzaud
1d0ca0867f only select vertices from locked feature again 2019-02-22 22:05:34 -05:00
Denis Rouzaud
b8f1cb37ed correctly keep/clear vertices selection when switching locked feature 2019-02-22 22:05:34 -05:00
Denis Rouzaud
21fb44266a synchronize selection from the editor to the tool 2019-02-22 22:05:34 -05:00
Denis Rouzaud
5427392d04 remove vertex highlighting from editor 2019-02-22 22:05:34 -05:00
Juergen E. Fischer
ddb589a3c8 fix ui warnings 2019-02-22 23:50:56 +01:00
Juergen E. Fischer
6bf2d9d450 dwg import: implement suggestion from #21330 2019-02-22 23:50:56 +01:00
Víctor Olaya
13bff9620c [processing] do not allow using unsupported file formats
Show warning message if user selects incompatible output file format

fixes #21089
2019-02-23 05:24:56 +10:00
Nyall Dawson
cdc622ef4c Freackin Amurican sppelling 2019-02-23 05:23:23 +10:00
Nyall Dawson
c1aac3228c [FEATURE][processing] Allow expression variables to be set for a model
This adds a new "Model Variables" dock panel to the model editor, allowing
users to create and set custom expression variables for use in the model.
These variables are available anywhere expressions are (correctly) evaluated
within the model, so can be used as input parameter values for child
algorithms, within data-defined dynamic parameters, etc.

The use case here is for models which use a constant value throughout
multiple steps within the model (e.g. @target_resolution: a target
raster resolution, @max_simplification: a simplification value for
input features coming from different sources, etc), allowing users
one single place to define and edit these constant values (instead
of hunting down and setting them in multiple places throughout the model).

These variables are stored within the model itself, and are not exposed
outside of the model designer dialog.
2019-02-23 05:23:23 +10:00
Nyall Dawson
e31fb920e7 [processing] Add API to allow custom expression variables to be set
for a model
2019-02-23 05:23:23 +10:00
lbartoletti
fbc22e2005 [feature] Add an option to cartesian measurement
Adds an option force Cartesian measurements to the measure distance/area dialogue

Fixes #19902
2019-02-23 05:22:54 +10:00
Nyall Dawson
db1a1929a4 [FEATURE][expressions] Simplified variant of "attribute" function
This adds a second variant for the existing "attribute" function.
The current function requires both a target feature and attribute
name to be specified, while the NEW variant just uses the current
feature.

E.g.

NEW:

attribute( 'name' ) -> returns the value stored in 'name' attribute
for the current feature

EXISTING:

attribute( @atlas_feature, 'name' ) -> returns value stored in 'name'
attribute for the current atlas feature

It's just a faster shorthand version!
2019-02-23 05:20:52 +10:00
Mathieu Pellerin
3433c9cc88 [FEATURE][3d] Add camera lens field of view settings 2019-02-23 05:20:38 +10:00
Rashad Kanavath
9983961ee3 update Otb Algorithm test to use Map Layer instance 2019-02-23 05:20:17 +10:00
Rashad Kanavath
08b4c1ae9c check for layer providers and authid
OTB only supports gdal and ogr providers for now. Maybe memory
provider can be easily supported using some conversion on the fly.
For the moment, we can go with this method. IO Formats in OTB not
using GDAL/OGR (LUM, ONERA) are not supported by QGis. Those can be
treated as simple files.

nyalldawson,  pointed that AUTHORITY id can have types not starting
with 'EPSG:'. Current otb takes just EPSG number and run with it. The
algorithm doesn't know what to with a number which is not EPSG because
it uses Gdal's 'ImportFromEpsg' method AFAIR.

QgsProecessing Exception is raised in both the above invalid cases.
2019-02-23 05:20:17 +10:00
Rashad Kanavath
70be3aae9c add unit-test for passing values other than type str 2019-02-23 05:20:17 +10:00
Rashad Kanavath
9a6a70a0c0 Reset outputpixeltype parameter options 2019-02-23 05:20:17 +10:00
Rashad Kanavath
8afb80e164 [test] new test for OtbChoiceWidget
This can easily go into GuiTests.py but we tend to keep it out due to
usage of create_from_metadata(). All widget in GuiTests uses
create_from_class() which will not work for this special widget
2019-02-23 05:20:17 +10:00
Rashad Kanavath
e26e0981d3 [test] a new test for otb algorithm that used crs 2019-02-23 05:20:17 +10:00
Rashad Kanavath
e7ce84cb22 Use parameterAs methods in OtbAlgorithm
This will accept stuff other than string type if needed by a user.
2019-02-23 05:20:17 +10:00
Rashad Kanavath
5666db2871 pass file names with quotes to otb 2019-02-23 05:20:17 +10:00
Rashad Kanavath
be52385ef2 using parameterAs from qgis api 2019-02-23 05:20:17 +10:00
Rashad Kanavath
0c1de0407a [review] fix issues from code review 2019-02-23 05:20:17 +10:00
Rashad Kanavath
8e78d2015d [test] Avoid "NOTFOUND" in LD_LIBRARY_PATH environment variable 2019-02-23 05:20:17 +10:00
Rashad Kanavath
471865afd1 [CI] fix travis test for OtbAlgorithms 2019-02-23 05:20:17 +10:00
Rashad Kanavath
e286d5b99c [CI] install OTB package for OtbAlgorithmsTest
Package will be taken from official OTB repository and will be
maintained by OTB team.
2019-02-23 05:20:17 +10:00