32848 Commits

Author SHA1 Message Date
Stéphane Brunner
47cf9240b3 Add and fix WFS server MAXFEATURES test
It was not working when we do a POST with an XML
2016-05-30 07:33:51 +02:00
Nyall Dawson
1b06324d24 Fix failing server label test 2016-05-29 16:11:46 +10:00
Nyall Dawson
5b6f9d846e Fix uninitialized wheel zoom factor in QgsMapCanvas 2016-05-29 15:53:56 +10:00
Nyall Dawson
7cab60bc43 [FEATURE][expressions] If a feature is passed to a function
expecting geometry inputs, then use that feature's geometry
instead of throwing an error

eg

buffer(@atlas_feature,100)

or

buffer(get_feature('my_layer','id=54'))
2016-05-29 15:32:16 +10:00
Nyall Dawson
497d6ef413 Minor clean ups 2016-05-29 15:31:47 +10:00
Nyall Dawson
421ab4fee7 Add missing docs, SIP bindings, some const correctness 2016-05-29 14:59:23 +10:00
Mathieu Pellerin
36ff0ba333 [FEATURE] add a char() function to the expression engine (#3137) 2016-05-29 14:38:53 +10:00
Nyall Dawson
78bcd4b10c Correctly mark method as deprecated 2016-05-29 08:11:43 +10:00
Nyall Dawson
e7d039240c Fix doxygen warnings 2016-05-29 08:10:23 +10:00
Denis Rouzaud
b9baf2e95a Merge pull request #3131 from 3nids/lockscale
allow to lock scale to use magnification to zoom in/out
2016-05-28 18:18:22 +02:00
Denis Rouzaud
c3e7a56b05 always use double for dpi 2016-05-28 17:22:22 +02:00
Denis Rouzaud
cf99817b72 allow to lock scale to use magnification to zoom in/out
this also removes the option for different behavior of mouse wheel
2016-05-28 16:52:09 +02:00
Nyall Dawson
bae8a0e5e0 [FEATURE] Georeference outputs (eg PDF) from composer
This commit makes composer automatically georeference outputs
(where output format makes this possible, eg TIF and PDF).

The existing option to create a world file has been separated
from the map selection for georeferencing. The new behaviour
is to always georeference outputs, and only create the
separate world file if that option is checked.
2016-05-29 00:46:39 +10:00
Nyall Dawson
bc779a06ed QgsActionManager: improve docs + add tests 2016-05-29 00:45:17 +10:00
Nyall Dawson
3d494ac9f8 Fix feature's value action not working (fix #14536)
Replace broken/missing $currfield with new @current_field
expression variable. Update other default actions to use
expression variables instead of deprecated special columns.
2016-05-29 00:45:17 +10:00
Nyall Dawson
0a8df0719a Fix build warning 2016-05-29 00:44:31 +10:00
Nathan Woodrow
705d4f5894 [styledock] Fix undo redo 2016-05-28 21:49:21 +10:00
Nathan Woodrow
17b48563a5 [renderer] Live hillshade renderer for raster layers
Thanks to Asger Skovbo Petersen (@AsgerPetersen) for the idea and fixes
Thanks to Nyall for reviews and bug fixes
2016-05-28 21:01:33 +10:00
rldhont
d8ccec0e0a [Processing] add an algs static method to Processing for server 2016-05-28 12:41:30 +02:00
Alexander Bruy
427559c872 Merge pull request #3100 from alexbruy/add-db-table
enable Add button in DB dialogs only when at least one table is selected (fix #5616)
2016-05-28 11:43:00 +03:00
rldhont
27c5f78f4d Merge branch 'processing_shortHelp' 2016-05-28 09:58:52 +02:00
Alexander Bruy
3d95712009 [processing] add output extent to scripts (refs #11781) 2016-05-28 10:39:43 +03:00
Alexander Bruy
e60ed0511f [pluginmanager] limit plugin icon maximum size to prevent breaking description page layout 2016-05-28 10:38:07 +03:00
rldhont
8592a7e3ac [Processing] Add shortHelp for Scripts, Models and R
And enhance getParameterDescriptions
2016-05-28 09:32:49 +02:00
Denis Rouzaud
69a1718b5f move scale widget in its own class (away from qgisapp) 2016-05-28 09:31:50 +02:00
Even Rouault
4f49b8b742 Merge pull request #3121 from rouault/pyramids
Various improvements and fixes related to raster pyramids
2016-05-28 09:29:45 +02:00
Even Rouault
88c8d352e8 QgsRasterFormatSaveOptionsWidget: do not put pyramid option profiles into format option profiles
Before this commit, if the user opened Settings / Options / GDAL / Edit Pyramid options and
validated it, it added pyramid options as creation options of the GTiff driver, which
caused later confusion since they wrongly appeared in Creation Options / profile
combo box, when saving as raster layer.
2016-05-28 00:53:48 +02:00
Even Rouault
7f3edb89cb QgsRasterPyramidsOptionsWidget: cleanup to avoid use of hard-coded constants 2016-05-28 00:53:48 +02:00
Even Rouault
1ce34c363f [GDAL provider] Fixes related to pyramid option validation
- The method QgsGdalProvider::validatePyramidsCreationOptions() was a wrong name
  and should have been an override of the base validatePyramidsConfigOptions(). This
  issue existed since it was introduced in 2fb78db2, so this method couldn't be
  called
- Fix in it the list of formats that accept internal overviews. And other clean-up
- In QgsRasterFormatSaveOptionsWidget(), when called from the Save as dialog,
  add logic to avoid that selecting the "JPEG compression" profile for overviews
  results in PHOTOMETRIC_OVERVIEW=YCBCR to be added in the option string for non-RGB
  datasets (will now fail the validation, and previously would have caused overview
  generation to fail)
2016-05-28 00:53:48 +02:00
Even Rouault
2861cf1dc3 QgsGdalProvider::buildPyramids(): do not crash if an invalid option is provided 2016-05-28 00:53:48 +02:00
Even Rouault
a8be64e1f6 Raster layer properties : use/save default pyramid resampling method
Currently when you build raster pyramids from the Pyramids tab in raster layer
properties, the default method proposed is the first one in the combobox, i.e. nearest
neighbour. This is generally a poor choice for quality.
This changeset uses the settings gdal/driverOptions/_pyramids/resampling already
used by the Options dialog to select the resampling method (and AVERAGE if not yet
defined), and it saves the user choice when generating them.
2016-05-28 00:53:48 +02:00
Even Rouault
0ac285d750 [GDAL provider] Add cubic spline and lanczos resampling methods for overviews if GDAL >= 2.0 2016-05-28 00:53:48 +02:00
Nyall Dawson
2c1f2ce1c0 Add missing docs 2016-05-28 07:21:21 +10:00
Nyall Dawson
4da6588494 Temporarily revert "add sip bindings to webkit stubs"
This reverts commit dd69a5965589c8a27f2388e6ecad02b223392704.

The commit was causing build failures on Travis
2016-05-28 07:18:34 +10:00
Alexander Bruy
cc7eb27a27 [processing] drop WebView dependency (follow up 38f6ace4c0) 2016-05-27 20:38:51 +03:00
Juergen E. Fischer
dd69a59655 add sip bindings to webkit stubs 2016-05-27 19:30:35 +02:00
Juergen E. Fischer
4b5e5c081b german translation fixes (followup 0eecac1) 2016-05-27 19:30:35 +02:00
Larry Shaffer
88b673615d Cleanup some default values from nullptr to empty non-pointers 2016-05-27 18:40:06 +02:00
Nyall Dawson
c1750aa0b4 Avoid warning 2016-05-28 00:40:12 +10:00
Nyall Dawson
d4a482b982 Merge pull request #2900 from ahuarte47/Issue_QPainterSimplification
[Bugfix] QPainter simplification (fixes #14301)
2016-05-27 16:34:43 +02:00
Matthias Kuhn
cbbc53570c Avoid string comparisons 2016-05-27 15:19:34 +02:00
Marco Hugentobler
0aec8e9892 Postgres simplification does not work with curved types 2016-05-27 14:38:42 +02:00
Jürgen Fischer
7e9a0a78ff Merge pull request #3114 from SrNetoChan/new_icons
Adds File Formats mime Icons for debian and rpm
2016-05-27 14:29:36 +02:00
Alexander Bruy
70c5ab6a05 [processing] fix handling of scriipts/models folders in Get scripts dialog (follow up d16f04bf3a) 2016-05-27 15:16:27 +03:00
rldhont
92aed6e38f ending store and restore layer extents in projects 2016-05-27 12:32:30 +02:00
volaya
b38be6f725 [processing] made lastools additional parameters optional 2016-05-27 11:31:54 +02:00
volaya
f4ca847660 [processing] do not exit loop in intersect if there are errors
fixes #14908
2016-05-27 11:27:24 +02:00
volaya
841f8fb74e [processing] re-enabled tooltips in algorithm dialog 2016-05-27 11:27:23 +02:00
volaya
c080c2035b [processing] fixed default extension selection 2016-05-27 11:27:23 +02:00
Marco Hugentobler
64e05ff69d Show curve point radius in infotool and fix bug in geometryutils 2016-05-27 10:48:49 +02:00