26650 Commits

Author SHA1 Message Date
Paolo Cavallini
b90e7f41fc Update CatchmentArea(Recursive).txt 2015-04-08 10:19:10 +02:00
Nyall Dawson
ccfe557cbe Fix DPI scaling issue with paint effects and composer 2015-04-08 05:54:45 +10:00
Juergen E. Fischer
d6e22af949 postgres data items: don't set srid for geometryless layers 2015-04-07 17:54:51 +02:00
Juergen E. Fischer
12d7cfca03 indentation update 2015-04-07 14:27:39 +02:00
Juergen E. Fischer
5e7c043f9f remove duplicate includes
git grep -l "#include" src/ | while read f; do grep "#include" $f | sort | uniq -d |sed -e "s@^@$f:@"; done
2015-04-07 13:27:35 +02:00
Nyall Dawson
fcaf5600f2 Optimise some headers for compile speed 2015-04-07 19:27:44 +10:00
Radim Blazek
7d4eb8bce3 [GRASS] multi version build 2015-04-07 11:05:10 +02:00
Sandro Santilli
892f142e28 Merge pull request #1972 from naihil/rubberband-visibility-fix
Don`t change current visibility flag of rubberband on updates
2015-04-07 10:47:29 +02:00
Juergen E. Fischer
f055db1e02 map canvas: update sip bindings (followup c3321e5) 2015-04-04 23:57:43 +02:00
Juergen E. Fischer
be12c19e66 db manager: fix setting of contrast enhancement for spatialite rasters (fixes #12497) 2015-04-04 23:38:14 +02:00
Juergen E. Fischer
ffa2ead51d fix translation string 2015-04-04 13:28:07 +02:00
Juergen E. Fischer
97572244dc postgres provider: also apply filterWhereClause to feature iterators (fixes #12499 & #12500) 2015-04-02 17:47:08 +02:00
Marco Hugentobler
e16ebfa56a Fix typo 2015-04-02 17:31:24 +02:00
Marco Hugentobler
e4e4839823 Add checkbox to only load wfs features intersecting the current canvas extent. Funded by Sourcepole QGIS Enterprise 2015-04-02 17:28:26 +02:00
Anatoliy Golubev
6850ce6205 Fix QgsRubberBand visibility behavior
Visibility behavior stays the same as in QGIS 2.6
Test included
2015-04-02 14:47:57 +03:00
rldhont
c3321e5d62 [BUGFIX] Update DatumTransformInfo on layerCrsChanged
The QgsMapCanvas datumTransformInfo is not updated after a layerCrsChanged.
 This causes a bug in QGIS-Server which does not use the right srcAuthId.

To update QgsMapCanvas datumTransformInfo, the user had to change the map
 canvas CRS or to disable/enable transform.

This patch add a SLOT to the QgsMapLayer layerCrs Changed SIGNAL to update
 QgsMapCanvas datumTransformInfo.
2015-04-02 09:05:21 +02:00
Alexander Bruy
ba73048dc2 [processing] median calculation for zonal statistics 2015-04-02 09:49:55 +03:00
Alexander Bruy
ed4fe88dbf Merge branch 'ftools-enhancements' 2015-04-02 09:49:38 +03:00
Alexander Bruy
9b83b53c79 minor fixes 2015-04-02 09:35:52 +03:00
Alexander Bruy
f0053b820e Merge branch 'master' of https://github.com/gbd-consult/QGIS into ftools-enhancements
Conflicts:
	python/plugins/fTools/tools/doPointsInPolygon.py
2015-04-02 08:56:24 +03:00
Anatoliy Golubev
f11fdb044e Don`t change current visibility flag of rubberband on updates 2015-04-01 13:33:52 +03:00
Sandro Santilli
a844bfa174 Recompute rubberband extent on zoom/pan
Fix #12392
Includes testcase
2015-04-01 12:25:30 +02:00
Sandro Santilli
84d47c9cf0 Scale icon and pen width with rubberband when computing rect
Restores full 2.6 compatibility
2015-04-01 12:25:30 +02:00
Anatoliy Golubev
d43d8bf597 Fix invalid calculation of rubberband boundingRect 2015-04-01 12:25:30 +02:00
Radim Blazek
5e6ca2efac [GRASS] mutex function called by browser item (fixes crash in simultaneous loading, e.g. state restore) 2015-04-01 09:42:46 +02:00
Matthias Kuhn
52fe2dec83 Set useGui on Android 2015-03-31 23:03:30 +02:00
Radim Blazek
b3e5544579 [GRASS] fix crash in browser when opening GRASS 6 mapset with GRASS 7 2015-03-31 16:24:30 +02:00
rldhont
eb5717d539 [BUGFIX] In WFS GetFeature joined fields not are not returned
In the WFS GetFeature Request, the joined fields are not returned. It's due to
 the use of provider instead of layer to retrieve all fields.

The correction is to use layer->pendingFields() and layer->pendingAllAttributesList()
2015-03-30 21:15:45 +02:00
Juergen E. Fischer
b6a419439e dxf export: either use rgb or palette color (followup 9961095) 2015-03-30 17:23:46 +02:00
Matthias Kuhn
94dda441c5 ValueRelation autocompleter: case insensitivity 2015-03-30 10:53:03 +02:00
Nathan Woodrow
5f1ed3582d Merge pull request #1932 from ccrook/Field_calculator_expression_fix
Fix #12257 - allow creation of expression field on delimited text layer
2015-03-30 09:16:55 +10:00
Matthias Kuhn
1cce091e17 [FEATURE] Add lineedit with autocompleter for ValueRelation edit widget 2015-03-29 19:47:23 +02:00
Nyall Dawson
08d4d3bad5 Add apply button to label properties dialog 2015-03-29 20:30:32 +11:00
Nyall Dawson
bdcfa0113d UI Improvements to label properties dialog
Add scroll area, collapsible group boxes so the dialog isn't so
oversized.
2015-03-29 20:28:41 +11:00
Nyall Dawson
ea2c674281 Add handling of null values to some widgets in label properties
This allows clearing the data defined values for these properties,
which nulls their attribute value and resets the property for
that label to the layer's default value.
2015-03-29 20:28:29 +11:00
Nyall Dawson
727ef9b557 Initially populate label properties dialog with data defined results
...even if the data defined property is set to an expression. Although
the values can't be altered for expression based properties, it's
still valuable to show the actual evaluated value for these
properties (for troubleshooting data defined expressions, etc).
2015-03-29 20:28:14 +11:00
Nyall Dawson
0071593bd2 More QgsUnitSelectionWidget cleanups 2015-03-29 20:20:41 +11:00
Nyall Dawson
8b37ea2b05 [FEATURE] Add option to symbology to prevent clipping of features
This option (located under the symbol advanced menu) disables the
automatic clipping of lines/polygons to the canvas extent. In
some cases this clipping results in unfavourable symbology (eg
centroid fills where the centroid must always be the actual
feature's centroid). (fix #9757)
2015-03-28 21:16:45 +11:00
Nyall Dawson
742f3233ee [FEATURE] Paint effects for layers and symbol layers
This commit adds a new framework for implementing paint effects, which
modify the results of QPainter operations to apply visual effects
such as drop shadows and blurs.

The initial implementation allows for effects to be applied to entire
layers and individual symbol layers.

Included are a drop shadow, inner shadow, blur, inner glow, outer glow,
colorise and transform effect. A "stack" effect is also implemented
which allows other paint effects to be combined in various ways.

Sponsored by hundreds of generous kickstarter contributors!
2015-03-28 20:04:50 +11:00
Nyall Dawson
fe2db5261c Possible fix for placement of labels with offset from point mode and rotation (refs #12217) 2015-03-28 19:14:49 +11:00
Juergen E. Fischer
9961095081 dxf export:
* reinstate palette colors, but exclude black/white
* fix hatch transparency
* fix active (initial) v(iew)port
2015-03-27 23:49:47 +01:00
Matthias Kuhn
264c0ec32a Add unit tests for virtual fields 2015-03-27 14:12:03 +01:00
Matthias Kuhn
c44285ba04 Make virtual fields updatable
Fix #11547
Fix #10994
2015-03-27 14:12:03 +01:00
Matthias Kuhn
7905f7f93f Show current expression of virtual fields 2015-03-27 14:12:02 +01:00
Matthias Kuhn
733b7c9c8d Add filter chaining to the pre-filters of the relation reference wdg 2015-03-26 16:48:18 +01:00
Matthias Kuhn
868eeb27c8 Add pre-filters to relation reference widget 2015-03-26 16:48:18 +01:00
Matthias Kuhn
c5a4ea56b1 Add "filter fields" configuraiton option to relation reference widget 2015-03-26 16:48:17 +01:00
Matthias Kuhn
5b5f16e8ff Merge pull request #1964 from mhugo/fix_querybuilder_joins2
Allow provider-level filtering (subset string) on layers with joined fields
2015-03-26 11:27:12 +01:00
Nyall Dawson
837c7ee8d3 [composer] Don't redraw map if layers change and map is set to cached
Previously map was being redrawn every time a layer was added or
removed from the registry, which blocked the ui until the map
redraw is complete.

Now the map will only be redrawn as a result of layer changes
if it's set to Render mode.

Possible fix for 12234 and 12125. (refs #12234, #12125)
2015-03-26 10:58:19 +11:00
Nyall Dawson
012ee0b414 [composer] Smaller step for attribute table spin widgets 2015-03-26 10:55:20 +11:00