26639 Commits

Author SHA1 Message Date
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
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
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
Juergen E. Fischer
581d7f8e70 postgres provider: fix retrieval of default values from other schemes (fixes #12447) 2015-03-25 19:23:39 +01:00
Hugo Mercier
4a52750a48 Allow provider-level filtering on layers with joined fields (fix conflicts) 2015-03-25 11:32:00 +01:00
Juergen E. Fischer
e21010c0c6 ftools: fix strings and add to translation (fixes #9970) 2015-03-24 21:59:55 +01:00
Juergen E. Fischer
7019db8831 raster calculator: add logarithmic functions 2015-03-24 20:59:18 +01:00
Juergen E. Fischer
6309dbd15b server: accept empty bbox as valid (followup 57046c5, fixes #12440) 2015-03-24 20:48:18 +01:00
Juergen E. Fischer
7469d2bbf0 dxf export: fix data defined outline color of simple markers 2015-03-24 14:14:18 +01:00
Juergen E. Fischer
80bbed1595 include qgslayerdefinition.sip in bindings 2015-03-24 13:19:03 +01:00
Martin Dobias
7bdc9c1939 Do not mark python plugins as broken in plugin installer when having dash in the name
Although plugin with a dash in the name is not a correct python package name,
the qgis python support recognizes them as valid plugins - so let's have the same
behavior in the installer.
2015-03-24 16:57:40 +07:00
Matthias Kuhn
4e6ba7bd46 Merge pull request #1960 from manisandro/nitpick
Don't store QGis::WkbType in int
2015-03-24 09:43:09 +01:00
Juergen E. Fischer
25e4e4d3d6 dxf export:
* switch to rgb colors only (fixes black/white issues)
* fix drawing of polygon outlines
* distiguish polygon outlines from filled polygons in paint engine (fixes
  #12368)
2015-03-23 21:43:29 +01:00
Juergen E. Fischer
45fbb3f5a9 update_ts.sh: include locations 2015-03-23 20:14:51 +01:00