53435 Commits

Author SHA1 Message Date
Luigi Pirelli
eeaccb7f0b typo 2019-02-01 21:02:09 +01:00
Luigi Pirelli
d06406d0e8 fixed spellcheck 2019-02-01 20:33:01 +01:00
Luigi Pirelli
9871c6d64b let travis happy 2019-02-01 20:25:36 +01:00
Luigi Pirelli
4b3674ae3f removed unuseful parentheses and removed default 2019-02-01 19:44:04 +01:00
Luigi Pirelli
0aaa1918da removed unuseful parentheses + removed default + forgot an enum 2019-02-01 19:37:01 +01:00
Luigi Pirelli
0d1144793d typo 2019-02-01 19:34:43 +01:00
Luigi Pirelli
5236b2f146 typo and rephrased 2019-02-01 19:29:13 +01:00
Luigi Pirelli
46ac803106 typo + #if 0 for todo code 2019-02-01 19:25:52 +01:00
Luigi Pirelli
a9fcfe9a55 betetr use qgsDoubleNear 2019-02-01 19:08:03 +01:00
Luigi Pirelli
78d94884f6 translated error message 2019-02-01 18:49:57 +01:00
Luigi Pirelli
dfda312465 removed default in switch 2019-02-01 18:48:04 +01:00
Luigi Pirelli
06e0580511 removed default and manage forgot enum 2019-02-01 18:42:12 +01:00
Luigi Pirelli
ad112badac back to a more safe const method 2019-02-01 18:34:48 +01:00
Luigi Pirelli
bdda8d0b37 back to const methods 2019-02-01 18:13:05 +01:00
Luigi Pirelli
d61940cfb0 use qgsDoubleNear to avoid precision errors 2019-02-01 15:54:22 +01:00
Luigi Pirelli
738ec79d6d \#if 0 instead of comment 2019-02-01 15:52:17 +01:00
Luigi Pirelli
461b31d4db debug message always in case contrastEnhancement alg is not SLD supported 2019-02-01 15:23:37 +01:00
Luigi Pirelli
a6391d7ddb use QgsFileUtils::ensureFileNameHasExtension instead 2019-02-01 15:12:47 +01:00
Luigi Pirelli
0e9af79165 fixed AStyle with astyle-all.sh 2019-02-01 14:42:36 +01:00
Luigi Pirelli
82e48f9c82 Added SLD 1.0 export for rasters 2019-01-31 15:21:05 +01:00
Hugo Mercier
c3819e88dc
Merge pull request #9036 from mhugo/fix_19909
Fix vertex marker display for multipolygon (fixes #19909)
2019-01-31 10:21:28 +01:00
Nyall Dawson
679b60e366 [processing][needs-docs] Extract binary field algorithm should use
an expression parameter instead of string for destination file name

It makes no sense to enter a constant string value here!
2019-01-31 19:29:47 +11:00
Peter Petrik
ebcc694ab1
fix #18954 add&rename vector fields (#8982)
fix #18954 add&rename vector fields at the same time
2019-01-31 09:20:49 +01:00
Peter Petrik
44c4e8cca0 fix #17652 Impossible to rename a layer style from the Styling Panel 2019-01-31 08:39:50 +01:00
Nyall Dawson
4f6df2980f [processing] Fixes to distance inputs for models
- fix parameter can get converted to plain number parameter after edits
- allow parameter to be linked to parent parameters, so that the
correct distance unit and choices are shown for the parameter
2019-01-31 17:53:25 +11:00
Nyall Dawson
5bfec27938 [processing] do not show geometryless layers in extent selector
Fixes #21129
2019-01-31 17:52:29 +11:00
Nyall Dawson
e670371fa3 [layouts] Show an explicit warning when exporting a layout which contains a broken image 2019-01-31 10:02:18 +11:00
Shahzad Lone
4559d9e496 Reserve vector - to minimize reallocation costs
Reserving vector to save on reallocation costs, where we know the size in advance.
2019-01-31 09:56:48 +11:00
lbartoletti
2e92dabd20 [Processing][Grass] Add the possibility to return a shp if ogr is not compiled with gpkg 2019-01-31 09:55:29 +11:00
Hugo Mercier
389149c8dc Fix vertex marker display for multipolygon (fixes #19909)
The i == 0 test was wrong, and a test is actually not needed.
2019-01-30 15:31:23 +01:00
Alexander Bruy
662af5cf79
Merge pull request #9003 from alexbruy/grass-vector-export
[processing][needs-docs] allow to exclude features without category from GRASS export
2019-01-30 14:35:08 +02:00
Hugo Mercier
fa1f8762d5
Merge pull request #9033 from mhugo/fix_20831
Fix "Allow null" in range widget (fixes #20831)
2019-01-30 13:32:00 +01:00
Hugo Mercier
eb5a3367b6 Fix "Allow null" in range widget (fixes #20831)
By default a range widget is built with a minimum value set to the
minimal integer that is possible to represent. When "allow null" is
enabled, a new value (minvalue - 1) is inserted. With the default
value, we then had an integer overflow.
2019-01-30 10:39:47 +01:00
Martin Dobias
3769faa86b [vertex tool] Fix vertex addition to polygon's first segment (fixes #20774)
With topo editing mode enabled, addition of extra points to keep the topology
correct wasn't working correctly because for the first segment we were getting
two matches due to duplicated first and last vertex in the ring. The fix
ensures that only one match will be returned for the first duplicated vertex.
2019-01-30 10:23:36 +01:00
Alexander Bruy
19dcfb987b don't export features without category by default 2019-01-30 10:40:29 +02:00
Peter Petrik
606359117b
allow to drop 2dm files from system file browser (#8987)
* allow to drop 2dm files from system file browser
* support non-ascii files for mesh layer
2019-01-30 08:49:37 +01:00
Alessandro Pasotti
1686f0d084 Followup 1f8708f, fix src / scheme detection
Thanks @nirvn for finding this bug
2019-01-30 08:12:33 +01:00
Alexander Bruy
0cc483f621 set default value for newly added parameter 2019-01-30 08:12:22 +02:00
Alexander Bruy
67bc586036 fix formatting 2019-01-30 08:12:22 +02:00
Giovanni Manghi
5f99955b45 do not always use the -c flag to export vectors from GRASS 2019-01-30 08:12:22 +02:00
nirvn
f2d8bdea4e [ui] Remove black background for the browser panel DB2 icon 2019-01-30 11:04:20 +07:00
Juergen E. Fischer
806ae861e1 osgeo4w: rely on GRASS' GISBASE environment variable instead of
detecting the path (ie. use the same version for processing as the
version that the grass plugin uses)
2019-01-29 23:03:58 +01:00
Juergen E. Fischer
532d1ddd60 fix build 2019-01-29 21:17:06 +01:00
Alexander Bruy
b19e0bd5d4 [processing] don't show cancel button in the task manager for algorithms that can not be cancelled (refs #20441) 2019-01-30 05:53:55 +11:00
Nyall Dawson
60b8d05278 [needs-docs][layouts] Add checkbox to disable raster tiling for PDF/SVG exports
This setting, which is disabled by default and placed into an
"advanced" group on PDF/SFG export, disables the built-in
raster layer tiled rendering. While the tiling is good for
memory usage, it can cause visible "seams" in the rasters
for generated PDF/SVG files.

The setting has a tooltip warning users that disabling the
tiling results in high memory usage during exports.

Fixes #19500
2019-01-30 05:09:29 +11:00
Nyall Dawson
2752f8348a Fix inconsistent use of layout render context flags 2019-01-30 05:09:29 +11:00
Nyall Dawson
9a723d91e8 New Shapefile Layer dialog: avoid warning message on user cancel
Also add better error message reporting, and deprecate horrible API.
2019-01-30 05:08:59 +11:00
Nyall Dawson
cf1cf0fe45 Fix empty strings in proxy exclude list results in proxy being skipped for ALL hosts
Fixes #20213
2019-01-30 05:08:39 +11:00
lbartoletti
cfdc8c26c2 [BUGFIX] fix qgsRound for negative numbers. Fixes #20861 2019-01-30 03:27:23 +11:00
Nyall Dawson
774f025687 Q_FOREACH -> for 2019-01-30 02:41:07 +11:00