316 Commits

Author SHA1 Message Date
gsherman
48c2e16185 removed stale files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@524 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 21:01:11 +00:00
gsherman
5d3546d29f fixed maplayer plugin so it loads -- doesn't do anything useful
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:53:53 +00:00
gsherman
5810d67463 improved documentation and behavior of the example plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@522 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 20:22:02 +00:00
gsherman
cc8babb6e0 fixed bug that caused multiple properties dialogs to be displayed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@521 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 19:07:18 +00:00
gsherman
0f562a43a5 merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@520 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:26:15 +00:00
gsherman
fbb024a65f merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:17:13 +00:00
gsherman
8a0ebe7e83 updated to include plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 18:06:01 +00:00
gsherman
64d01ed8b2 merge with datasource branch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-19 17:59:42 +00:00
stevehalasz
600bd22c56 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/qgis@485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-15 20:37:15 +00:00
timlinux
f746f29019 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/qgis@477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 08:35:20 +00:00
timlinux
b4179af8ed Added sdts raster data to the fileopen dialog for new raster layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-14 07:25:39 +00:00
timlinux
3e7879ebd8 Last (hopefully) bugfix for serailisation of raster layer properties to project file.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 20:39:07 +00:00
timlinux
98fa046ea1 Small bugfix (fixes bug that caused blueBand to be mapped to gray).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@472 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 18:59:43 +00:00
timlinux
fe078b3a0e 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/qgis@471 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-13 15:15:31 +00:00
timlinux
44522118f7 Updated configure script.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 19:53:57 +00:00
timlinux
a90a1666a0 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/qgis@466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 16:39:22 +00:00
timlinux
cc7e84cca0 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/qgis@464 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-12 12:08:30 +00:00
timlinux
a9b7363a5f 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/qgis@458 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-11 13:57:36 +00:00
timlinux
81e0598b26 Added a splashscreen to on application startup.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@448 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-10 02:58:47 +00:00
timlinux
81f16ce478 Adjusted the advanced symbology so the gradients run diagonally bottom left to top right.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@447 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-10 00:26:09 +00:00
stevehalasz
933bc7a9ab 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/qgis@446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-09 21:17:21 +00:00
timlinux
16bd9a3eb0 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/qgis@442 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-07 17:52:25 +00:00
timlinux
6ca3313757 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/qgis@441 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-07 17:50:44 +00:00
stevehalasz
88ec7b11be adding debian files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@426 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-06 17:45:47 +00:00
gsherman
7e55786c8a **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/qgis@418 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-05 00:37:55 +00:00
gsherman
dacf90ce65 incremented version number
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-05 00:36:09 +00:00
timlinux
e3dd608295 Added behaviour group box on the advanced symbology tab.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 22:57:26 +00:00
timlinux
c0ad5280b2 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/qgis@415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 22:56:07 +00:00
stevehalasz
fe6b416590 add USGS ASCII DEM (*.dem) to add raster layer file dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@414 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 20:24:52 +00:00
timlinux
3f8e111c8a Added missing support for inverting histogram on non-pseudocolor grayscale layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 10:40:40 +00:00
timlinux
8df77f341c Modified add raster layer to only list tested datatypes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:40:05 +00:00
timlinux
0671c3179b 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/qgis@406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:36:18 +00:00
timlinux
7f800030e5 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/qgis@405 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-04 02:31:46 +00:00
timlinux
d3181c9103 Modified the makefile to build the new rasterproperties dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:31:17 +00:00
timlinux
6e56db0c5b 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/qgis@388 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:30:07 +00:00
timlinux
f68a3ec1e4 Modified the raster file selection dialog so that it now allows arc/info binary grid, arc/info ascii grid, geotiff, geo jpg and bil files to be selected. Because qfiledialog does not support behaviour for selecting either a directory of a file, arc info binary files need to be added by selecting any .adf file in the layer dir. Also because of this multiple arc/info grid files cannot be added at once.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@387 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:21:20 +00:00
timlinux
5e13f18a13 Initial commit of a new properties dialog for raster layers. This is just a skeleton at the moment - I will connect it up to the backend over the next couple of days.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@386 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 11:12:55 +00:00
gsherman
f1b7d423c1 added mapserver ui files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@385 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-01 01:16:30 +00:00
timlinux
64b42c110d Added support for grayscale tifs too.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@383 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-31 00:27:59 +00:00
stevehalasz
2cacc3ab4d icon for adding raster layer. save/restore raster layers in project files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@354 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-26 15:56:31 +00:00
stevehalasz
0362cc5010 display message if invalid file selected in raster file dialog (fixes bug 864748)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@342 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-23 15:30:39 +00:00
stevehalasz
40b8e31dbd recalculate full extent when removing a layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@329 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-17 19:25:29 +00:00
stevehalasz
5336af96e0 support RGB images
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@328 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-17 18:13:34 +00:00
stevehalasz
5a3f36e6ce read only the portion of the raster from file that is clipped to view window
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-17 16:06:03 +00:00
gsherman
8b8b20a566 update to configure to detect valid Qt version
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@323 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-10 03:54:22 +00:00
gsherman
d9e5417d3b updated for 0.0.13 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-09 06:16:41 +00:00
gsherman
312865695d update to libtool
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@321 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-06 05:36:06 +00:00
gsherman
90f2227143 updated version string to 0.0.13
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@320 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-06 04:21:07 +00:00
gsherman
57d0734be3 updated whats new
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@319 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-06 04:20:10 +00:00
gsherman
b7b8e4ac04 added descript to names identify looks for when trying to assign a key for displaying results
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@317 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-12-06 04:18:29 +00:00