29423 Commits

Author SHA1 Message Date
Hugo Mercier
d16cdcf449 Add more options for filtering legend elements
This introduces two new options to filter legend elements:
- filter by expression: a boolean expression can be set. Only symbols of
features that make the expression evaluated to true will be kept in the legend
- filter by polygon: only symbols of features that are inside the given
polygon will be part of the legend.

The polygon filtering is used in particular for a new option in the
composer legend that allows to filter out anything that is not included
in the current atlas polygon.
2015-11-03 10:39:09 +01:00
Denis Rouzaud
16def06daf use QGIS icon for custom widgets 2015-11-03 10:30:43 +01:00
Denis Rouzaud
75e8bdc9b6 add expression builder to custom widgets 2015-11-03 10:06:54 +01:00
Denis Rouzaud
1b170f99e6 set focus in code editor when showing expression builder 2015-11-03 10:06:54 +01:00
Nathan Woodrow
1b435ed965 [Py Console] Remove message on file change 2015-11-03 10:30:37 +10:00
rldhont
a9e567060d [QGIS-Server] Test: more ISO compatibility for WxS capabilities 2015-11-02 22:24:42 +01:00
Radim Blazek
f3d9e752b2 [GRASS] added (disabled) test for #13739 2015-11-02 19:42:54 +01:00
rldhont
67d541c619 [QGIS-Server] More ISO compatibility for WxS capabilities
* Add ISO keyword for the service
* Default Fees is conditions unknown
* Default AccessConstraints is None
* Calculate boundingBox for all CRSes
2015-11-02 17:41:41 +01:00
volaya
584c86d629 Merge pull request #2403 from medspx/processing_get_scripts_proxy
[Processing] Add proxy support for Get scripts and models (fixes #13412)
2015-11-02 13:29:43 +01:00
Landry Breuil
03eaafe603 Fix build on 32-bits archs using LL for large constants 2015-11-02 11:49:01 +01:00
Nyall Dawson
c445ac1eef Fix expression get_feature function was not fetching feature's
geometry

Fix #13695
2015-11-02 20:40:29 +11:00
Matthias Kuhn
353c0db745 Add test for filter expression on non provider fields 2015-11-02 10:13:31 +01:00
Nyall Dawson
dddd043491 Fix FilterExpression feature requests will ignore expression if
using virtual fields or other complex filters

refs #13695
2015-11-02 10:13:31 +01:00
Nyall Dawson
556d87a86c Fix some clang warnings 2015-11-02 18:07:16 +11:00
Nyall Dawson
4f7509530a Remove some unnecessary trailing ;
(Gets rid of annoying squiggle warnings from Qt Creator!)
2015-11-02 18:07:04 +11:00
Nyall Dawson
c968031955 Fix some reserved identifier macro names 2015-11-02 17:59:36 +11:00
Nyall Dawson
b7e1cae4f0 Switch double quoted single character to single quotes for some
QString methods

Using single quotes is a significant performance boost. Rough
benchmarks indicate the QString single quote methods take
about 15% of the time the double quote variants take.
2015-11-02 17:55:08 +11:00
Radim Blazek
c522bb1562 set digitized linestring/polygon features as valid 2015-11-01 21:03:03 +01:00
Radim Blazek
0ceeb512fb [GRASS] fixed new line attributes lost, fixes #13726 2015-11-01 21:02:22 +01:00
Radim Blazek
5f9611e37c [GRASS] add test for #13726 (new line attributes lost) 2015-11-01 21:01:23 +01:00
Radim Blazek
968e55cb11 [GRASS] fixed test 2015-11-01 20:24:14 +01:00
Radim Blazek
24960da08a [GRASS] set proj/zone on imported rasters, fixes #13725 2015-11-01 17:56:09 +01:00
Juergen E. Fischer
daa6510970 postgres provider: quote compound key columns in uri (fixes #13710) 2015-11-01 15:53:42 +01:00
Juergen E. Fischer
d3ee16ffd1 layer group node: copy properties of mutually exclusive groups (fixes #13723) 2015-10-31 19:25:01 +01:00
Nyall Dawson
2b17c2283d Add tests for get_feature expression function 2015-10-31 16:58:53 +11:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
Juergen E. Fischer
3a93ca62a9 fix precise build 2015-10-30 23:22:19 +01:00
Radim Blazek
16e902b3c1 [GRASS] coverity fixes 2015-10-30 11:20:21 +01:00
Radim Blazek
ad3efc06b1 wms: case insensitive check if url is WMTS 2015-10-30 09:37:56 +01:00
Juergen E. Fischer
7019a8ce12 fix windows build (followup 8993a4b) 2015-10-30 09:06:55 +01:00
Radim Blazek
8993a4bc38 increased transformBoundingBox() accuracy 2015-10-29 18:36:11 +01:00
Radim Blazek
1c22445323 fix raster projector src extent calculation, fixes #13665 2015-10-29 18:36:10 +01:00
Juergen E. Fischer
d9c8e73fa2 'fix' PyQgsRulebasedRenderer test (followup 08185c9a) 2015-10-29 15:21:05 +01:00
Juergen E. Fischer
80d0272bcd update INSTALL to reflect dependency on GEOS 3.4 (GEOSNearestPoint_r) 2015-10-29 14:25:15 +01:00
Juergen E. Fischer
51fe6329ae When reprojecting a layer in geo coordinates onto a canvas with a
projection that maps badly on it (ie. projecting the reprojected extent
back differs much from the input extent; eg. when using stereographic
projections), render the full layer (whole world).

Fixes #7596
2015-10-29 12:09:08 +01:00
Juergen E. Fischer
08185c9af4 render polygons with outline using drawPath (fixes #13343) 2015-10-29 12:08:54 +01:00
elpaso
ecaadef7eb Added const and Q_FOREACH instead of plain foreach 2015-10-29 09:36:46 +01:00
elpaso
d24f40c916 Added colorramps to the select by group export
This completes the fix #11681
2015-10-29 08:36:31 +01:00
Nyall Dawson
bcb7e44174 When deleting nodes from the end of a linestring, select the
final node following a delete rather than reverting to the first
node.

Improves workflow when deleting sequential nodes from end of
lines.
2015-10-29 17:01:38 +11:00
Nyall Dawson
ba1de8b5aa Fix crash when deleting last node in a geometry (fix #13674) 2015-10-29 17:01:38 +11:00
Nathan Woodrow
93facfd9bb Merge pull request #2407 from DelazJ/patch-2
fix 'serch' typo, replace with 'search'
2015-10-29 08:43:57 +10:00
Harrissou Sant-anna
636b0f9410 fix 'serch' typo, replace with 'search' 2015-10-28 19:06:34 +01:00
Alessandro Pasotti
feab3ad8ec Merge pull request #2405 from elpaso/symbol-export-select-by-group
Interactive selection by group of exported symbols
2015-10-28 18:22:40 +01:00
Juergen E. Fischer
6a4544fc4c fix fetching of redirected wms capabilities (followup e95bf6d) 2015-10-28 17:32:26 +01:00
elpaso
a141ffb390 Interactive selection by group of exported symbols
This fixes #11681
2015-10-28 17:31:21 +01:00
Juergen E. Fischer
406db65fee fix instant crash in browser data items.
Avoids passing references to potentially short living QStrings to threads

(followup 70bff3f)
2015-10-28 17:11:25 +01:00
volaya
2bb0cf9fad Merge pull request #2398 from mdouchin/patch-1
[processing] Debug ConcaveHull.py
2015-10-28 15:10:53 +01:00
volaya
b339ad13c8 Merge pull request #2399 from NaturalGIS/processing_fix_grass7_v_out_ogr
fix processing GRASS 7 v.out.ogr
2015-10-28 15:06:53 +01:00
Salvatore Larosa
c866dcce8f [pyqgis-console] fixes #13693: fix default value in settings for the last used directory when opening a script file 2015-10-28 14:52:29 +01:00
Richard Duivenvoorde
b931501e09 Merge pull request #2400 from anitagraser/patch-10
Update qgstipfactory.cpp
2015-10-28 14:08:19 +01:00