25785 Commits

Author SHA1 Message Date
Martin Dobias
3ce9c70cc4 Merge pull request #1755 from wonder-sk/multiple-styles
[FEATURE] Support for multiple styles per map layer

Available in legend context menu in Styles sub-menu where it is possible to add/remove styles
and quickly switch between them.
2015-01-07 21:50:25 +07:00
Sandro Santilli
0b954c10f0 Reduce debug noise 2015-01-07 15:41:59 +01:00
Matthias Kuhn
790916b28e Don't quote column names for MIN and MAX for ogrsql
See https://trac.osgeo.org/gdal/ticket/5799#comment:9

Fixes #11887
2015-01-07 14:59:00 +01:00
Matthias Kuhn
1f8dee0caf Don't consider NULL values for minimumValue() and maximumValue()
Fix #11887
2015-01-07 14:47:49 +01:00
Martin Dobias
2144be0ac1 Add Python bindings for map layer style manager 2015-01-07 20:15:11 +07:00
Martin Dobias
f00f4fd7cd Style manager code cleanups 2015-01-07 19:55:25 +07:00
Martin Dobias
43d60424fe Support for reading/writing additional styles for layers 2015-01-07 19:15:07 +07:00
Martin Dobias
19b728173a Fix cleanup of the style GUI utils singleton 2015-01-07 18:01:42 +07:00
Martin Dobias
edf3ebb88d Improve the Styles menu in legend context menu 2015-01-07 17:46:40 +07:00
Martin Dobias
547d018938 Added a GUI utility class to support multiple styles per map layer 2015-01-07 17:14:16 +07:00
Martin Dobias
829f99b0b8 Initial core work on multiple styles per layer 2015-01-07 14:17:18 +07:00
Matthias Kuhn
8294a22d40 Fix customwidgets build for Qt4 2015-01-06 17:22:36 +01:00
Denis Rouzaud
d8acc55a49 Fix Qt5 build for custom widgets 2015-01-06 17:03:27 +01:00
Matthias Kuhn
664efe9d5b Print version when building with Qt5 2015-01-06 09:01:57 +01:00
Nyall Dawson
1a46c40a74 Port a bunch of CRS selectors across to QgsProjectionSelectionWidget 2015-01-06 13:46:16 +11:00
Nyall Dawson
79338473d7 Small fixes to QgsProjectionSelectionWidget
Add API docs, const correctness, method for getting CRS, tab order
fixes.
2015-01-06 10:26:45 +11:00
Sandro Santilli
077eb6ca08 Simplify zoom-by-rect handling, to set zoom factor and center
Basically avoids using the now loosly defined "extent" concept.
Enhances zooming experience with rotated maps.
2015-01-05 20:22:42 +01:00
Matthias Kuhn
0afdedeb02 Expand size of RelationReference when custom .ui is defined with a QWidget
Fix #11698
2015-01-05 17:32:50 +01:00
Matthias Kuhn
48b1fc6691 Empty relation reference form when FK is set to NULL
Fix #11852
2015-01-05 16:01:53 +01:00
Matthias Kuhn
4d88ca7093 Fix warnings and small api doc improvement 2015-01-05 13:19:48 +01:00
Denis Rouzaud
bb16a44461 add QgsProjectionSelectionWidget to custom widgets 2015-01-05 11:41:50 +01:00
Denis Rouzaud
07c41fd282 add SIP for QgsProjectionSelectionWidget 2015-01-05 11:41:50 +01:00
Denis Rouzaud
5e670ff7b3 use custom widget for projection selection in options 2015-01-05 11:41:50 +01:00
Denis Rouzaud
f68cd5ea40 dedicated class for projection selection widget 2015-01-05 11:41:50 +01:00
Matthias Kuhn
df2cac7640 Merge pull request #1743 from naihil/master
[Qt5-compat] Change Q_WS_* macroses to Q_OS_*
2015-01-05 09:56:15 +01:00
Juergen E. Fischer
b905f6bb79 remove unused define (followup 841af773e) 2015-01-04 21:05:00 +01:00
Nyall Dawson
b396af0e37 Merge pull request #1751 from andreabedini/patch-1
Remove unused variable
2015-01-05 06:43:07 +11:00
Juergen E. Fischer
841af773e3 remove (outdated) internal spatialite 2015-01-04 16:18:01 +01:00
Sandro Santilli
41da5c35f8 Fix handling of rotation in partial-rendering of map (#11909) 2015-01-04 12:47:41 +01:00
Andrea Bedini
fbe755111a Remove unused variable 2015-01-04 17:27:38 +11:00
Juergen E. Fischer
2418ec7e87 fix windows build 2015-01-04 03:34:26 +01:00
Sandro Santilli
dee9c462e9 Fix feature highlight in presence of rotation (#11815) 2015-01-03 21:02:01 +01:00
Sandro Santilli
df49538298 Fix select by rectangle and by point in presence of rotation
Closes http://hub.qgis.org/issues/11865
and http://hub.qgis.org/issues/11930
2015-01-03 17:24:39 +01:00
Sandro Santilli
d7269595e1 Consider rotation in rubberband placement
Fixes artifacts on zoom by rectangle (#11910) and placement of
measure tool rubberband.
2015-01-03 17:08:58 +01:00
Sandro Santilli
888a9f0bfc Consider rotation in pre-rendering display of map items
See http://hub.qgis.org/issues/11909
2015-01-03 09:46:58 +01:00
Sandro Santilli
4d449f17cb Update sip bindings for QgsMapCanvasItem (after const-correctness) 2015-01-03 09:23:34 +01:00
Juergen E. Fischer
6f8f66eb49 indentation update 2015-01-03 01:50:39 +01:00
Sandro Santilli
0882e9ed3c const correct toMapCoordinates and toCanvasCoordinates 2015-01-02 23:54:28 +01:00
Sandro Santilli
dd957d97d3 Drop temporary solution for WMS legend (double-click in legend)
Now WMS legend is shown in layertree this isn't needed anymore.
See http://lists.osgeo.org/pipermail/qgis-developer/2014-December/036065.html
2015-01-02 23:31:01 +01:00
Sandro Santilli
7b6f28ce2f Specify that QgsMapCanvasItem::setRect/rect use map units 2015-01-02 21:29:52 +01:00
rldhont
2f75c3c884 [QGIS-Server][BUGFIX] GetLegendGraphics set layername
To have title instead of name in server getlegendgraphic response, the commit
 bb95a0f43a53602bd7ad1ea6783d251755c66019 update getlegendgraphic to set the
 tree layer name. This update set the layer name with layer title.

To fix it, I just store the layers name and reset them at the end of
 GetLegendGraphic request.
2015-01-02 14:50:45 +01:00
Nathan Woodrow
49d864f4fc Merge pull request #1735 from strk/wmslegend
Add support for map-contextual WMS legend
2015-01-02 23:40:49 +10:00
Nathan Woodrow
c0b94cf2bf Merge pull request #1744 from rldhont/expression_get_transform_geom
[FEATURE] Add get and trasnform geometry in Expression
2015-01-02 23:16:15 +10:00
rldhont
a0ffad2532 [FEATURE] Add get and transform geometry in Expression
In version 2.6, new keywords has been added to Expression :
* $currentfeature - returns the current feature
* $atlasfeature - returns the atlas feature
* getFeature - gets a matching feature from a layer

But I think, Expression lacks a few keywords :
* geometry - returns the feature's geometry
* transform -  returns the transformed geometry

These new keywords can be used with getFeature for some geometry tests like
 intersects, crosses, contains, etc

Tests has been added to geometry and transform in Expression
2015-01-02 12:02:55 +01:00
Juergen E. Fischer
2b7e49b9d1 actually make canvas rotation available (followup 916a27f7b) 2015-01-01 14:09:40 +01:00
Juergen E. Fischer
8cc8eae1c1 make messages button translatable 2015-01-01 13:36:53 +01:00
Juergen E. Fischer
6dc160d92f make button translatable 2015-01-01 13:23:37 +01:00
Nathan Woodrow
246de9f056 Add OTF text to CRS button when on the fly is enabled 2015-01-01 14:31:26 +10:00
Nathan Woodrow
c5b5eee183 Fix #10392 Fix #11713 - Fix selection of ellipsoide when opening project properties 2015-01-01 13:56:49 +10:00
Nathan Woodrow
4f4b891556 Format source 2015-01-01 13:27:46 +10:00