Skip to content

Commit eec843c

Browse files
committed
Merge branch 'master' into fix-wms
2 parents 6a68309 + 10a66da commit eec843c

File tree

195 files changed

+5346
-2890
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+5346
-2890
lines changed

debian/qgis-providers.install.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ usr/lib/qgis/plugins/libwmsprovider.so
2020
usr/lib/qgis/plugins/libarcgismapserverprovider.so
2121
usr/lib/qgis/plugins/libarcgisfeatureserverprovider.so
2222
usr/lib/qgis/plugins/libmdalprovider.so
23-
{QT_PLUGINS_DIR}/sqldrivers/libqsqlspatialite.so
23+
#!xenial#{QT_PLUGINS_DIR}/sqldrivers/libqsqlspatialite.so

debian/rules

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
9292
MAKEFLAGS += -j$(NUMJOBS)
9393
endif
9494

95-
ifneq ($(DISTRIBUTION),"xenial")
95+
ifneq ($(DISTRIBUTION),xenial)
9696
CMAKE_OPTS += -DWITH_QSPATIALITE=TRUE
9797
endif
9898

python/gui/auto_generated/qgisinterface.sip.in

+7
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,13 @@ Returns a reference to the main window "File" toolbar.
256256
virtual QToolBar *layerToolBar() = 0;
257257
%Docstring
258258
Returns a reference to the main window "Layer" toolbar.
259+
%End
260+
261+
virtual QToolBar *dataSourceManagerToolBar() = 0;
262+
%Docstring
263+
Returns a reference to the main window "Data Source Manager" toolbar.
264+
265+
.. versionadded:: 3.4
259266
%End
260267

261268
virtual QToolBar *mapNavToolToolBar() = 0;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/gui/qgssvgsourcelineedit.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
class QgsSvgSourceLineEdit : QWidget
13+
{
14+
%Docstring
15+
A line edit widget with toolbutton for setting an SVG image path.
16+
17+
.. versionadded:: 3.4
18+
%End
19+
20+
%TypeHeaderCode
21+
#include "qgssvgsourcelineedit.h"
22+
%End
23+
public:
24+
25+
QgsSvgSourceLineEdit( QWidget *parent /TransferThis/ = 0 );
26+
%Docstring
27+
Constructor for QgsSvgSourceLineEdit, with the specified ``parent`` widget.
28+
%End
29+
30+
QString source() const;
31+
%Docstring
32+
Returns the current SVG source.
33+
34+
.. seealso:: :py:func:`setSource`
35+
36+
.. seealso:: :py:func:`sourceChanged`
37+
%End
38+
39+
void setLastPathSettingsKey( const QString &key );
40+
%Docstring
41+
Sets a specific settings ``key`` to use when storing the last
42+
used path for the SVG source.
43+
%End
44+
45+
public slots:
46+
47+
void setSource( const QString &source );
48+
%Docstring
49+
Sets a new ``source`` to show in the widget.
50+
51+
.. seealso:: :py:func:`source`
52+
53+
.. seealso:: :py:func:`sourceChanged`
54+
%End
55+
56+
signals:
57+
58+
void sourceChanged( const QString &source );
59+
%Docstring
60+
Emitted whenever the SVG source is changed in the widget.
61+
%End
62+
63+
};
64+
65+
/************************************************************************
66+
* This file has been generated automatically from *
67+
* *
68+
* src/gui/qgssvgsourcelineedit.h *
69+
* *
70+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
71+
************************************************************************/

python/gui/gui_auto.sip

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@
195195
%Include auto_generated/qgsstatusbar.sip
196196
%Include auto_generated/qgssublayersdialog.sip
197197
%Include auto_generated/qgssubstitutionlistwidget.sip
198+
%Include auto_generated/qgssvgsourcelineedit.sip
198199
%Include auto_generated/qgssymbolbutton.sip
199200
%Include auto_generated/qgstablewidgetbase.sip
200201
%Include auto_generated/qgstabwidget.sip

python/plugins/processing/algs/help/qgis.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ qgis:exportaddgeometrycolumns: >
157157

158158
Depending on the geometry type of the vector layer, the attributes added to the table will be different.
159159

160-
qgis:extendlines: >
161-
This algorithm extends line geometries by a specified amount at the start and end of the line. Lines are extended using the bearing of the first and last segment in the line.
162-
163160
qgis:extractbyattribute: >
164161
This algorithm creates a new vector layer that only contains matching features from an input layer. The criteria for adding features to the resulting layer is defined based on the values of an attribute from the input layer.
165162

python/plugins/processing/algs/qgis/ExtendLines.py

-83
This file was deleted.

python/plugins/processing/algs/qgis/QgisAlgorithmProvider.py

-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
from .EliminateSelection import EliminateSelection
6666
from .ExecuteSQL import ExecuteSQL
6767
from .ExportGeometryInfo import ExportGeometryInfo
68-
from .ExtendLines import ExtendLines
6968
from .ExtentFromLayer import ExtentFromLayer
7069
from .ExtractSpecificVertices import ExtractSpecificVertices
7170
from .FieldPyculator import FieldsPyculator
@@ -118,7 +117,6 @@
118117
from .RectanglesOvalsDiamondsVariable import RectanglesOvalsDiamondsVariable
119118
from .RegularPoints import RegularPoints
120119
from .Relief import Relief
121-
from .ReverseLineDirection import ReverseLineDirection
122120
from .Ruggedness import Ruggedness
123121
from .SelectByAttribute import SelectByAttribute
124122
from .SelectByExpression import SelectByExpression
@@ -182,7 +180,6 @@ def getAlgs(self):
182180
EliminateSelection(),
183181
ExecuteSQL(),
184182
ExportGeometryInfo(),
185-
ExtendLines(),
186183
ExtentFromLayer(),
187184
ExtractSpecificVertices(),
188185
FieldsCalculator(),
@@ -235,7 +232,6 @@ def getAlgs(self):
235232
RectanglesOvalsDiamondsVariable(),
236233
RegularPoints(),
237234
Relief(),
238-
ReverseLineDirection(),
239235
Ruggedness(),
240236
SelectByAttribute(),
241237
SelectByExpression(),

python/plugins/processing/algs/qgis/ReverseLineDirection.py

-70
This file was deleted.

python/plugins/processing/algs/qgis/SelectByAttribute.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SelectByAttribute(QgisAlgorithm):
4848
OUTPUT = 'OUTPUT'
4949

5050
OPERATORS = ['=',
51-
'!=',
51+
'',
5252
'>',
5353
'>=',
5454
'<',
@@ -80,7 +80,7 @@ def flags(self):
8080

8181
def initAlgorithm(self, config=None):
8282
self.operators = ['=',
83-
'!=',
83+
'',
8484
'>',
8585
'>=',
8686
'<',
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<ogr:FeatureCollection
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://ogr.maptools.org/ reverse_multiline.xsd"
5+
xmlns:ogr="http://ogr.maptools.org/"
6+
xmlns:gml="http://www.opengis.net/gml">
7+
<gml:boundedBy>
8+
<gml:Box>
9+
<gml:coord><gml:X>-1</gml:X><gml:Y>-1</gml:Y></gml:coord>
10+
<gml:coord><gml:X>5.58042226487524</gml:X><gml:Y>4.119769673704415</gml:Y></gml:coord>
11+
</gml:Box>
12+
</gml:boundedBy>
13+
14+
<gml:featureMember>
15+
<ogr:reverse_multiline fid="lines.1">
16+
<ogr:geometryProperty><gml:MultiLineString srsName="EPSG:4326"><gml:lineStringMember><gml:LineString><gml:coordinates>1,-1 -1,-1</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString></ogr:geometryProperty>
17+
</ogr:reverse_multiline>
18+
</gml:featureMember>
19+
<gml:featureMember>
20+
<ogr:reverse_multiline fid="lines.2">
21+
<ogr:geometryProperty><gml:MultiLineString srsName="EPSG:4326"><gml:lineStringMember><gml:LineString><gml:coordinates>5,1 3,1</gml:coordinates></gml:LineString></gml:lineStringMember><gml:lineStringMember><gml:LineString><gml:coordinates>5,1 5.02418426103647,2.4147792706334</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString></ogr:geometryProperty>
22+
</ogr:reverse_multiline>
23+
</gml:featureMember>
24+
<gml:featureMember>
25+
<ogr:reverse_multiline fid="lines.3">
26+
</ogr:reverse_multiline>
27+
</gml:featureMember>
28+
<gml:featureMember>
29+
<ogr:reverse_multiline fid="lines.4">
30+
<ogr:geometryProperty><gml:MultiLineString srsName="EPSG:4326"><gml:lineStringMember><gml:LineString><gml:coordinates>3,3 3,2 2,2 2,0</gml:coordinates></gml:LineString></gml:lineStringMember><gml:lineStringMember><gml:LineString><gml:coordinates>5.4595009596929,4.11976967370441 2.94433781190019,4.04721689059501</gml:coordinates></gml:LineString></gml:lineStringMember><gml:lineStringMember><gml:LineString><gml:coordinates>5.58042226487524,2.9468330134357 3,3</gml:coordinates></gml:LineString></gml:lineStringMember></gml:MultiLineString></ogr:geometryProperty>
31+
</ogr:reverse_multiline>
32+
</gml:featureMember>
33+
</ogr:FeatureCollection>

0 commit comments

Comments
 (0)