83 Commits

Author SHA1 Message Date
Nyall Dawson
576875e998 Followup 320c696 use clang-modernize to replace 0/NULL use with nullptr 2015-12-15 11:24:51 +11:00
Nyall Dawson
c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Nyall Dawson
ccdf452ef4 [raster] Fix unintentional int overflow 2015-02-15 13:40:38 +11:00
Juergen E. Fischer
82b6e0342a cosmetic cleanups, typo fixes, formatting 2014-10-21 01:33:20 +02:00
Martin Dobias
e8d80a36de Fix #10663 (additional nodata value pixels not transparent) 2014-06-22 23:20:17 +07:00
D'Hont René-Luc
07c57585c1 [RASTER][Feature] Applying scale and offset to raster data - funded
Ifremer

An issue has been opened 5 mounth ago
[BUG] #8417 incorrect value loaded from netcdf file
The data has not be loaded incorrectly, but QGIS doesn't apply scale
and offset defined for each band.

This commit will apply scale and offset to GDAL Provider BandStatistics
and to RASTER block of data.

It also adds bandScale and bandOffset method to QgsRasterDataProvider Python API.
2014-05-15 16:55:30 +02:00
Radim Blazek
47b055f5a6 introduced qgssize in rasters instead of size_t to typedef it easily in SIP 2013-11-02 13:52:45 +01:00
Artem Popov
069bf37312 Fix untranslatable string in QgsRasterDataProvider 2013-08-03 10:08:39 +02:00
Radim Blazek
a2fc3b42aa set correctly raster block nodata if layer extent or resolution is smaller than requested, fixes #7209 2013-05-30 16:56:23 +02:00
Radim Blazek
229419ee13 raster cleanup 2013-04-29 17:29:29 +02:00
Radim Blazek
5533d571c8 common raster enums moved to raster namespace 2013-04-24 17:18:33 +02:00
Juergen E. Fischer
157024038c fix windows build 2013-04-17 08:54:28 +02:00
Radim Blazek
22e54b9210 raster cleanup 2013-04-16 20:06:10 +02:00
Radim Blazek
c000ded9e6 raster cleanup 2013-04-16 16:14:12 +02:00
Radim Blazek
1f65f71833 raster cleanup 2013-04-15 15:52:15 +02:00
Radim Blazek
5280e212ec raster no data speed up 2013-04-13 16:42:21 +02:00
Radim Blazek
f40e3a6fea renamed doubleNear to qgsDoubleNear, QgsMalloc to qgsMalloc, QgsCalloc to qgsCalloc, QgsFree to qgsFree 2013-04-12 19:20:31 +02:00
Radim Blazek
19377fbb8d raster no data value made optional 2013-04-12 18:56:36 +02:00
Radim Blazek
094a5d8275 QgsRasterBlock::Range to QgsRasterRange 2013-04-10 18:58:19 +02:00
Radim Blazek
a3de4c4e0a Added QgsRasterIdentifyResult 2013-04-08 18:26:26 +02:00
Radim Blazek
50d4bb6d4d WMS identify feature support - get vector features from GML GetFeatureInfo 2013-02-06 15:14:16 +01:00
Etienne Tourigny
2fb78db2b5 update raster format and pyramid save widgets for python, add pyramid config options support to raster writer, other fixes 2013-01-18 18:18:47 -02:00
Radim Blazek
d58d3476c0 raster creation moved from QgsGdalProvider::create() to GDAL provider extern C function 2012-12-20 14:44:10 +01:00
Radim Blazek
76115ec886 Raster statistics and histogram moved from QgsRasterDataProvider to QgsRasterInterface 2012-12-17 18:29:08 +01:00
Radim Blazek
d435bfc876 QgsRasterBlock::DataType moved to QGis::DataType 2012-12-17 14:04:10 +01:00
Marco Hugentobler
968c6d81f3 Set nodata values in raster block 2012-12-14 08:39:14 +01:00
Radim Blazek
df85492c40 raster identify context, QVariant values, enables wcs caching and makes wms more robust 2012-10-17 14:51:35 +02:00
Radim Blazek
5a6401c983 VSI/CPLMalloc/Free replaced by QgsMalloc/Free where feasible 2012-10-16 11:10:43 +02:00
Radim Blazek
6b55ee4fa0 undersampling if possible in QgsRasterDataProvider, multicolor widget loadMinMax fix 2012-10-16 10:34:34 +02:00
Radim Blazek
7cb523a26f + QgsRasterBlock 2012-10-11 16:12:09 +02:00
Radim Blazek
6d75d20b51 core raster files moved to core/raster 2012-10-09 11:49:05 +02:00