32959 Commits

Author SHA1 Message Date
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
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