19530 Commits

Author SHA1 Message Date
Martin Dobias
ed1efcbe22 Fix display of raster layer that would sometimes show just garbage
If a raster layer was displayed in a way that it fitted into canvas,
but would be shifted towards left or top edge of canvas, that bug
would be triggered.

By doing extra floating point math where not necessary, small
imprecisions were introduced to extent definition and GDAL provider
would end up requesting a window one pixel taller or wider, which
leads to RasterIO error and results into garbage displayed on canvas
2016-01-20 18:55:13 +01:00
Matthias Kuhn
47549ebcba Merge pull request #2691 from m-kuhn/fixrulebased
Also render all parent features on refined rules
2016-01-20 17:21:05 +01:00
Alexander Bruy
45d5b1c875 follow-up 1c3f066edf 2016-01-20 17:54:27 +02:00
Denis Rouzaud
bdf659faa1 Merge pull request #2699 from 3nids/test_join_pg
Add postgres provider to join test
2016-01-20 13:43:45 +01:00
Alexander Bruy
cc33c12660 improve error message in the Road Graph plugin (fix #12160) 2016-01-20 14:14:46 +02:00
Denis Rouzaud
13ccf70e1a test vector join: add PostgreSQL provider 2016-01-20 12:00:46 +01:00
Martin Dobias
06932d98de [tracer] If tracing is not possible, simply use a straight line like usual
Until now the tracing was quite strict and it would show error messages
if something went wrong with start/end-points and would not allow creation
of points outside the tracing graph. It is however more user-friendly
to allow capturing points outside of the graph, so the user does not need
to enable/disable tracing whenever capturing some extra points is needed.

Also, the warning "too many features" is hidden immediately when there
is reasonable amount of features (before it would stick there until timeout).
2016-01-20 10:39:19 +01:00
Alexander Bruy
63af3e2765 Merge pull request #2634 from alexbruy/wfs-dialog
option to keep WFS dialog open after adding layer(s)
2016-01-20 11:19:53 +02:00
Alexander Bruy
1c3f066edf Merge pull request #2643 from alexbruy/sublayers
More informative layer names when loading GDAL/OGR sublayers
2016-01-20 11:19:29 +02:00
Martin Dobias
9fda6aaf53 [tracing] fix the case when OTF reprojection is disabled 2016-01-20 09:44:24 +01:00
Nyall Dawson
60816af372 Correctly mark some raster classes copy/assignment as private
As they haven't been properly implemented yet and the classes
violate the rule of three
2016-01-20 17:06:04 +11:00
Nyall Dawson
cc505424ce Hopefully fix raster layers not rendering on Windows
The copy constructor for QgsContrastEnhancement was using
an uninitialized value for the mContrastEnhancementAlgorithm
member, resulting in no contrast function being set in
certain occasions.

Refs #13155
2016-01-20 17:05:37 +11:00
Denis Rouzaud
2bacecea0b Merge pull request #2697 from SebDieBln/FixVectorJoinDialog
Fix vector join dialog
2016-01-19 22:50:43 +01:00
Sebastian Dietrich
01603d728c QgsJoinDialog offers only vector-layer for joining. 2016-01-19 22:06:05 +01:00
Martin Dobias
81448f8541 fix "failing" travis build 2016-01-19 19:05:50 +01:00
Martin Dobias
7a5df7ada6 Move tracing action creation to qgis app 2016-01-19 18:03:15 +01:00
mhugent
f4bdaad59f Merge pull request #2666 from mhugent/symbology_brush_transform
Symbology brush transform
2016-01-19 16:19:09 +01:00
Matthias Kuhn
fc6f2cbf21 fix tests 2016-01-19 15:04:18 +01:00
Sandro Santilli
69cb0c4ed3 Fix double-release of postgresql connection on table retriveal stop
Also breaks earlier out of loop and print a different status
message on "stop" (rather than "complete").

Fixes #14140
2016-01-19 13:15:35 +01:00
Martin Dobias
4b079ae418 Fix crash while tracing and a layer is removed (fixes #14130) 2016-01-19 12:26:12 +01:00
Sandro Mani
f27ab9a571 Merge pull request #2688 from manisandro/geom_checker_fixes
Geom checker fixes
2016-01-19 12:02:05 +01:00
Sandro Santilli
670ded3d06 Abort if trying to use shared pgsql connection from non-main thread
Connections cannot be shared between threads, document it.
See #13141
2016-01-19 11:01:10 +01:00
Hugo Mercier
26ae323431 Virtual layer: add support for expression filter 2016-01-19 09:52:05 +01:00
Sandro Mani
47aeb596b5 Whitespace fixes 2016-01-19 09:39:29 +01:00
Sandro Mani
9b7afc8f48 [Geometry checker] Be more verbose about output file creation failure reason 2016-01-19 09:39:29 +01:00
Sandro Mani
20658509dc [Geometry checker] Fix memory corruption in QgsGeometryTypeCheck fix when converting to singleparts 2016-01-19 09:39:29 +01:00
Sandro Mani
65aa885de8 [Geometry checker] Remove some debugging prints 2016-01-19 09:39:29 +01:00
Sandro Mani
28dc710516 [Geometry checker] Clear previous rubberbands if new selection is empty 2016-01-19 09:39:29 +01:00
Sandro Mani
772ded8c38 [Geometry checker] Show feedback in the UI when the user presses Cancel 2016-01-19 09:39:29 +01:00
Sandro Mani
8835658706 Make QgsVectorFileWriter::driverMetadata also match by driver longName 2016-01-19 09:39:29 +01:00
Sandro Mani
20ca316308 [Geometry checker] Prevent output layer from being set as current input layer when dialog is visible 2016-01-19 09:39:29 +01:00
Sandro Mani
4827cbc932 [Geometry checker] Don't allow setting output layer equal to input layer 2016-01-19 09:39:29 +01:00
nirvn
9159573f1a [vector export] better default for kml altitudemode 2016-01-19 11:38:53 +07:00
Nyall Dawson
7e642df52b Followup 8435fee, fix filtering of NULL values 2016-01-19 15:06:44 +11:00
Nyall Dawson
8435fee4a4 Correctly quote field name in categorized filters (fix #14118) 2016-01-19 11:38:52 +11:00
Sebastian Dietrich
5e5f95b75a Hide excepted layers even if all types of layers are allowed. 2016-01-19 01:22:42 +01:00
Nyall Dawson
17528d6fe4 Merge pull request #2693 from SebDieBln/FixAllLayersFilterConstant
[Bugfix] Make the flag 'All' actually contain all types of layers
2016-01-19 11:16:26 +11:00
Nyall Dawson
e2e3604784 Fix crash using expression for heatmap renderer (fix #14127) 2016-01-19 11:09:54 +11:00
Nyall Dawson
23fc3cf9cc Fix invalid rubber band when digitising polygon and layer CRS
is not the same as map CRS (fix #14117)
2016-01-19 10:50:17 +11:00
Matthias Kuhn
3529433729 Fix memory leak in rulebased renderer sip bindings 2016-01-19 00:23:13 +01:00
Matthias Kuhn
2246dccdbf Another rulebased renderer fix 2016-01-19 00:19:57 +01:00
Matthias Kuhn
77cbfd34cf Fix some issues with QgsRuleBasedRendererV2::Rule 2016-01-19 00:16:06 +01:00
Sebastian Dietrich
9d5617deea make the flag 'All' actually contain all types of layers 2016-01-18 23:36:24 +01:00
Nyall Dawson
1e3172e1b4 Also fix quotedValue in OGR, Oracle, Spatialite compilers 2016-01-19 08:22:37 +11:00
Hugo Mercier
ed54e3cc0b Fix quotedValue in postgres sql expression compiler 2016-01-19 08:22:30 +11:00
Martin Dobias
1474c0783f Fix crash when toggling vector layer editing on 2016-01-18 18:03:29 +01:00
Sandro Santilli
a0e6d49acd Remove left-over debug comment 2016-01-18 17:20:22 +01:00
Matthias Kuhn
d796ade35d Also render all parent features on refined rules
Fix #13708
2016-01-18 16:37:32 +01:00
Alexander Bruy
20bf738f1c correctly save and restore last used dir when saving/loagin color map for singleband images (fix #12390) 2016-01-18 17:01:35 +02:00
Alexander Bruy
aa417a10cb add extension when saving customization file (fix #12887) 2016-01-18 17:01:35 +02:00