376 Commits

Author SHA1 Message Date
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
1f6ffcb027 Added convenience constructor for color ramp shader
git-svn-id: http://svn.osgeo.org/qgis/trunk@14023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-07 14:46:53 +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
d86ffa2571 add QgsAttributeAction::doAction to python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@14010 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-04 16:57:52 +00:00
borysiasty
b452bb882e fix compiling error
git-svn-id: http://svn.osgeo.org/qgis/trunk@14004 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-03 22:32:56 +00:00
jef
a97db4595e show wms get capabilities error
git-svn-id: http://svn.osgeo.org/qgis/trunk@14003 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-03 21:24:22 +00:00
mhugent
33194f8a6f [FEATURE]: data defined font and buffer settings for labeling-ng
git-svn-id: http://svn.osgeo.org/qgis/trunk@13998 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-02 15:09:17 +00:00
mhugent
c8edb3da7b Use floating point numbers for size and dpi. This is necessary to avoid distortions on devices where painter units are not pixels (e.g. graphics scene in print composer)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13995 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-02 08:44:52 +00:00
wonder
19506e9cdd [FEATURE] Added --configpath option that overrides the default path (~/.qgis) for user configuration and forces QSettings to use this directory, too.\
This allows users to e.g. carry QGIS installation on a flash drive together with all plugins and settings.

Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA].
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E)"


git-svn-id: http://svn.osgeo.org/qgis/trunk@13951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-21 13:12:47 +00:00
wonder
a96d3d7685 [FEATURE] Data-defined rotation and size for categorized and graduated renderer (symbology-ng)
Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA].
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E)"


git-svn-id: http://svn.osgeo.org/qgis/trunk@13946 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-20 13:59:09 +00:00
wonder
e9828f8ef3 Add a convenience constructor from QString to QgsSearchString
git-svn-id: http://svn.osgeo.org/qgis/trunk@13944 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-20 13:21:04 +00:00
wonder
8a34dd92c7 Added "$rownum" token to syntax of expressions. In field calculator it can be used for counting rows. The counter starts from 1. Outside field calculator it returns always zero.
Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA].
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E)"


git-svn-id: http://svn.osgeo.org/qgis/trunk@13941 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-20 10:39:25 +00:00
wonder
a2a985bbfb Support string concatenation using the standard sql concatenation operator ||
Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA].
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E)"



git-svn-id: http://svn.osgeo.org/qgis/trunk@13940 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-20 09:50:41 +00:00
wonder
e48766e5ec Fixed #2346 - allow quoting of column references using double quotes.
Quoting is done in both search query builder and search from attribute table.


git-svn-id: http://svn.osgeo.org/qgis/trunk@13754 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-20 15:52:54 +00:00
jef
a77476a4f3 fix #2815 - including more missing translation strings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13744 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-17 20:43:18 +00:00
wonder
0a4f1c5947 [FEATURE] Added rule-based renderer for symbology-ng.
Developed for Faunalia (http://www.faunalia.it) with funding from Regione Toscana -
Sistema Informativo per la Gestione del Territorio e dell' Ambiente [RT-SIGTA]".
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti QuantumGIS e Postgis (CIG 037728516E)



git-svn-id: http://svn.osgeo.org/qgis/trunk@13710 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-12 10:11:19 +00:00
wonder
03216df7f8 [FEATURE] manual adding of categories in symbology-ng. Patch contributed by Lynx, thanks!
+ added missing python bindings and fixed some issues.


git-svn-id: http://svn.osgeo.org/qgis/trunk@13601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-30 10:20:38 +00:00
jef
c410f69bf9 add length() and area() methods to QgsGeometry
and use it in labeling and zonal statistics


git-svn-id: http://svn.osgeo.org/qgis/trunk@13588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-29 11:03:30 +00:00
wonder
3b280fa705 Applied patch #2747 from Marco.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-29 10:32:56 +00:00
mhugent
c143ca1cb5 [FEATURE]: Load/save queries created in the query builder. Added method columnRefNodes() in qgssearchtreenode and added some consts
git-svn-id: http://svn.osgeo.org/qgis/trunk@13571 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-25 13:57:05 +00:00
jef
5ef374d419 [FEATURE] label only selected features (implements #2717)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13510 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-16 21:00:01 +00:00
jef
9dd9f36450 [FEATURE]
- save edits button added (implements #2579)
- subset option to layer menu (implements #2660)
- show selected feature count in status bar (implements #2708)
- temporary workaround for #2714
- refactored redundant code from legend to qgisapp:
  attribute table, save as, layer removal, layer properties
- some more cleanups



git-svn-id: http://svn.osgeo.org/qgis/trunk@13501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-16 14:44:42 +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
4b9ca010fd fix signal signature of QgsNetworkAccessManager::requestAboutToBeCreated
git-svn-id: http://svn.osgeo.org/qgis/trunk@13461 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-10 13:50:57 +00:00
jef
b0f0765ade emit signals before and after QgsNetworkAccessManager creates requests
git-svn-id: http://svn.osgeo.org/qgis/trunk@13453 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-09 21:35:31 +00:00
jef
4ab3c74592 resolve Qt 4.5 dependency
git-svn-id: http://svn.osgeo.org/qgis/trunk@13447 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-09 00:45:17 +00:00
jef
dec81b9095 fix sip bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13446 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-08 23:50:32 +00:00
jef
f6483e9df5 network manager changes:
- add QgsNetworkAccessManager to core as singleton
- add support for multiple proxy factories
- remove qgisNetworkAccessManager property hack
- python bindings

wms provider:
- use QgsNetworkAccessManager
- some precision changes



git-svn-id: http://svn.osgeo.org/qgis/trunk@13443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-08 19:16:21 +00:00
wonder
55eeb953e3 Added the possibility to use $area, $length when searching in attribute table.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-07 09:15:08 +00:00
wonder
b3e9ed7afd Added optional geometry parameter when evaluating predicates
git-svn-id: http://svn.osgeo.org/qgis/trunk@13433 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-07 08:39:37 +00:00
wonder
1981f60445 Do not force vector output by default (use only in composer map), enable setting of the flag
git-svn-id: http://svn.osgeo.org/qgis/trunk@13418 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-04 08:48:43 +00:00
wonder
c9d34fd8c7 PyQGIS: added missing annotation
git-svn-id: http://svn.osgeo.org/qgis/trunk@13417 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-03 21:02:05 +00:00
wonder
f3bd29d6f4 PyQGIS: Fixed wrappers for symbology-ng renderers (were claimed to be abstract classes)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13416 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-03 20:52:45 +00:00
jef
a53296cb05 fix sip 4.7 support
git-svn-id: http://svn.osgeo.org/qgis/trunk@13395 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-26 20:04:53 +00:00
wonder
313c107403 Added notes to newly added methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@13390 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-25 22:37:59 +00:00
wonder
02df126b90 [FEATURE] Data-defined size and rotation for single symbol renderer in symbology-ng. (ticket #2585)
Developed by for Faunalia (http://www.faunalia.it) with funding from Regione Toscana - Sistema Informativo per
la Gestione del Territorio e dell' Ambiente [RT-SIGTA]".
For the project: "Sviluppo di prodotti software GIS open-source basati sui prodotti
QuantumGIS e Postgis (CIG 037728516E)



git-svn-id: http://svn.osgeo.org/qgis/trunk@13389 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-25 22:32:53 +00:00
jef
7e2a10126f missed python binding to additional GEOS operators
git-svn-id: http://svn.osgeo.org/qgis/trunk@13372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-24 19:08:49 +00:00
wonder
962c8ddb4d Added python wrappers from QgsSymbolLayerV2Utils
git-svn-id: http://svn.osgeo.org/qgis/trunk@13353 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-23 15:20:24 +00:00
wonder
863f3b3371 Added QgsSearchTreeNode::referencedColumns() utility function.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-23 10:36:34 +00:00
wonder
63c295c547 [FEATURE] gradient color ramps now support multiple stops - for adding intermediate colors
git-svn-id: http://svn.osgeo.org/qgis/trunk@13333 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-20 12:25:42 +00:00
mhugent
61ecac3270 Move code to draw arrow head from composer arrow to composer item
git-svn-id: http://svn.osgeo.org/qgis/trunk@13328 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-19 14:30:59 +00:00
wonder
8c7a31d3af Applied patch from #2640: improved rendering of selected features (symbology-ng).
+ fixed font marker scaling for printing
Contributed by Chris Crook. Thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@13322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-18 17:30:11 +00:00
mhugent
f930a163df Remember last annotation form for a layer and store it in project
git-svn-id: http://svn.osgeo.org/qgis/trunk@13291 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-09 07:42:30 +00:00
jef
e1d82b1a82 spatialite improvements:
- support geometry column name
- remove unnecessary id field
- fix windows build
- better identifier quoting and utf-8 support
- update python binding
- fix some translation strings



git-svn-id: http://svn.osgeo.org/qgis/trunk@13250 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-05 17:16:25 +00:00
mhugent
8ee2e3cea0 Make default svg path configurable for third party apps
git-svn-id: http://svn.osgeo.org/qgis/trunk@13217 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-01 08:06:19 +00:00
jef
ae3d122853 [FEATURE] allow saving vector layers as ogr vector files
git-svn-id: http://svn.osgeo.org/qgis/trunk@13169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-27 00:38:59 +00:00
mhugent
c1ca74c830 don't forget the python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-21 21:27:20 +00:00
mhugent
d14a5e643a Apply patch #2452 (save as vector)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-18 22:24:18 +00:00
wonder
24b1c0b14e Added missing QgsGeometry::contains predicate.
Contributed by Jeremy Palmer (#2560).


git-svn-id: http://svn.osgeo.org/qgis/trunk@13065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-17 09:25:55 +00:00