32966 Commits

Author SHA1 Message Date
Nyall Dawson
1b2af79c96 Ctrl zoom (#3154)
* Switch QgsMapCanvas zoomIn and zoomOut to slots

* Change shortcuts to zoom in/out tool to Ctrl+Alt +/-, and
make Ctrl + and Ctrl - trigger an immediate zoom in/out

Having Ctrl +/- perform an immediate zoom in/out is standard
across almost all apps with a zoom facility, so we should
respect that same behaviour.

This change also helps bring canvas and composer behaviour
closer together.

(fix #1824)
2016-06-01 07:43:52 +10:00
Mathieu Pellerin
bf9f5b6180 [style dock] use a QLineEntry for layer title (#3141) 2016-06-01 07:22:26 +10:00
Matthias Kuhn
c7da8a701b Add CONTRIBUTE.md to help new contributors. (#2581)
This file will be shown when people make new pull requests.
2016-06-01 07:17:15 +10:00
rldhont
fda06c0c45 [Processing] Add optional capabilities to R scripts 2016-05-31 19:12:38 +02:00
rldhont
ab28d527d5 [BUGFIX][Processing] R: Extent from raster package is "xmin, xmax, ymin, ymax"
Extent from raster package is like in Processing
http://www.inside-r.org/packages/cran/raster/docs/Extent
2016-05-31 19:10:54 +02:00
Sandro Mani
47397ee393 [Globe] Fix incorrect transparency conversion 2016-05-31 18:33:08 +02:00
rldhont
bb41cceb34 [Processing] Fix getParameterDescriptions
Add import json for script and r
return descs and not None
2016-05-31 17:25:05 +02:00
Juergen E. Fischer
b79e5bb3a2 globe: fix warnings on windows 2016-05-31 16:20:44 +02:00
Salvatore Larosa
83502c55b3 [processing] add again the algorithm name after being removed mistakenly in 507aeb0 2016-05-31 15:56:42 +02:00
volaya
5773d0d51b [processing] fixes and better warning messages in modeler 2016-05-31 12:36:29 +02:00
Juergen E. Fischer
797826ea5b spelling fixes 2016-05-31 03:36:27 +02:00
Asger Skovbo Petersen
fecc59ae15 Hillshaderenderer: Fix calculation of aspect (#3152) 2016-05-31 08:45:49 +10:00
Even Rouault
593fa68343 Fix build problem with gcc 4.7 2016-05-30 21:48:28 +02:00
Juergen E. Fischer
b9df31684d debian packaging: fix installation of mime icons 2016-05-30 19:52:08 +02:00
Juergen E. Fischer
919c8ee843 fix precise build 2016-05-30 19:52:08 +02:00
Even Rouault
0367d7a342 [WFS provider] Fix build problem due to signature change of QgsRectangle::combineExtentWith() 2016-05-30 19:39:47 +02:00
Even Rouault
a023f55b9d Merge pull request #3148 from rouault/wfs_better_behaviour_with_wrong_capability_extent
[WFS Provider] Implement workarounds to better behave when extent reported by capabilities is wrong
2016-05-30 17:46:35 +02:00
Even Rouault
86f6e7eb0d Merge pull request #3142 from rouault/identify_result_float_precision
Do not print excessive decimals when identifying value on a Float32 raster
2016-05-30 17:46:08 +02:00
Even Rouault
4b130cbf42 Merge pull request #3134 from rouault/do_not_write_nodata_if_not_existing
Nodata related fixes
2016-05-30 17:45:48 +02:00
Alexander Bruy
df6410ec35 fix typo in import 2016-05-30 17:36:42 +03:00
Alexander Bruy
2f7ff46a4b fix imports (follow up b52828fac7) 2016-05-30 16:53:19 +03:00
Alexander Bruy
6396d8fe60 fix indentation (follow up b52828fac7) 2016-05-30 15:30:00 +03:00
arnaud.morvan@camptocamp.com
01450c5609 [Processing] Compare lower file extension to "shp" 2016-05-30 15:30:00 +03:00
Salvatore Larosa
2cf224cacf [dbmanager] remove maxsize constraint for reset button in query builder dialog 2016-05-30 14:26:25 +02:00
Alexander Bruy
25983ee331 [processing] fix .ui file loading (follow up b52828fac7) 2016-05-30 14:39:28 +03:00
Nyall Dawson
ddd37ad8bd Merge pull request #3138 from sbrunner/limit
Add and fix WFS server MAXFEATURES test
2016-05-30 12:15:32 +02:00
Sandro Mani
3bdbf79b4d Clarify in the registerMapLayerPropertiesFactory docstring that the ownership of the factory is not transferred 2016-05-30 12:10:26 +02:00
Sandro Mani
2297ade90a [Globe] Remove python bindings 2016-05-30 12:07:24 +02:00
Nyall Dawson
00502620c0 [FEATURE] Allow web map style shift-drag zoom
When certain map tools are active, you can hold down shift
and drag a rectangle on the map to zoom to that area. This
is enabled for the map tools which are not selection tools
(since they use shift for adding to selection), and edit
tools.

Gracias a Girona!
2016-05-30 19:39:57 +10:00
Nyall Dawson
8628f211dd Switch to flags for map tool behaviour 2016-05-30 19:39:32 +10:00
Nyall Dawson
71f8e3e4bb [FEATURE] Plugins can add pages to vector layer properties*
* This is actually a followup to 87121d, which fixes leaks
& clarifies some docs. But I figured the ability to add
custom pages to the properties is worth highlighting as a
feature on it's own, or it may go unnoticed in the other
globe related changes!
2016-05-30 19:39:32 +10:00
Alexander Bruy
2069c27c85 Merge pull request #3119 from arnaud-morvan/processing_fix_postgis_overwrite
[processing] fix ogr2ogr postgis table overwrite
2016-05-30 11:57:57 +03:00
volaya
b52828fac7 [processing] allow creating new plugin from toolbox with scripts 2016-05-30 10:41:45 +02:00
volaya
9c2721b08b [processing] added ‘supported’ parameter to exportVectorLayer 2016-05-30 10:41:44 +02:00
Matthias Kuhn
ebf434037f Merge pull request #3077 from pvalsecc/legend_url
WMS: Better logic to pick the legend URL
2016-05-30 10:17:58 +02:00
Denis Rouzaud
12cbcfc7fd Merge pull request #3147 from pblottiere/fix_diagram
[Bugfix] Fix pin/unpin maptool
2016-05-30 08:25:06 +02:00
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
Sandro Mani
72b55b7ef4 [Globe] Remove remaining traces of osg sip bindings 2016-05-30 00:41:29 +02:00
arnaud.morvan@camptocamp.com
8e5b28f3bb [db_manager] Fix #14796 - Quote values depending on data type in query builder 2016-05-29 23:59:03 +02:00
Sandro Mani
87121d63a8 Merge pull request #3126 from manisandro/globe
Revived globe, compatible with OsgEarth 2.7
2016-05-29 23:51:58 +02:00
Sandro Mani
cdbd4e45d4 Docstring updates 2016-05-29 21:18:57 +02:00
Blottiere Paul
62c814cb45 fix pin/unpin ctl key 2016-05-29 20:35:45 +02:00
Even Rouault
9fe210283c QgsRasterBlock::printValue(): add documentation notes 2016-05-29 19:52:49 +02:00
Even Rouault
2ac20c665f [WFS Provider] Implement workarounds to better behave when extent reported by capabilities is wrong
Some servers like http://geodata.nationaalgeoregister.nl/bag/wfs report wrong layer
extent in their GetCapabilities response.

This commit implements a work around :
- in the 'Request only features intersecting extent' mode, if no feature is returned
  in a BBOX enclosing the GetCapabilities extent, then query a single feature to
  initialize the extent. The user will then to zoom again on layer and zoom out.
- in the other mode, the extent is updated with the feature geometry extent as soon
  as features come from the server, and the user can zoom on layer regularly to se
  it updated.
2016-05-29 18:02:53 +02:00
Nyall Dawson
79d640715e Set cursor to pan cursor when space-dragging canvas 2016-05-30 01:50:13 +10:00
Nyall Dawson
5377952a1a [FEATURE] ctrl+wheel on canvas results in smaller zoom
Holding down ctrl while using the mouse wheel to zoom in or
out now results in a finer zoom. This behaviour brings canvas
into line with composer.
2016-05-30 01:50:13 +10:00
Nyall Dawson
aa53cfe387 [composer] Prevent zooming out/in too far
Would cause issues when scale became 0 and it was impossible
to further interact with the composer.
2016-05-30 01:50:13 +10:00
Nyall Dawson
f9a10e4a99 Remove deprecated wheel action behaviour from composer 2016-05-30 01:50:13 +10:00
Blottiere Paul
8e980cfed1 fix pin/unpin diagrams when no labels 2016-05-29 17:36:21 +02:00
Jürgen Fischer
d6ec868af1 Merge pull request #3098 from arnaud-morvan/postgresql_decimal_fields
Keep numeric fields type, length and precision in postgresql provider
2016-05-29 16:20:33 +02:00