25855 Commits

Author SHA1 Message Date
Juergen E. Fischer
3bd9709a9f spelling fixes 2015-01-15 09:12:18 +01:00
Juergen E. Fischer
e432317ec2 dxf export: use implicit cast QPointF to QgsPoint 2015-01-15 09:08:40 +01:00
Juergen E. Fischer
859efa5c22 fix build error 2015-01-15 08:19:10 +01:00
Nathan Woodrow
81470513ef Fix plugin installer crash with invalid versions 2015-01-15 10:56:37 +10:00
Juergen E. Fischer
0ba232d1e8 dxf export: improve marker symbol export 2015-01-14 23:55:35 +01:00
Juergen E. Fischer
5996014a00 dxf export dialog: fix select and unselect all (fixes #11987) 2015-01-14 20:49:59 +01:00
Denis Rouzaud
c3488f4c8a offline editing plugin: allow exporting non geometric layers 2015-01-14 15:29:49 +01:00
Denis Rouzaud
b042d8e697 use QgsLayerTree for the selection of layers in the offline editing plugin 2015-01-14 14:23:00 +01:00
Nyall Dawson
9cdb6400a2 Replace use of deprecated std::auto_ptr with QScopedPointer 2015-01-14 22:49:54 +11:00
Nyall Dawson
a4ee4059ec Avoid some compiler warnings 2015-01-14 22:02:57 +11:00
Nyall Dawson
6cb41149ad Add OVERRIDE to definitions (pt 1) 2015-01-14 19:39:35 +11:00
Nyall Dawson
db9fc098c7 Disable deprecated register warning/error for clang, breaks Travis build 2015-01-14 19:39:07 +11:00
Nyall Dawson
34b10e59c2 Enable -Wno-error=c++11-narrowing for clang builds
...until underlying issues are fixed
2015-01-14 19:38:46 +11:00
Nyall Dawson
cdbd885a5e Fix comparison between pointer and integer error for clang c++11 2015-01-14 19:38:33 +11:00
Nyall Dawson
466f2563ef Add OVERRIDE macro, allows "override" keyword when c++11 is available
...and no errors when compiler is not capable of c++11 builds.
2015-01-14 19:38:21 +11:00
Martin Dobias
8ab4472107 WMS server: Support <NamedStyle> in SLD
When using <NamedStyle> make sure the passed SLD XML has attribute units="mm"
in the root <StyledLayerDescriptor> tag. Otherwise the WMS server applies scaling
as if all sizes were in pixels. The correct approach would be to just scale
sizes when loading symbols from SLD - not to apply such scaling globally

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.
2015-01-14 13:35:25 +07:00
Martin Dobias
2e4c7c9e0c Fix bbox-based GetLegendGraphic for CRS with inverted axes (e.g. EPSG:4326) 2015-01-14 12:16:55 +07:00
Martin Dobias
e26e365f08 Merge pull request #1831 from giohappy/wms_legend_fix
Fix erroneous extent for contextual legend
2015-01-14 11:34:29 +07:00
giohappy
224b2c87b3 Fix erroneous extent for contextual legend 2015-01-13 15:28:33 +01:00
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