4824 Commits

Author SHA1 Message Date
Nyall Dawson
6e73c53a1b Implement stubbed QgsGeometry methods 2015-06-22 21:34:49 +10:00
Nyall Dawson
e53debe215 Update doxygen comments for QgsGeometry, reflecting that QgsGeometry
is a generic geometry container from >= 2.10.
2015-06-22 21:29:51 +10:00
volaya
b4edf8af88 [processing] better sizing of columns in batch interface
fixes #12706
2015-06-22 12:57:38 +02:00
volaya
5d4928fae2 [processing] fixed setting rendering styles for line and point outputs
fixes #12773
2015-06-22 11:38:16 +02:00
Nyall Dawson
436350a4e3 Make QgsVectorLayer::setDataSource maintain renderer where possible 2015-06-22 19:26:05 +10:00
volaya
3ccd2a1fd3 [processing] corrected last commit
no need to rename algorithm
2015-06-22 11:23:41 +02:00
volaya
d9e749821a [processing] added import into postgis algorithm to simplified interface 2015-06-22 11:17:47 +02:00
volaya
b6975d6121 [processing] fixed add model from file
fixes #12902
2015-06-22 10:12:02 +02:00
volaya
5013bb5600 [processing] fixed using temporary files in field calculator 2015-06-22 09:52:42 +02:00
volaya
1579a68b13 [processing] correctly handle filenames with long extension names in output file selector
fixes #10264
2015-06-22 09:25:13 +02:00
volaya
32d6275fa3 [processing]changed native raster format for SAGA algorithms from tif to sdat
This eliminates the need to export to a QGIS compatible format after generating a raster output. The SDAT format is the native SAGA format, and it is supported by GDAL, so it is also supported by QGIS. This was not used before, but now we use that to reduce the nuber of steps and provide a better integration.

Conversion to other formats is now done by Processing itself, not by the SAGA algorithm.

fixes #10735
2015-06-22 09:11:01 +02:00
volaya
92cf321d13 [processing] wait until file conversion is finished 2015-06-22 09:11:00 +02:00
volaya
a1351640ba [processing] fixed output to non-supported vector formats in GRASS 2015-06-22 07:45:04 +02:00
volaya
83782cc4c8 [processing] fixed conversion to unsupported raster formats after running algorithm 2015-06-22 07:44:21 +02:00
alexbruy
d560568e5a Merge pull request #2151 from NaturalGIS/fix_grass_r_drain
[processing] fix grass7 r.drain non mandatory parameter
2015-06-21 09:27:44 +03:00
Juergen E. Fischer
b3c2bd7f21 dxf export:
* fix support for data-defined properties in SVG export
* remove drawRects and let it fallback to drawPath and drawPolygon
* close arcs
2015-06-20 01:12:13 +02:00
Salvatore Larosa
6cbe0ee71c [processing] fix typo 2015-06-19 20:42:00 +02:00
pcav
ef3eb85d65 Better output name for saga kernel 2015-06-19 17:02:44 +00:00
Giovanni Manghi
72c56dffdb fix grass7 r.drain non mandatory parameter 2015-06-19 12:16:49 +01:00
Martin Dobias
eaf17e56c2 Fix SAGA detection on some Debian/Ubuntu systems (fixes #12335) 2015-06-19 13:18:59 +08:00
Martin Dobias
0c5352fad6 Remove invalid/crashing QgsComposerHtml constructor (fixes #12009) 2015-06-18 16:30:50 +08:00
Martin Dobias
40acaa051a Deprecate QgsRasterLayer::setDrawingStyle() (fixes #12635) 2015-06-18 12:47:45 +08:00
Matthias Kuhn
8342739b37 Expressions: preserve brackets for right-associative operators
Fixes #11475
2015-06-16 19:46:26 +02:00
Denis Rouzaud
a518e9f639 [fix #11475] expressions: add left and right associavity for dump of binary operators
complete test for left associativity
2015-06-16 19:07:45 +02:00
Nyall Dawson
cf2fa39691 [effects] Initially populate effects with a default list of effects
Default list shows a number of common effects like drop shadows,
but they are disabled. This allows users to easily enable them
just by checking them in the list. End result is a more user
friendly and familiar effects interface.

Advanced users can still reorder, add/remove effects as before.
2015-06-16 21:30:53 +10:00
volaya
5d44de7012 Merge pull request #2139 from nachouve/patch-1
[processing] Added "sum" field on StatisticsByCategories
2015-06-15 18:20:41 +02:00
Alexander Bruy
77c3e867d8 [processing] bump plugin version to avoid masking 2015-06-15 18:29:38 +03:00
Nyall Dawson
7a3a857d79 Add QgsFontUtils methods for saving/loading font from XML (fix #12644)
Fixes loss of font styles when restoring projects. Credit to @nirvn
for the initial implementation.
2015-06-15 19:40:28 +10:00
radosuav
12c1c869ee [processing] Remove space in GDAL warp which causes issues when alg is called from script. 2015-06-15 11:29:20 +02:00
Matthias Kuhn
8fbee12106 Fix "return reference to temporary" 2015-06-15 10:26:05 +02:00
Nacho Varela
cf5b454390 Added "sum" field
Minor change just to add the "sum" to the output table result.
2015-06-15 09:03:47 +02:00
Nyall Dawson
084c4558b6 Make size assistant more prominent in dd buttons, allow control of
assistant menu text
2015-06-15 07:21:27 +10:00
Nyall Dawson
53218948b1 Add QgsGeometry::isEmpty to test if underlying geometry exists 2015-06-13 13:43:17 +10:00
Larry Shaffer
64e43f806a [processing] fix typo in ogrinfo process 2015-06-12 17:58:51 -06:00
Nyall Dawson
80cfbbf37e Add method to set QgsAbstractGeometry for QgsGeometry, add tests
for implicit sharing of QgsGeometry
2015-06-12 22:50:47 +10:00
Nyall Dawson
86a45d406b Tweak appearance of histogram titles and hide value title to make
more space for plot itself.
2015-06-12 20:19:43 +10:00
Nyall Dawson
604f7e5011 Add methods to test whether graduated ranges overlap or have gaps 2015-06-12 20:19:43 +10:00
Juergen E. Fischer
ec0e971c30 add missing sip bindings 2015-06-11 19:19:00 +02:00
Juergen E. Fischer
1749733702 fix crash when digitizing a part and adding it to a (cached) single part geometry 2015-06-11 15:37:18 +02:00
volaya
61698fc63c [processing] updated packaging tests 2015-06-11 09:28:49 +02:00
volaya
3f7b1824cd [processing] correctly handle multiple vector layers 2015-06-11 09:28:48 +02:00
Nyall Dawson
559d7bb943 [rastercalc] Rework raster calculator to use QGIS raster classes
...rather than reading input layers directly through GDAL.
Benefits include more robust handling of nodata/data type conversions,
less code duplication, also being able to take advantage of features
in QGIS raster code like handling gain/offset in rasters. (fix #12450)

Also, add a choice of output projection to the raster calculator.
Previously the output CRS would be taken from the first raster, with
no guarantees that the output extent matched the output CRS. This
resulted in empty/misplaced rasters. (fix #3649)
2015-06-10 21:45:37 +10:00
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
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
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
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
Salvatore Larosa
941107dfa4 [processing] add algorithm name to messagebar while running 2015-06-08 18:27:51 +02: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
624d142ec4 Fix bugs related to adding and removing geometry parts 2015-06-07 11:07:50 +02:00
pcav
faf3bcd0d6 Better output name for some SAGA Processing modules 2015-06-06 19:38:20 +02:00