33129 Commits

Author SHA1 Message Date
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
Even Rouault
f3b635dcbb [GDAL provider] Ignore nodata value that are not representable in the data type.
This is related to commit e0d38ba3f912b7ae6b34e66a44e529ec37394458. In case
we have to deal with an inconsitent raster where the nodata value is set to
a value not representable in the data type, ignore it. Otherwise, a NaN value
in a Byte raster would be cast as 0.
2016-05-29 12:55:23 +02:00
Patrick Valsecchi
69bed21837 WMS: Better logic to pick the legend URL
QGIS had two problems:
1) It was using the specified legend URL only if its mime type was matching
   the layer's mime type. There is no reason for that.
2) When QGIS was using the default layer (empty string), it was not even
   trying to find out in what style to pick the legend URL.
2016-05-29 12:47:57 +02:00
Patrick Valsecchi
e79a327ab7 WMS GetCapabilities: override parent's style if they have the same name
When there is a layer group with several sub-layers, the group has a
"default" style and the sub-layers each have a "default" layer. QGIS
was showing two "default" styles for the sub-layers, which would be
confusing to the user and could pick the wrong legend for the
sub-layer if the user picked the wrong entry (the first one).

Had to create a static lib for wmsprovider in order to unittest it.
2016-05-29 12:47:57 +02:00
Even Rouault
147a68c0a0 Do not print excessive decimals when identifying value on a Float32 raster
Was reported in https://lists.osgeo.org/pipermail/qgis-user/2016-April/036045.html
2016-05-29 12:43:20 +02:00
Nyall Dawson
c7a4e5a065 [needs-docs] Reword "delete" option in db connection dialog
Button has been changed to "remove", to make it clear that
the button just removes the connection, it does not delete
the database! (It was confusing for spatialite dbs)

Also add tooltips to buttons for extra clarification.
2016-05-29 20:40:39 +10:00
Nyall Dawson
e2abea671c Fix incorrect tooltips in effects widget 2016-05-29 20:40:39 +10:00
Matthias Kuhn
22794ce1e8 Merge pull request #3062 from medspx/processing_imagery
[Processing] GRASS7 complete i.* modules (implements Redmine #5722)
2016-05-29 11:45:48 +02:00
Médéric RIBREUX
59faf95c1d Blacklist travis-ci qt5 tests and remove i.fft test 2016-05-29 09:00:16 +02:00
Médéric RIBREUX
8d1bec33a0 Exec things... 2016-05-29 09:00:16 +02:00
Médéric RIBREUX
ec6b29aa8c Remove NaN values from raster before hash calculation 2016-05-29 09:00:16 +02:00
Médéric Ribreux
235f986517 Fix qt5 travis build and update README for Processing tests 2016-05-29 09:00:16 +02:00
Médéric RIBREUX
3f6e84f959 fix .travis config indentation 2016-05-29 09:00:16 +02:00
Médéric Ribreux
c867123f18 Fix exec statement for AlgorithmsTestBase.py
On travis-ci environment, Python version seems to be affected by [this bug](https://bugs.python.org/issue21591).
One way to fix it is to use the old statement instead of exec() function.
2016-05-29 09:00:16 +02:00
Médéric Ribreux
5f3b60c935 Add libfftw3-3 to travis-ci environment (fingercross: should pass) 2016-05-29 09:00:16 +02:00
Médéric Ribreux
f6710de670 Fix rasterhashes value with osgeo4travis values 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1945facd1d Temporary make Grass7Utils more verbose for more travis debug 2016-05-29 09:00:16 +02:00
Médéric Ribreux
8884cd715a Add ugly debug prints to try to find what is travis-ci problem... 2016-05-29 09:00:16 +02:00
Médéric RIBREUX
bc4b3a20a7 Fix i.at.corr test 2016-05-29 09:00:16 +02:00
Médéric Ribreux
03a8a8e507 Try without subfunction 2016-05-29 09:00:16 +02:00
Médéric Ribreux
cd7047cc7c Try this exec modification 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1aa0bbd258 Update TODO file 2016-05-29 09:00:16 +02:00
Médéric Ribreux
6b8f943022 Fix i.atcor algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
b40d2ff3ba Add last set of tests 2016-05-29 09:00:16 +02:00
Médéric Ribreux
48d45fbd22 Fix multiple input parameter type detection for graphical unit test generator 2016-05-29 09:00:16 +02:00
Médéric Ribreux
222935b45f Expand external file support to graphical unit test generator 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1f21af6672 Improve tests: add external file support into AlgorithmsTest 2016-05-29 09:00:16 +02:00
Médéric Ribreux
e70f9bcf0c Add first set of unit tests 2016-05-29 09:00:16 +02:00
Médéric Ribreux
ed97ca5628 Fix some algorithms 2016-05-29 09:00:16 +02:00
Médéric Ribreux
2aab32487a Add i.aster.toar algorithm (need to fix a GRASS7 bug about number of files) 2016-05-29 09:00:16 +02:00
Médéric Ribreux
fe5c6f5157 Add i.rectify algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
8ff07cf91a Add i.landsat.acc algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
90758b533c Add i.in.spotvgt algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
033fd1fa8b Add i.modis.qc algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
fdce74885a Add i.maxlik algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
1d1534279f Add i.cca algorithm (segfaults from GRASS) 2016-05-29 09:00:16 +02:00
Médéric Ribreux
02bbcbb81a Add i.oif algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
c9f56125b9 Add i.pansharpen algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
5182748e10 Add i.topo.corr algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
cce451c722 Add i.pca algorithm 2016-05-29 09:00:16 +02:00
Médéric Ribreux
a73ed12dd7 Add i.segment algorithm 2016-05-29 09:00:16 +02:00