Skip to content

Commit dcabe17

Browse files
author
gsherman
committed
Merge of raster transparency branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7926 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5c135f6 commit dcabe17

23 files changed

+6082
-3273
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PROJECT(qgis0.9.2)
1+
PROJECT(qgis0.9.1-raster)
22

33
# TODO:
44
# - install includes for libs

debian/changelog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<<<<<<< .trabalho
2+
qgis (0.9.1raster+svn20071111) gutsy; urgency=low
3+
4+
* Initial test build for gutsy
5+
6+
-- Tim Sutton <tim@linfiniti.com> Sun, 11 Nov 2007 13:20:54 -0200
7+
8+
=======
19
qgis (0.9.1) gutsy; urgency=low
210

311
* This is a bug fix release
@@ -10,6 +18,7 @@ qgis (0.9.1) gutsy; urgency=low
1018

1119
-- Tim Sutton <tim@linfiniti.com> Fri, 07 Dec 2007 01:36:55 -0200
1220

21+
>>>>>>> .mesclagem-direita.r7786
1322
qgis (0.9.0) gutsy; urgency=low
1423

1524
* Quantum GIS 0.9.0 'Ganymede' release

debian/files

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
qgis_0.9.0_i386.deb science extra
2-
libqgis1_0.9.0_i386.deb science extra
3-
libqgis1-dev_0.9.0_i386.deb science extra
4-
qgis-plugin-grass_0.9.0_i386.deb science extra
1+
qgis_0.9.1raster+svn20071111_i386.deb science extra
2+
libqgis1_0.9.1raster+svn20071111_i386.deb science extra
3+
libqgis1-dev_0.9.1raster+svn20071111_i386.deb science extra
4+
qgis-plugin-grass_0.9.1raster+svn20071111_i386.deb science extra

debian/rules

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ CMakeCache.txt: CMakeLists.txt
3030
# Add here commands to configure the package.
3131
uudecode -o $(CURDIR)/src/plugins/georeferencer/pencil.png $(CURDIR)/debian/pencil.uu
3232
cmake -D CMAKE_INSTALL_PREFIX=/usr \
33-
-D GDAL_INCLUDE_DIR=/usr/include/gdal \
34-
-D GDAL_LIBRARY=/usr/lib/libgdal1.3.2.so \
3533
.
3634

3735
build: patch build-stamp

python/core/core.sip

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
%Include qgscolortable.sip
1515
%Include qgscontexthelp.sip
1616
%Include qgscontinuouscolorrenderer.sip
17+
%Include qgscontrastenhancement.sip
18+
%Include qgscontrastenhancementfunction.sip
1719
%Include qgscoordinatetransform.sip
1820
%Include qgsdataprovider.sip
1921
%Include qgsdatasourceuri.sip
@@ -39,6 +41,9 @@
3941
%Include qgsrasterdataprovider.sip
4042
%Include qgsrasterlayer.sip
4143
%Include qgsrasterpyramid.sip
44+
%Include qgsrastershader.sip
45+
%Include qgsrastershaderfunction.sip
46+
%Include qgsrastertransparency.sip
4247
%Include qgsrasterviewport.sip
4348
%Include qgsrect.sip
4449
%Include qgsrenderer.sip

python/core/qgsrasterbandstats.sip

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ class QgsRasterBandStats
1212
/** \brief The name of the band that these stats belong to. */
1313
QString bandName;
1414
/** \brief The gdal band number (starts at 1)*/
15-
int bandNoInt;
15+
int bandNo;
1616
/** \brief A flag to indicate whether this RasterBandStats struct
1717
* is completely populated */
1818
bool statsGatheredFlag;
1919
/** \brief The minimum cell value in the raster band. NO_DATA values
2020
* are ignored. This does not use the gdal GetMinimum function. */
21-
double minValDouble;
21+
double minVal;
2222
/** \brief The maximum cell value in the raster band. NO_DATA values
2323
* are ignored. This does not use the gdal GetMaximmum function. */
24-
double maxValDouble;
24+
double maxVal;
2525
/** \brief The range is the distance between min & max. */
26-
double rangeDouble;
26+
double range;
2727
/** \brief The mean cell value for the band. NO_DATA values are excluded. */
28-
double meanDouble;
28+
double mean;
2929
/** \brief The sum of the squares. Used to calculate standard deviation. */
30-
double sumSqrDevDouble;
30+
double sumSqrDev;
3131
/** \brief The standard deviation of the cell values. */
32-
double stdDevDouble;
32+
double stdDev;
3333
/** \brief The sum of all cells in the band. NO_DATA values are excluded. */
34-
double sumDouble;
34+
double sum;
3535
/** \brief The number of cells in the band. Equivalent to height x width.
3636
* TODO: check if NO_DATA are excluded!*/
37-
int elementCountInt;
37+
int elementCount;
3838
/** \brief Store the histogram for a given layer */
3939
typedef QVector<int> HistogramVector;
4040
//HistogramVector * histogramVector;

0 commit comments

Comments
 (0)