gsherman
5ef84f645f
moved context menu to vectorlayer class
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 02:42:53 +00:00
gsherman
4948595173
get rid of configure since it needs to be generated
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@536 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 01:41:08 +00:00
timlinux
4a5de58a3c
Small change - forgot empty implementation after removing =0 from pure virtual functions.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@535 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:31:53 +00:00
timlinux
2c5f650246
Removed pure virtual method declarations where it did not make sense for raster layers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:21:18 +00:00
timlinux
c093bbd00d
Removed deprecated showgrayascolor tag.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:06:55 +00:00
timlinux
c467d49496
Added yours truly to authors list
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@532 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:04:35 +00:00
timlinux
94b996c93a
New style rendering where each of the 8 rendering algorithms has its own function:
...
SINGLE_BAND_GRAY, // a "Gray" or "Undefined" layer drawn as a range of gray colors
SINGLE_BAND_PSEUDO_COLOR,// a "Gray" or "Undefined" layer drawn using a pseudocolor algorithm
PALETTED_SINGLE_BAND_GRAY,// a "Palette" layer drawn in gray scale (using only one of the color components)
PALETTED_SINGLE_BAND_PSEUDO_COLOR, // a "Palette" layer having only one of its color components rendered as psuedo color
PALETTED_MULTI_BAND_COLOR, //a "Palette" image where the bands contains 24bit color info and 8 bits is pulled out per color
MULTI_BAND_SINGLE_BAND_GRAY, // a layer containing 2 or more bands, but using only one band to produce a grayscale image
MULTI_BAND_SINGLE_BAND_PSEUDO_COLOR, //a layer containing 2 or more bands, but using only one band to produce a pseudocolor image
MULTI_BAND_COLOR //a layer containing 2 or more bands, mapped to the three RGBcolors. In the case of a multiband with only two bands, one band will have to be mapped to more than one color
Please not that this is not all implemented and a lot of deuglification needs to takes place before this is properly useable. Watch this space over the next couple of days...
git-svn-id: http://svn.osgeo.org/qgis/trunk@531 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-20 00:03:17 +00:00
timlinux
ffd0e9fc88
Commented out deprecated showGrayAsColor serialiser/deserialiser for raster layer.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@530 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 23:58:58 +00:00
timlinux
de5ee27bc5
Repositioned status text and enlarged status font
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@529 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 23:02:33 +00:00
timlinux
ff5485cd32
Added splash screen to constructor
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 22:58:55 +00:00
timlinux
bbbf9eca7e
Moved splashscreen to constructor of qgisapp
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@527 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 22:58:20 +00:00
gsherman
6479c4535d
removed stale files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:09:33 +00:00
gsherman
e3040785fb
added maplayer plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@525 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:05:15 +00:00
gsherman
411df8112d
removed stale files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@524 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:01:11 +00:00
gsherman
42485ff36a
fixed maplayer plugin so it loads -- doesn't do anything useful
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:53:53 +00:00
gsherman
0b081b0f7c
improved documentation and behavior of the example plugin
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@522 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:22:02 +00:00
gsherman
cd47e246e3
fixed bug that caused multiple properties dialogs to be displayed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 19:07:18 +00:00
gsherman
5c44649581
merge with datasource branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@520 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:26:15 +00:00
gsherman
798e89a95b
merge with datasource branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:17:13 +00:00
gsherman
ab349de7a1
updated to include plugins
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:06:01 +00:00
gsherman
577f1f6d0d
merge with datasource branch
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 17:59:42 +00:00
stevehalasz
9f7a3a0c48
remove qgis dir since that is created when package is built
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@486 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-15 20:44:42 +00:00
stevehalasz
98561cb3c7
moving debian files out of qgis sources to allow updates to debian package without requiring new qgis release
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-15 20:37:15 +00:00
stevehalasz
f3b7f17473
Initial revision
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-15 20:26:25 +00:00
timlinux
304e078f15
Added accessors, mutators and members for red, green, blue and gray histogram clipping to rasterlayer, and linked up to advanced symbology tab on rasterproperties dialog. TODO - implement clippng algorithm, let properties dialog modify active clipping algorithm, update dtd and raster properties serialiser in project io.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 08:35:20 +00:00
timlinux
2afd35d5fb
Added sdts raster data to the fileopen dialog for new raster layers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 07:25:39 +00:00
timlinux
d686c59b72
Last (hopefully) bugfix for serailisation of raster layer properties to project file.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 20:39:07 +00:00
timlinux
8b1a2beba9
Small bugfix (fixes bug that caused blueBand to be mapped to gray).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@472 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 18:59:43 +00:00
timlinux
91be6185c3
First pass at raster layer properties persistance when saving project. This is still pretty buggy at the moment. Stand by for a bug fix update in the near future...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 15:15:31 +00:00
timlinux
50f0095c41
Updated configure script.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 19:53:57 +00:00
timlinux
4800fd32e2
Small bugfix to remove a signal handler for debug checkbox that had no associated implementation in ui.h
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 16:39:22 +00:00
timlinux
7482ccb215
This is a new addition to the raster implementation that allows debug info to be displayed as an overlay on the raster. Mainly useful for developers. Can be enabled / disabled using this gui. Links to screenshots below show what the debug output looks like.
...
Also carried out some minor refactoring to qgsrasterlayer.cpp.
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_debug_info.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_debug_info_properties.png
git-svn-id: http://svn.osgeo.org/qgis/trunk@464 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 12:08:30 +00:00
timlinux
9a6636fa77
You can now request a raster layer to provide its legend - using the getLegendQPixmap method which is returned as a QPixmap. At the moment it is displayed only on the raster properties dialog, but after the qgis_datasource branch is merged in, the legend pixmap will be shown in the legend sidebar. The legend pixmap is rendered (as opposed to a staticly defined images), and in future versions will reflect histogram settings (range constraints etc). Screenshots illustrating this patch available here:
...
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_grayscale.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_paletted.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_pseudocolor.png
git-svn-id: http://svn.osgeo.org/qgis/trunk@458 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-11 13:57:36 +00:00
timlinux
dfd71d8ab1
Added a splashscreen to on application startup.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@448 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-10 02:58:47 +00:00
timlinux
8bc3fbdf20
Adjusted the advanced symbology so the gradients run diagonally bottom left to top right.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@447 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-10 00:26:09 +00:00
stevehalasz
590d4f3841
Store layer order correctly in project files. Don't store z position in
...
QgsMapLayer anymore. Just use zOrder list in QgsMapCanvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk@446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-09 21:17:21 +00:00
timlinux
8b7cc83e8d
Added support for grass data! You need to have built your gdal library against libgrass for this to work. New entry in the raster file dialog. I also changed the raster file dialog so that it remembers the last directory you were in on subsequent use.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@442 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-07 17:52:25 +00:00
timlinux
a9399d9aa3
Added null pointer check for color map entries on paletted layers - this was causing segfaults on some grass data. There is no guarantee that a paletted image has a color map entry for every cell! We now support grass rasters with the associated commit for qgisapp.cpp coming straight after this commit.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@441 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-07 17:50:44 +00:00
stevehalasz
400277c537
adding debian files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@426 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-06 17:45:47 +00:00
gsherman
2a0c5e0198
**Updated whats new section for 0.0.14
...
**Added All Rasters filter to the add raster dialog
**Fixed broken properties dialog for Database layers (temporary until datasourcebranch is merged)
git-svn-id: http://svn.osgeo.org/qgis/trunk@418 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-05 00:37:55 +00:00
gsherman
2a592de90c
incremented version number
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-05 00:36:09 +00:00
timlinux
186075c237
Added behaviour group box on the advanced symbology tab.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 22:57:26 +00:00
timlinux
3b351bcb6a
Fixed the rather broken algorithm for creating gradients on the advanced symbology tab.
...
Added text overlay on each color preview showing the range selected.
Note the gui now works ok, but I have to implement the application logic for this behaviour still.
git-svn-id: http://svn.osgeo.org/qgis/trunk@415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 22:56:07 +00:00
stevehalasz
c8c8571bcc
add USGS ASCII DEM (*.dem) to add raster layer file dialog
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 20:24:52 +00:00
timlinux
581a6a77d7
Added missing support for inverting histogram on non-pseudocolor grayscale layers.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 10:40:40 +00:00
timlinux
ee6f7604c5
Modified add raster layer to only list tested datatypes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:40:05 +00:00
timlinux
e2250567a4
First working version of raster properties dialog. The dialog allows control over band<->color mappings, transparency, histogram inversion and provides some statistics.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:36:18 +00:00
timlinux
314887b8a1
Added transparency, histogram inversion for non pseudomapped grayscale and paletted layers.
...
Added alternate band mapping capability for paletted layers.
Added variable stats calculation for paletted layers.
Various other small changes and code cleanups.
git-svn-id: http://svn.osgeo.org/qgis/trunk@405 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:31:46 +00:00
timlinux
13a385eb7c
Modified the makefile to build the new rasterproperties dialog.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:31:17 +00:00
timlinux
72bce087c4
Added support for 'undefined' color interps - which are treated as grayscale and have a pseudocolor color ramp assigned.
...
The above allows arc/info grid and ascii grid layers to be rendered.
Added pseaudo color ramp builder for grayscale images.
Added routine to build stats for bands (this is disabled for rgb layers because of performance issues).
Stats include, minval, maxval, range, sum of squares, mean, std deviation.
Added logic to constrain greyscale & undefined histogram to n standard deviations.
Added logic to invert histogram for grayscale and undefined.
Currently these behaviours are hard coded in the constructor, but will make them available from the new rasterproperties dialog soon.
git-svn-id: http://svn.osgeo.org/qgis/trunk@388 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:30:07 +00:00