25836 Commits

Author SHA1 Message Date
Juergen E. Fischer
b49da36c7f * Save and restore visiblity state of embedded group layers (fixes #4097)
* Adds support for lists in custom properties
2015-01-13 14:55:03 +01:00
Martin Dobias
3711fd5899 WMS server: support multiple styles in GetStyles request
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.
2015-01-13 15:33:10 +07:00
Martin Dobias
f28a6d1d7d Fix #11703 and #11704
Do not create a layer node if the passed layer cannot be used (not in registry)
2015-01-13 13:38:41 +07:00
Martin Dobias
1614ac8cc7 WMS server: fix crashing context-based GetLegendGraphic
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.

The above statement applies also to the earlier commits:
5b38262 WMS server: advertise additional layer styles in GetCapabilities
95b4ebc WMS server: detect correct service URL even if REQUEST_URI is not defined
03edac9 WMS server: throw LayerNotDefined exception when undefined layer is requested
6e4c507 WMS server: support predefined layer styles in GetMap requests
4dead72 Allow multiple styles of layers in composer maps
50e77a9 Added support for renaming of map layer styles
8b5587f Improve the internals of map layer style manager
b4ad637 Make presets with styles working in composer
3fbb758 More reliable trigger of refresh when changing styles
803e822 Visibility presets also record layer's current style
603b3a5 Fixed problems with style switching not always working correctly
3ce9c70 Merge pull request #1755 from wonder-sk/multiple-styles
2144be0 Add Python bindings for map layer style manager
f00f4fd Style manager code cleanups
43d6042 Support for reading/writing additional styles for layers
19b7281 Fix cleanup of the style GUI utils singleton
edf3ebb Improve the Styles menu in legend context menu
547d018 Added a GUI utility class to support multiple styles per map layer
829f99b Initial core work on multiple styles per layer
2015-01-13 12:22:27 +07:00
Nyall Dawson
33857db6c8 Replace use of deprecated std::auto_ptr with QScopedPointer 2015-01-13 07:52:46 +11:00
Denis Rouzaud
fa903dde47 fix scale widget and dxf export 2015-01-12 14:58:16 +01:00
Martin Dobias
5b382620dd WMS server: advertise additional layer styles in GetCapabilities 2015-01-12 20:31:34 +07:00
Martin Dobias
95b4ebce5e WMS server: detect correct service URL even if REQUEST_URI is not defined 2015-01-12 20:31:34 +07:00
Martin Dobias
03edac976a WMS server: throw LayerNotDefined exception when undefined layer is requested
This is according to WMS 1.1.0 / 1.1.1 / 1.3.0 specs
2015-01-12 20:31:34 +07:00
Martin Dobias
6e4c5078f5 WMS server: support predefined layer styles in GetMap requests 2015-01-12 20:31:34 +07:00
Matthias Kuhn
ba495f371b Correctly synchronize layer editable state with UI in relation editor
Fix #11524

Thank you very much Benjamin Trigona-Harany
2015-01-12 13:21:08 +01:00
Markus Neteler
b7dcd67f3e Updates for current GRASS GIS 7 release branch [merged PRs]:
* Delete r.bitpattern.txt: r.bitpattern is now only an Addon since r.mapcalc and i.modis.qc provide the functionality
* r.describe.txt: flag description cosmetics
* r.random.raster.txt: fix typo
* Update and rename r.shaded.relief.txt to r.relief.txt (http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Renamedmodules)
* Update r.sunmask.txt: -s added but "Outputraster" needs to be optional for that [TODO]
* Update r.surf.area.txt: "units" added
* Delete r.surf.idw2.txt: r.surf.idw2 is now a GRASS GIS Addon (http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures#Replacedandremovedmodules)
* Delete v.transform.pointsfile.txt: The pointsfile parameter no longer exists. Use v.transform.txt instead
* Update TODO
2015-01-12 07:41:50 +01:00
Juergen E. Fischer
ed825e6501 fix doxymentation warnings 2015-01-11 09:17:40 +01:00
Juergen E. Fischer
98ca2dcc86 delimited text provider: only add finite points to spatial index (fixes #11708) 2015-01-10 18:02:13 +01:00
alexbruy
5f3debdcc7 Merge pull request #1760 from gioman/fix_scripts
fix a few qgis processing scripts
2015-01-10 09:40:14 +02:00
Nathan Woodrow
6e60d67ace Merge pull request #1747 from NathanW2/measure_dialog
Add units selector to measure dialog. Add info text to dialog
2015-01-10 12:14:49 +10:00
Nathan Woodrow
d9042f590f Follow up 6a17a60ae2 - Fix error when passing usesgeometry to qgsfunction 2015-01-10 10:43:12 +10:00
Sandro Santilli
c8d874889f Make north arrow decoration follow map rotation
Closes http://hub.qgis.org/issues/11818
2015-01-09 21:28:53 +01:00
Giovanni Manghi
29f8b2399a fix a few qgis processing scripts 2015-01-09 19:02:50 +00:00
Juergen E. Fischer
8d20272748 function help fixes 2015-01-09 19:49:01 +01:00
Juergen E. Fischer
b52fff303f avoid duplicate function help entry 2015-01-09 19:33:22 +01:00
Juergen E. Fischer
bdd4388c53 oracle provider: also retrieve pk candidates for geometryless views (fixes #11963) 2015-01-09 19:33:21 +01:00
Sandro Santilli
9c6fe06149 Pre-rotate vectors before applying labels
Revert custom rotation handling in label placement, dropping
rotation component from the transformation used to determine
placement as rotation was applied up-front.
Have manually placed labels follow the map.
2015-01-09 19:10:58 +01:00
Sandro Santilli
a09d3d6003 Do not assume map is not rotated when computing label sizes 2015-01-09 19:01:28 +01:00
Martin Dobias
4dead724f5 Allow multiple styles of layers in composer maps
When layer set is locked in composer map, also the styles associated with layers are kept.
As a result, a composition can contain maps of the same layer just with different styles.

Map settings and map renderer jobs have been improved to support temporary override of layer's style.
It is possible to pass to map settings which layers should have overridden style and map jobs
will temporarily replace the style (just for the rendering).
2015-01-09 21:48:15 +07:00
Martin Dobias
50e77a9d41 Added support for renaming of map layer styles 2015-01-09 21:48:15 +07:00
Juergen E. Fischer
e8aedcbd4f use wkbPtr 2015-01-09 13:11:41 +01:00
Sandro Santilli
e2e47d71c6 Add rotate and transform(QTransform) methods to QgsGeometry
Reimplement translate in terms of transform(QTransform).
Includes new unit test for rotate() and translate() methods.
Includes sip bindings update.
2015-01-09 12:37:00 +01:00
Nyall Dawson
85619dae12 Some optimisations to gradient ramps and shapeburst fills
Leads to up to 25% improvement in render speed.
2015-01-09 21:55:54 +11:00
Martin Dobias
8b5587fe13 Improve the internals of map layer style manager
- style manager is always enabled (client code does not need to distinguish between enabled/disabled state)
- layers currently active style is stored only in QgsMapLayer - in style manager it has entry with no data (avoids duplication of data)

This also solves issues with visibility presets and styles when some presets do not have stored style
2015-01-09 17:04:26 +07:00
Denis Rouzaud
7c4f3f9640 remove lineEdit method from projection selection widget
this will allow to change the widget design without breaking the API
2015-01-09 11:01:39 +01:00
Juergen E. Fischer
73a2858147 indentation update 2015-01-09 10:23:39 +01:00
Denis Rouzaud
abb2510561 update the scale range widget with the new scale widget 2015-01-09 09:44:45 +01:00
Denis Rouzaud
3310efbc71 fix warning 2015-01-09 07:59:37 +01:00
Denis Rouzaud
db88b01b8a use scale widget in dxf export 2015-01-09 07:40:44 +01:00
Denis Rouzaud
d9280b1019 add scale widget to custom widgets 2015-01-09 07:40:44 +01:00
Denis Rouzaud
127c882e98 create scale widget (scale combo box + button to set scale from map canvas) 2015-01-09 07:40:44 +01:00
Mathieu Pellerin (nirvn)
8f70664472 [rotation] prevent rotation of labels when placed around or over a point/centroid 2015-01-08 14:24:04 +01:00
Nathan Woodrow
ee9c3689f1 Right align header in ui file. Add info in groupbox 2015-01-08 22:00:03 +10:00
Nathan Woodrow
9fb835f186 Merge branch 'master' into measure_dialog 2015-01-08 20:48:26 +10:00
Nyall Dawson
7245bf8c50 Some optimisations to gradient fill renderer
speeds drawing up by ~20% in some circumstances
2015-01-08 19:46:42 +11:00
Martin Dobias
b4ad637273 Make presets with styles working in composer 2015-01-08 15:02:26 +07:00
Martin Dobias
3fbb7584d7 More reliable trigger of refresh when changing styles
Previously when changing the presets map canvas would not be redrawn
2015-01-08 13:42:27 +07:00
Martin Dobias
803e822cbc Visibility presets also record layer's current style 2015-01-08 13:29:42 +07:00
Martin Dobias
603b3a5248 Fixed problems with style switching not always working correctly
Caused by internal storage (QByteArray) not re-adjusting its size
to new content, resulting in corrupted XML data
2015-01-08 12:08:13 +07:00
Nyall Dawson
c11319b859 Fix button box in options dialog not working (fix #11960)
QgsOptionsDialogBase was incorrectly finding the projection
selector's buttonBox widget and attaching the connections
to that widget, rather than the dialog's widget.

Rename projection selector's button box to avoid this conflict.
2015-01-08 06:48:55 +11:00
Sandro Santilli
7057af381c Merge pull request #1756 from strk/travis-modeltest
Have travis build with model test enabled
2015-01-07 16:48:21 +01:00
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
2ad2781cc8 Have travis build with model test enabled 2015-01-07 15:42:14 +01:00
Sandro Santilli
0b954c10f0 Reduce debug noise 2015-01-07 15:41:59 +01:00