Radim Blazek
212145d902
nodata per band, src nodata optional
2012-09-19 16:23:18 +02:00
Radim Blazek
24a047d283
raster sip fix for test unit
2012-09-13 15:08:23 +02:00
Tim Sutton
94c2e1cbb0
Transfer ownership of renderer to c++ in sip bindings when calling QgsRasterLayer.setRenderer and when passing shader to QgsSingleBandPseudoColorRenderer. Fixes crash experienced when using python bindings and replacing the shader or renderer of a raster.
2012-09-12 23:15:45 +02:00
Radim Blazek
9286429baa
- QgsRenderChecker moved to core + Python bindings
...
- raster transparency python test
2012-09-04 20:31:59 +02:00
Etienne Tourigny
b9ae061014
add raster stats to python bindings (many more functions missing)
2012-08-28 16:59:16 -03:00
Etienne Tourigny
eda71f5a9c
implement pyramids in raster save dialog ; improve pyramids creation ; remove pyramid-related stuff from qgsrasterlayer
2012-08-26 20:16:51 -03:00
Radim Blazek
de20264c31
Stats/histogram removed from raster layer
2012-07-27 11:48:09 +02:00
Marco Hugentobler
01cb95392f
Remove symbology related member variables and functions from raster layer
2012-06-22 17:47:37 +02:00
Radim Blazek
002384bd7f
Generic QgsDataSourceURI, WMS provider adapted to QgsDataSourceURI, enabled WMS drag-and-drop from browser
2012-06-14 11:53:46 +02:00
Marco Hugentobler
fd0a46a8d3
Python binding for raster renderer and resampler classes
2012-05-01 23:09:29 +02:00
Giuseppe Sucameli
c942ee4ad0
mark some methods as deprecated
2011-09-15 11:47:10 +02:00
timlinux
e23bd22977
Added zoom 1:1 to zoom bar, icon updates from robert. Disallow hist stretch for wms layers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@15460 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-13 11:51:40 +00:00
mhugent
2222397334
[FEATURE]: added reload method to map layers and provider interface. Like this, caching providers (currently WMS and WFS) can synchronize with changes in the datasource
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-20 11:27:12 +00:00
timlinux
96257034a9
Fix typo in raster enum for MultiBandsingleBandGray and kept old enum with identical value for backwards compatibility
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14042 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-10 16:02:27 +00:00
ersts
d5e0f6bffd
-Added a new option to the legend menu that will stretch the current layer using the min and max pixel values of the current extent
...
-Added a convenience function QgsRasterLayer::setMinimumMaximumUsingLastExtent that will set the min max of the current band or bands being displayed using the pixel values from the last extent
git-svn-id: http://svn.osgeo.org/qgis/trunk@14031 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-09 01:20:59 +00:00
wonder
84003c00cd
Raster shader fixes:
...
- memory leaks when changing shader functions
- PyQGIS: subclassing of raster shader function instances
- PyQGIS: transfer ownership of the shader function to c++
git-svn-id: http://svn.osgeo.org/qgis/trunk@14022 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-07 14:28:20 +00:00
wonder
9e14a2f67d
Fixed wrappers from QgsRasterLayer::computeMinimumMaximumFromLastExtent, computeMinimumMaximumEstimates
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@14017 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-06 12:37:49 +00:00
jef
3e6fb20ff5
[FEATURE] (re-?)add identifyAsHtml to raster layer and use it in identify
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@13467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-11 21:08:45 +00:00
jef
e5cf709dd3
another round of typo fixes (and use color instead of colour - like Qt; no string updates)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 16:14:24 +00:00
ersts
9fb83ca1a8
-Added ability to load min max values for enhancement based on current portion of the raster being displayed.
...
-GUI update and string changes.
-Closes enhancement ticket 2024
-Accomplished by caching the last QgsRasterViewPort, I see this as a bit of a work around rather than a real solution. The issue at hand is that the render context can only be provided by the map canvas so neither the layer itself nor an layer properties dialog has access to the render context.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12015 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-08 14:20:57 +00:00
jef
bac663a4cd
fix #1462
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9805 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-15 13:15:47 +00:00
jef
270fe71f75
new fix for #1162 restoring lost qml features
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-12-07 03:10:00 +00:00
ersts
8d970bf88c
-some adjustments to the raster API as suggested by Timlinux
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-06 15:16:08 +00:00
ersts
f46b458a78
-Major API changes applied to be consistent with the core
...
-Should only be minor updates if any to the raster classes from here on out
git-svn-id: http://svn.osgeo.org/qgis/trunk@9564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-05 22:44:50 +00:00
ersts
5cf0e49eae
-Delete outdated class QgsColorTable
...
-First round of API cleaning for raster classes (all but QgsRasterLayer)
git-svn-id: http://svn.osgeo.org/qgis/trunk@9560 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-11-01 18:36:02 +00:00
timlinux
6eb5e8ce1a
API cleanup for raster data provider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9539 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 22:31:31 +00:00
timlinux
7c318ead1a
API cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-24 11:00:31 +00:00
timlinux
1ca4f2365b
More api cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9495 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-19 19:20:42 +00:00
timlinux
8892abffb9
API Cleanups
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 18:50:42 +00:00
jef
81132173ff
apply patch for #1162 for timlinux
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9437 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-10-06 13:00:45 +00:00
ersts
d9f3afa4e9
-Prevent QgsRasterLayer::idenfity() from proceeding if the provider key is wms
...
-Change QgsRasterLayer::identify() to return a bool
git-svn-id: http://svn.osgeo.org/qgis/trunk@9414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-26 17:19:56 +00:00
jef
d660c6d9f7
fix #1312
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9311 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-12 23:48:55 +00:00
ersts
7defe5a0b8
-Commented out the ColorRampItemList from the sip files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9252 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-02 23:58:38 +00:00
ersts
767f4a3fb6
-Cleaning out references to obsolete class QgsColorTable
...
-Changed how Paletted bands are drawn as gray scale
-Added cache to QgsColorRampShader to speed up rendering time when using large color tables (still poor)
-Fixed small bug in rendering the palette as a pixmap
git-svn-id: http://svn.osgeo.org/qgis/trunk@9251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-09-02 23:29:44 +00:00
jef
db574063e5
cleanup cleanup
...
- remove method names from QgsDebugMsg calls as they are already included in the output
- replace filename with file name in strings and comments instead of fileName (same for layerName)
- fix debugging output in interpolation plugin
(QgsDebugMsg migration ate the last argument where std::flush was used)
- fix some common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@9150 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-24 14:07:06 +00:00
timlinux
ab85a37ff6
Follow Qt naming style: fileName instead of filename, layerName instead of layerName
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 19:55:27 +00:00
jef
31327f51fd
Merged rest of composer branch (9087-9115)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-23 09:19:49 +00:00
timlinux
c4437144a9
Use readXml, writeXml instead of readXML_,writeXML_
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@9026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-07 22:18:47 +00:00
timlinux
1a21e1856d
Fix for #605 - make building pyramids internally optional.
...
Also some ui cleanups to the pyramids part af raster props
git-svn-id: http://svn.osgeo.org/qgis/trunk@8968 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-08-01 19:13:47 +00:00
jef
41f62a8e3a
fix gcc 4.3 warnings, a gcc 4.3 compile error and a MSVC warning
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8666 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:35:32 +00:00
timlinux
0fa8024605
Implemented proxy support to be application global rather than set on a per connection basis
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8649 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-15 22:35:03 +00:00
ersts
c5d01dcb8b
-Removed some unneeded code for a freature that will not be in 1.0
...
-Added flags to indicate if min max values are actual computed values or estimates/userdefined
-Implemented the min/max estimate warning on gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@8629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-09 01:44:01 +00:00
timlinux
172c20e136
Dont artificially limit the raster types available. Note if you have a lot of gdal file types supported the file filter is very long. We need to find a sensible way to manage that.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8462 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-19 13:17:31 +00:00
wonder
127b6567de
changed std::map to QMap in QgsRasterLayer::identify(), updated PyQGIS
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 16:50:00 +00:00
mhugent
68cdb3abf4
Merge of rendercontext branch into trunk
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 08:13:05 +00:00
ersts
ce7c48f907
-Fixed problem restoring min max values from project file
...
-Closes ticket #945
-Added ability choose in the GUI to load estimated or actual min max values from the band
-Cleaned and reorganized raster properties gui a little
-Added a set default constrast enhancement option in gui that is persistent between sessions
-Closes ticket #1055 and #778
git-svn-id: http://svn.osgeo.org/qgis/trunk@8398 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-06 03:21:12 +00:00
wonder
f57987c558
added forgotten parameter
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@8036 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 14:18:02 +00:00
ersts
106fabd89b
-updated enums and respective functions to have undefined be initial value
...
-replaced some QT3 calls with QT4 calls in raster layer properties
-updated python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@8026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-22 01:22:18 +00:00
gsherman
c73ffbe699
Merge of raster transparency branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7926 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-11 06:38:10 +00:00
wonder
fd05e0c631
Some small updates to bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@7897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-09 23:20:31 +00:00