30477 Commits

Author SHA1 Message Date
Nyall Dawson
f0d8efbdd4 Update test mask 2016-01-13 16:16:39 +11:00
Nyall Dawson
8bd92fb80f Reorder label modes combo box 2016-01-13 13:36:29 +11:00
Nyall Dawson
04caab24a7 Merge pull request #2542 from SebDieBln/RefreshStyleWidgetOnLoadStyle
Refresh the label style widget when loading a new style (fixes #13667)
2016-01-13 13:24:28 +11:00
Nyall Dawson
21cdefa7e8 Merge pull request #2667 from SebDieBln/ZoomToFeatureIds
allow zooming to multiple features by their ID
2016-01-13 11:09:52 +11:00
Nyall Dawson
7495d9eada Followup 9dccce8, nicer error messages 2016-01-13 10:37:41 +11:00
Nyall Dawson
d01307ff29 Merge pull request #2492 from SebDieBln/NoCopyPasteOnDuplicateLayer
[Bugfix] Avoid using copyStyle() / pasteStyle() within duplicateLayers()
2016-01-13 10:35:31 +11:00
Sebastian Dietrich
e5f1d87506 allow zooming to multiple features by their ID
Changed QgsMapCanvas::zoomToFeatureId() to QgsMapCanvas::zoomToFeatureIds() accepting multiple IDs instead of just one.
2016-01-13 00:14:23 +01:00
Nyall Dawson
9dccce87ee Followup 3a1d47
- Fix dialog tab order
- Avoid use of hardcoded enum int conversion
- Remove some unneeded implicit casts
- Doc tweaks
2016-01-13 09:38:18 +11:00
Duncan Runnacles
4af65e6329 Set default margin units to MM 2016-01-13 08:27:58 +11:00
Duncan Runnacles
3a1d47fef7 Updated decoration items to use QgsUnitSelectionWidget.
Applies to north arrow, copyright and scalebar.

- Changed dialogs to use QgsUnitSelectionWidget.
- Added QgsSymbolV2::OutputUnit enum to decorationitem.
- Updated to use mm, pixel, or percentage units.
2016-01-13 08:27:54 +11:00
Duncan Runnacles
a89c1830de Added "Percentage" option to QgsSymboV2::OutputUnit.
- Added percentage to OutputUnit enum.
- Updated qgssymbolv2utils to include percentage.
- Updated qgsunitselectionwidget to include percentage.
Changed selection widget in its own commit

Added Percentage to OutputUnit enum.

Added percentage to switches in utils
2016-01-13 08:27:49 +11:00
Juergen E. Fischer
0ba089e6d4 fix PyQgsAppStartup on windows 2016-01-12 21:59:47 +01:00
Alexander Bruy
917ea5c0e3 [processing] add extension to the output vector VRT (fix #13872) 2016-01-12 20:24:55 +02:00
Alexander Bruy
3a514269ea [processing] remove nviz algorithm from modeller (fix #9107) 2016-01-12 20:24:55 +02:00
Alexander Bruy
04542a900a [processing] allow multiple threshold values for GRASS v.clean.advanced algorithm (fix #13748) 2016-01-12 20:24:55 +02:00
mhugent
47ae05fbdb Merge pull request #2595 from SebDieBln/ImproveDigitizingTools
Improve digitizing tools for circular strings
2016-01-12 16:25:41 +01:00
mhugent
3febba279d Merge pull request #2619 from mhugent/zoom_to_feature
[FEATURE]: Zoom to feature with right-click in attribute table
2016-01-12 16:20:17 +01:00
Matthias Kuhn
e351d24a7d More types support for QgsVectorFileWriter 2016-01-12 12:58:47 +01:00
Nyall Dawson
e29c7e519e Merge pull request #2644 from nirvn/move_save_btn
[ui] move the save symbol button
2016-01-12 21:16:13 +11:00
Matthias Kuhn
04919963f7 Merge pull request #2616 from SebDieBln/FixLayerCountAttribute
Remove the 'layercount' attribute in a project file
2016-01-12 10:46:17 +01:00
Matthias Kuhn
b82806218d Merge pull request #2663 from radosuav/fix_AlgorithmDialogBase_closeEvent
[Processing] Fix behaviour of closeEvent in AlgorithmDialogBase
2016-01-12 10:44:54 +01:00
Nyall Dawson
e26ef82890 Update test mask image 2016-01-12 20:07:58 +11:00
Nyall Dawson
419f59c274 Replace angles with constants 2016-01-12 20:05:54 +11:00
Nyall Dawson
8779091225 Fix failing tests 2016-01-12 08:24:56 +11:00
Nyall Dawson
8b28c040d1 [FEATURE] Add mode to apply label distance from symbol bounds
(only works with Cartographic point label placement). When this
setting is active, the label distance applies from the bounds
of the rendered symbol for a point, instead of the point itself.
It's especially useful when the symbol size isn't fixed, eg if
it's set by a data defined size or when using different symbols
in a categorised renderer.

Sponsored by Andreas Neumann
2016-01-12 08:24:39 +11:00
Nyall Dawson
6499439cc5 Fix failing tests, add tests for ordered placement
Sponsored by Andreas Neumann
2016-01-12 08:24:38 +11:00
Nyall Dawson
7479bf385b Allow setting data defined placement order in GUI
Sponsored by Andreas Neumann
2016-01-12 08:24:38 +11:00
Nyall Dawson
b589856735 [FEATURE] "Cartographic" placement mode for point labels
In this placement mode, point label candidates are generated
following ideal cartographic placement rules, eg labels
placements are priortised in the order:
- top right
- top left
- bottom right
- bottom left
- middle right
- middle left
- top, slightly right
- bottom, slightly left
(respecting the guidelines from Krygier and Wood (2011) and other
cartographic textbooks)

Placement priority can also be set for an individual feature using
a data defined list of prioritised positions. This also allows for
only certain placements to be used, so eg for coastal features you
could prevent labels being placed over the land.

TODO:
- while the ordering can be customised by editing a project file,
there's no GUI to customise this ordering if you want to deviate
from this standard priority (and it's out of scope for this
current work)
- tests

Sponsored by Andreas Neumann
2016-01-12 08:24:38 +11:00
Nyall Dawson
a3cee7df42 Fix spacing 2016-01-12 08:24:13 +11:00
rldhont
e276f170c7 [Feature][QGIS Server] Add WMS INSPIRE Capabilities
In the project properties the user can:
* activate INSPIRE capabilities
* select language of the service, 24 EU official languages + 5 regionals
* choose the scenario for service metadata and specify them

The WMS 1.3.0 capabilities reflects the INSPIRE configuration.
2016-01-11 21:12:09 +01:00
Alexander Bruy
bb5f0ffeae Merge pull request #2650 from mhugo/processing_vlayer
[processing] new algorithm: Execute SQL with virtual layer
2016-01-11 20:21:41 +02:00
Hugo Mercier
9472c98686 [processing] add a new algorithm to execute SQL thanks to the virtual provider 2016-01-11 18:04:35 +01:00
Hugo Mercier
83a24a3794 [processing] add more possible data providers for input vector layers 2016-01-11 17:15:01 +01:00
radosuav
fe71a3f5e1 [Processing] Fix behaviour of closeEvent in AlgorithmDialogBase
Otherwise finished signal is not emitted when dialog closes
2016-01-11 16:38:10 +01:00
Marco Hugentobler
fb996ae7fa Show message in message bar if feture has no geometry / empty geometry 2016-01-11 15:15:23 +01:00
Alexander Bruy
716664e749 [processing] try to fix HiDPI issue with Help tab 2016-01-11 14:15:03 +02:00
Hugo Mercier
70f26b66be Merge pull request #2647 from mhugo/vlayer_gui
Virtual layers GUI integration
2016-01-11 12:17:50 +01:00
volaya
be5d657c27 [processing] use simple QLabel widgets for toolbox tips 2016-01-11 09:39:09 +01:00
volaya
473e3ea9c5 [processing] removed unused constant 2016-01-11 09:39:08 +01:00
Denis Rouzaud
c20ac6f979 Merge pull request #2658 from SebDieBln/FixWarningQLayout
[Bugfix] Avoid a warning when opening QgsScaleVisibilityDialog
2016-01-11 08:33:38 +01:00
Nyall Dawson
2ac5fabee9 Another attempt to avoid doxygen errors on Precise nightly builds 2016-01-11 16:07:26 +11:00
Sebastian Dietrich
cbb426b5f2 construct the QLayout for the child widget with the correct parent
This avoids a warning from qt about the widget already having a QLayout.
2016-01-11 00:21:41 +01:00
volaya
e7e845158a [processing] removed unused code 2016-01-10 23:29:38 +01:00
Nyall Dawson
e3f8abed6f Merge pull request #2657 from SebDieBln/AddToContributors
Added myself to the lists of contributors
2016-01-11 07:26:47 +11:00
Juergen E. Fischer
312de68331 spelling fixes 2016-01-10 17:30:17 +01:00
Sebastian Dietrich
b30d3396eb Added the author (Sebastian Dietrich) to the lists of contributors. 2016-01-10 14:03:04 +01:00
Nyall Dawson
19a47fec29 Test mask update 2016-01-10 18:48:37 +11:00
Nyall Dawson
bc89bdb170 Fix coverity issues:
- possible use after free
- uninitialized member
2016-01-10 17:36:07 +11:00
Nyall Dawson
17793c35fd Try to fix doxygen errors/warnings on Debian nightlies 2016-01-10 15:25:49 +11:00
Nyall Dawson
651ca519b1 Fix constructor test for Sip binding coverage 2016-01-10 07:58:05 +11:00