Nyall Dawson
e1f7d330c2
[rastercalc] More robust handling of nodata in calculations
...
Also allow creation of QgsRasterCalcNodes which directly reference
a QgsRasterMatrix for testing.
2015-06-10 21:45:37 +10:00
Nyall Dawson
1219a0fbd2
[rastercalc] Consolidate duplicate code
2015-06-10 21:45:37 +10:00
Nyall Dawson
f42f640d30
[rastercalc] Switch all internal calculations to doubles
...
...for more accurate calculations (fix #9081 )
Also:
- Add test suite for raster calculator
- Fix errors with log/log10 calculation and inputs <= 0
- Fix loss of nodata values in certain circumstances
2015-06-10 21:45:37 +10:00
Juergen E. Fischer
facfe6ec2c
integrate sorting of includes into astyle.sh/astyle-all.sh/prepare-commit.sh
2015-06-10 13:12:24 +02:00
Denis Rouzaud
a6eb0f5bf3
fix directories in sort script (followup 684b2bd110c0da0fd65912ab82b47cf2e1e3d94f)
2015-06-10 11:43:23 +02:00
Denis Rouzaud
684b2bd110
bash cript to sort includes and remove duplicates
...
* this sorts and remove duplicates in #include in src and tests folders
* sorts includes in <...> before "..."
* keep #include "ui_..." on top of list
* can skip includes if an order should be kept
* can exlcude directories (hard-copies of external libraries)
2015-06-10 10:48:35 +02:00
Denis Rouzaud
95570ebf0e
add missing newline at end of file
2015-06-10 10:48:35 +02:00
Denis Rouzaud
b45e68f1b7
add missing includes
2015-06-10 10:48:35 +02:00
Nyall Dawson
8f9c73b938
Don't calculate unwanted stats for stats dock
2015-06-10 16:04:30 +10:00
Nyall Dawson
7fb4bea279
Fix map layer combo box sometimes showing a selected layer which
...
is not applied
This could also have been fixed by changing from the activated
signal to currentIndexChanged for the indexChanged connection,
but it looks like activated was intentionally used here.
2015-06-10 16:03:38 +10:00
Nyall Dawson
bf25186a76
Fix potential crash in stats dock widget, avoid unnecessary recalc
2015-06-10 16:03:10 +10:00
Juergen E. Fischer
3d193e3026
layer context menu: disable CRS related menu entries from table layers ( fixes #12654 )
2015-06-09 23:37:41 +02:00
Juergen E. Fischer
b736317005
spatialite provider: load 64bit integers ( fixes #12785 )
2015-06-09 23:12:27 +02:00
Juergen E. Fischer
014f0703fe
gps information widget:
...
* fix crash when satellite markers are remove (fixes #12393 )
* also fixes serial port detection on unix
2015-06-09 22:04:14 +02:00
Juergen E. Fischer
fa89e292ce
feature iterator: include attributes required by virtual fields first so that
...
they trigger joins if necessary (fixes #11545 )
2015-06-09 20:27:42 +02:00
Juergen E. Fischer
3646e35827
fix primary key search ( fixes #11997 )
2015-06-09 18:37:56 +02:00
Juergen E. Fischer
1959f751f6
renderer: also consider support ogc wkb types for 3d (fixes crash after merging
...
3d polygons)
2015-06-09 17:01:37 +02:00
Juergen E. Fischer
b14d3ebb99
fix warnings
2015-06-09 17:01:26 +02:00
Juergen E. Fischer
8289891b78
Move information about strict provider geometry type check on point shapefiles
...
to OGR provider and make use of it when pasting & merging features
(fixes #12488 , refs #10672 , refs #10747 )
TODO: check if other OGR drivers have similar restrictions.
2015-06-09 17:01:26 +02:00
Nyall Dawson
920f2ebe56
Fix bug causing raster blocks to be cleared when reprojecting
...
If a QgsRasterBlock had no nodata value set, then reprojecting
the raster using QgsRasterProjector would result in the entire
block being set to nodata.
2015-06-09 21:57:08 +10:00
Marco Hugentobler
3b5df98332
Implement segmentize method in QgsGeometryCollection2 instead of subclasses
2015-06-09 13:27:15 +02:00
Marco Hugentobler
06b472550d
Rename QgsGeometryData to QgsGeometryPrivate. Update class comment
2015-06-09 11:52:29 +02:00
Nyall Dawson
73ae0f7970
Bump number of decimal places for offset tool spinbox, otherwise
...
offset tool only allows coarse adjustments in certain CRSs.
2015-06-09 18:17:07 +10:00
Nyall Dawson
31232d16b5
Merge pull request #2126 from nirvn/lock_icon_refresh
...
[GUI] refresh the symbology and composer lock icons
2015-06-09 18:14:23 +10:00
nirvn
cf6de0f336
[gui] refresh the symbology and composer lock icons
2015-06-09 15:05:13 +07:00
Nathan Woodrow
03ad6aca8a
Merge pull request #2125 from nirvn/symbology_arrows_refresh-v3
...
[GUI] refresh the symbology add/remove/arrow icons
2015-06-09 13:31:29 +10:00
nirvn
3e17d5631c
[gui] refresh the symbology add/remove/arrow icons
2015-06-09 10:25:44 +07:00
Juergen E. Fischer
558f0b2808
date edit widget: show date if null is allowed
2015-06-08 23:33:52 +02:00
Juergen E. Fischer
018cdd25da
mssql provider: improve datetime support ( fixes #12461 )
2015-06-08 23:33:51 +02:00
volaya
cce3bb206e
Merge pull request #2121 from slarosa/algname_messagebar
...
[processing] add algorithm name to messagebar while running
2015-06-08 19:20:53 +02:00
Salvatore Larosa
941107dfa4
[processing] add algorithm name to messagebar while running
2015-06-08 18:27:51 +02:00
Juergen E. Fischer
77bf10b752
vector layer: changing of attributes and geometry of new features doesn't require ChangeGeometry/ChangeAttributeValues capabilities ( fixes #12909 )
2015-06-08 17:51:04 +02:00
Juergen E. Fischer
402df0323e
ows data items: population of children already runs in a thread - don't use subthreads for each provider ( fixes #12507 )
2015-06-08 14:10:23 +02:00
Juergen E. Fischer
ef6261632d
remove duplicate includes
2015-06-08 14:10:22 +02:00
Nyall Dawson
2948c45cba
Fix another issue with reshape tool and polygons with rings
2015-06-08 19:38:28 +10:00
alexbruy
3ab1230bac
Merge pull request #2110 from NaturalGIS/fix_grass7_v_voronoi
...
[processing] fix GRASS7 v.voronoi output as lines
2015-06-08 10:57:25 +03:00
Marco Hugentobler
77d68b0d6c
Fix reshape assertion if reshape line does not intersect twice
2015-06-08 09:00:37 +02:00
Nyall Dawson
35834e849b
Avoid overflowing url drawn over widgets in browser info widget
2015-06-08 14:33:42 +10:00
Nyall Dawson
aeda9554ba
Add confirmation prompt before deleting PostGIS and Spatialite
...
tables through the browser. Also add confirmation before dropping
connections (fix #12853 ).
2015-06-08 13:52:20 +10:00
Nathan Woodrow
aa6db0eb8c
Merge pull request #2119 from nirvn/browser_toolbar_improvement
...
[browser] slight re-ordering and icon improvements
2015-06-07 20:46:55 +10:00
Nathan Woodrow
ea31c680f9
Merge pull request #2120 from nirvn/layer_legend_icon_updates
...
[gui] sync layer right-click menu & composer legend item icons
2015-06-07 19:52:25 +10:00
Marco Hugentobler
624d142ec4
Fix bugs related to adding and removing geometry parts
2015-06-07 11:07:50 +02:00
Mathieu Pellerin
cc8c7ab0ae
[gui] update duplicate layer icon to align to a 16 x 16 grid
2015-06-07 14:19:24 +07:00
Mathieu Pellerin
1b4fe75ab3
[gui] sync layer right-click menu & composer legend item icons
2015-06-07 14:00:09 +07:00
Mathieu Pellerin
4075979e0d
[browser] slight re-ordering and icon improvements
2015-06-07 12:06:06 +07:00
pcav
faf3bcd0d6
Better output name for some SAGA Processing modules
2015-06-06 19:38:20 +02:00
pcav
b5bd178c8f
Better default for Processing:grass:r.series
2015-06-06 19:33:34 +02:00
Marco Hugentobler
8cdf0d6d95
Fix numerical problems in reshape tool
2015-06-06 17:03:41 +02:00
Marco Hugentobler
211d28b5a0
Don't test imported rings for validity (fixes display of simplified polygons)
2015-06-06 12:45:50 +02:00
Martin Dobias
f3c781edc1
Merge pull request #2117 from nirvn/osm_area_more_improvements
...
[OSM] add two more tags to determine area of closed ways with highway / barrier
2015-06-06 15:08:07 +08:00