32051 Commits

Author SHA1 Message Date
Matthias Kuhn
5376cbf35e Followup 297f466 pep8 2016-04-07 14:11:03 +02:00
volaya
cc50157ab8 [processing] make gdal algorithms honor selection
fixes #14622
2016-04-07 14:02:25 +02:00
Denis Rouzaud
bf3f8b5920 add todo QGIS 3: add /In,Out/ to QgsVectorLayer.addFeature (python)
https://github.com/qgis/qgis3.0_api/issues/45
2016-04-07 13:29:43 +02:00
Matthias Kuhn
27afd6c4f3 Fix headers 2016-04-07 13:21:23 +02:00
Matthias Kuhn
5e89058921 Followup 297f466 Add missing CMakeLists.txt 2016-04-07 13:21:20 +02:00
volaya
45cb80a0ff [processing] fixed wild import 2016-04-07 12:32:46 +02:00
Nyall Dawson
55301616a2 Merge pull request #2980 from nirvn/diagram_ui_improvement
[diagram] synchronize enabling UI to match labelling
2016-04-07 20:25:34 +10:00
volaya
794ef72520 [processing] added support for QGIS variables in python scripts 2016-04-07 12:03:41 +02:00
volaya
3e4e08bc6f [processing] fixed header 2016-04-07 12:03:40 +02:00
volaya
297f4669fd [processing] added preconfigured algorithms 2016-04-07 12:03:39 +02:00
nirvn
4f87525eec [diagram] synchronize enabling UI to match labelling 2016-04-07 16:23:32 +07:00
Nyall Dawson
9d5df4efb7 Fix indentation 2016-04-07 18:47:01 +10:00
Nyall Dawson
846c6183ca Initially set focus to text in new name dialog 2016-04-07 18:47:01 +10:00
Nyall Dawson
39d0ba5781 [composer] Fix crash setting table columns from python 2016-04-07 18:47:01 +10:00
Nyall Dawson
fde77d35aa Remove use of c style function(void) 2016-04-07 18:47:01 +10:00
Jürgen Fischer
19b91032bd Merge pull request #2977 from rouault/wfs
First part of QEP 35: WFS provider enhancements
2016-04-07 10:18:22 +02:00
Juergen E. Fischer
5895780553 fix internal future install (fixes #14577, take II) 2016-04-07 09:08:02 +02:00
Jürgen Fischer
60ada1185e Merge pull request #2946 from sebastic/debian
Debian packaging improvements
2016-04-07 08:59:58 +02:00
Bas Couwenberg
100c96c3a8 Add python-shapely to python-qgis-common dependencies.
Closes Debian Bug #820281 (https://bugs.debian.org/820281).
2016-04-07 07:15:48 +02:00
Nyall Dawson
99980bea0c Fix windows build 2016-04-07 09:14:16 +10:00
Nyall Dawson
3ba3986ae2 Fix calculation of diagram size in map units when using scale limits 2016-04-06 22:27:07 +10:00
Nyall Dawson
ece46d1c43 Fix margins on photo and web view edit widgets 2016-04-06 21:05:00 +10:00
Nyall Dawson
76282d5022 Fix layout issues with color button editor widget
- widget was not left aligned
- widget would shrink to a small vertical height in crowded forms
2016-04-06 21:04:51 +10:00
Nyall Dawson
4c704be606 Add geometry methods for calculating the distance to a specified
vertex from the start of the geometry
2016-04-06 20:55:26 +10:00
Nyall Dawson
d464f86290 [FEATURE] Null ("No symbol") renderer
Using this renderer no symbol will be drawn for features, but labeling,
diagrams and other non-symbol parts will still be shown.

Selections can still be made on the layer in the canvas and selected
features will be rendered with a default symbol. Features being edited
will also be shown.

This is intended as a handy shortcut for layers which you only want
to show labels or diagrams for, and avoids the need to render
symbols with totally transparent fill/border to achieve this.

(fix #12131)
2016-04-06 20:55:26 +10:00
Nyall Dawson
86ec27e08e Use real values when interpolating color components in gradients 2016-04-06 20:55:26 +10:00
Nyall Dawson
fd7a4bd900 [FEATURE] New project(point, distance, bearing) expression function
Projects a point geometry by the specified distance and bearing
2016-04-06 20:55:26 +10:00
Nyall Dawson
2e44c11914 Some QgsPoint improvements
- Modernize QgsVector, improve docs, add some methods missing from
Python bindings
- Add method to QgsPoint to project a point by a specified distance
and bearing
- Add distance methods to complement existing sqrDist squared distance
methods
- Rename QgsVector::normal to normalized (avoid confusion with normal
vectors)
- Add more QgsPoint operators
- Add some more QgsPoint and QgsVector tests
2016-04-06 20:55:26 +10:00
Nyall Dawson
3a1f6c429d Improve documentation for QgsGeometry::closestVertex 2016-04-06 20:55:26 +10:00
Nyall Dawson
5247673cda Add some provider tests for empty rectangles 2016-04-06 20:55:26 +10:00
Nyall Dawson
619b32de5b Fix build with Qt5 <5.5 2016-04-06 20:55:26 +10:00
Matthias Kuhn
4586a787b0 Move AutoTransaction setting to project properties
Was in global app settings
2016-04-06 12:17:38 +02:00
Matthias Kuhn
dd54cf28c0 Better support for LabelOnTop in multicolumn attribute form layouts 2016-04-06 09:33:01 +02:00
Matthias Kuhn
226339cc9c Allow adding a new entry from the relation reference widget 2016-04-06 09:01:35 +02:00
Matthias Kuhn
8f7a6aaa6c Make string translatable 2016-04-06 09:00:25 +02:00
Nyall Dawson
f7c5c2bca1 Merge pull request #2976 from nirvn/more_markers
[symbology] add half triangle markers
2016-04-06 06:34:30 +10:00
Even Rouault
9040ec1baf [FEATURE] [WFS provider] Major overhaul to add WFS 1.1 and 2.0 support
First part of https://github.com/qgis/QGIS-Enhancement-Proposals/issues/53
(QEP 35: WFS provider enhancements)

Improvements:
- Version autodetection
- On-disk caching of downloaded features
- Background download and progressive rendering
- WFS 1.1 and 2.0 support
- WFS 2.0 GetFeature paging
- Add provider tests

Fixes:
- #10106: Panning a non-cached WFS layer causes selection to change
- #9444: WFS client not requesting new features when not-cached
 #14156: WFS non cached: infinite flashing
- #9450 : New WFS connection option - Max number of features returned
- #14122: Implement WFS 2.0 client provider (partial. no joins or stored queries)

Not in scope: WFS-T 1.1 and 2.0. But WFS-T 1.0 kept (and tested)
2016-04-05 21:49:53 +02:00
Even Rouault
62bd4061fe Add QgsDataProvider::invalidateConnections() and implement in Spatialite provider
This invalidates all cached connections to the given database name.
This will be used by the WFS provider to cleanup any cached connections before
removing its temporary Spatialite DB
2016-04-05 21:49:52 +02:00
Even Rouault
c178aef451 [Spatialite] Handle a pragma='pragma_name=value' URI parameter.
This will be used by the WFS provider to improve commit time to its
temporary Spatialite DB.
2016-04-05 21:49:52 +02:00
Even Rouault
c3760ec448 [Spatialite] Handle connection invalidation
This will be used by the WFS provider, so it can properly invalidates
(=close) all connections to the temporary Spatialite database it uses
for caching. Closing those connections is needed to be able to remove
the file.
2016-04-05 21:49:51 +02:00
Even Rouault
e792576d02 Improve QgsVectorLayer::countSymbolFeatures() responsiveness.
The method can display a progress dialog when it takes a long time to
complete.
- Attach this dialog to the QGIS main window.
- Use the interruption checker mechanism of iterators so that the
  to-be-committed improved WFS feature iterator can use it
- Call QCoreApplication::processEvents() for better UI responsiveness.
2016-04-05 21:49:51 +02:00
Even Rouault
114c1087eb Feature iterators: add a mechanism to check if it must be interrupted.
Add a setInterruptionChecker() method on iterators that provides an interface
that can be called by iterators to check if they must return as soon as
possible. This is set by QgsVectorLayerRenderer::render() to connect to
QgsRenderContext::renderingStopped(). This is useful for some iterators,
like the to be-committed QgsWFSFeatureIterator that can wait for a long
time before returning. By regularly checking if it must be interrupted,
this improves the GUI responsiveness a lot.
This is an enhancement and existing iterators do not need to be modified.
2016-04-05 21:49:51 +02:00
Even Rouault
9fe6a9fe48 QgsOgcUtils: add support to generate WFS 1.1 and 2.0 filters
Fixes #14119: Ensure the OGC filter XML expression contains the GML namespace references
2016-04-05 21:49:45 +02:00
Even Rouault
57ae4fee25 QgsGML: expose lower level streaming parser, add handling of GML3
- Add a low-level QgsGmlStreamingParser class that doesn't do any
  network activity, but builds features from GML data in a streaming way
- Add handling of GML3 for WFS 1.1 and 2.0.
- Add tests
2016-04-05 20:51:09 +02:00
Webmaster
7b233e514c [symbology] add half triangle markers 2016-04-05 22:28:52 +07:00
Matthias Kuhn
9c0a291046 Deprecate QgsProject::dirty( bool ) in favor of QgsProject::setDirty 2016-04-05 14:47:56 +02:00
Nyall Dawson
8948607f7d Followup 31d7be
Tweak some API and docs, and fix overlapping UI widgets
2016-04-05 22:13:16 +10:00
Nyall Dawson
fe54a78d60 Merge pull request #2974 from nirvn/diagram_line_unit
[diagram] add unit type setting for outlines (fixes #14614)
2016-04-05 21:56:50 +10:00
Nyall Dawson
410a43814b Allow relative links in composer labels
Allow relative links in composer labels
2016-04-05 21:37:46 +10:00
Matthias Kuhn
f6838032fa QgsMaplayerRegistry function to get only vector or raster layers 2016-04-05 13:19:54 +02:00