13340 Commits

Author SHA1 Message Date
Nyall Dawson
20e62b4c5f Fix typo, failing test 2018-07-26 09:37:19 +10:00
Nyall Dawson
28c4a6cf59 [processing][grass] Fix v.net.* output types, add tests
Fixes #19186
2018-07-25 19:50:48 +10:00
Nyall Dawson
eca775f9ef [processing][grass] Fix output type for v.edit 2018-07-25 19:50:48 +10:00
Nyall Dawson
b10fa5e979 [processing][grass] Fix v.vect.stats output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
0c56d00c01 [processing][grass] Fix v.what.rast data type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
71f880bb93 [processing][grass] Fix v.voronoi output type, add test 2018-07-25 19:50:48 +10:00
Nyall Dawson
a463af32f8 [processing][grass] Fix generation of output for v.rast.stats, add test 2018-07-25 09:23:36 +10:00
Nyall Dawson
fed345b12b [processing][grass] Make a copy of the parameters dict before doing grass modifications
Since grass algorithms modify the parameters dictionary, we need to ensure
that they do this only a copy of the dict (and not a shallow copy). Otherwise
the parameter values included in the history log are the internally
modified values, not the original user-set ones
2018-07-25 09:23:36 +10:00
Nyall Dawson
996c9a8d34 [processing][gdal] Assign output CRS should be optional for ogr to postgis alg 2018-07-25 08:20:07 +10:00
Nyall Dawson
27d447b79d [processing][gdal] Ignore 'selected features only' setting when
creating command preview

Since this has no meaning outside of a QGIS session

Refs #19451
2018-07-25 08:20:07 +10:00
Nyall Dawson
ed94b693e9 [processing][gdal] Fix layer paths are sometimes incorrect within command preview
Fixes #19451
2018-07-25 08:20:07 +10:00
Nyall Dawson
6a4d9c9bd4 [processing] Ensure feature source wrapper always returns direct
layer id/source whenever 'use selected features' is unchecked,
instead of always returning a QgsProcessingFeatureSourceDefinition
2018-07-25 08:20:07 +10:00
Nyall Dawson
1ac5e29da6 Restore window geometry on plugin repo download dialog 2018-07-24 08:51:26 +10:00
Nyall Dawson
3ec1442045 Points -> vertices 2018-07-24 03:56:10 +10:00
Nyall Dawson
e8d1bfc3a8 Add extra grass reference hash 2018-07-24 03:56:10 +10:00
Nyall Dawson
97e0db6245 [FEATURE][processing] Filter Vertices by M and Filter Vertices by Z algorithms
Adds two new algorithms, for filtering line/polygon vertices by their
M or Z values. A minimum and maximum M/Z value can be entered, and
if the vertices fall outside these ranges they will be discarded
from the output geometry.

Both min and max filter value can also be data defined, so can
vary per feature.
2018-07-24 03:56:10 +10:00
Nyall Dawson
f685d11b29 [processing] Reverse line direction can work with multi(line/curve) geometries 2018-07-24 03:55:49 +10:00
Nyall Dawson
65548436ad [processing] Port reverse line direction alg to c++ 2018-07-24 03:55:49 +10:00
Nyall Dawson
1a7ade7575 [FEATURE] Better UI for embedding SVG files
Adds a common widget for SVG sources, with a tool button with
some handy options:
- select file (old behaviour), pick a file from disk
- embed file (pick a file from disk, is embedded into project/symbol)
- extract embedded file (for embedded files, allows you to save these
back to a disk based svg file)
- from url (opens a dialog prompting for a url, exposing
the previously hidden functionality that svgs can be retrieved
from a remote url (eg github))

Sponsored by SMEC/SJ
2018-07-24 03:54:44 +10:00
Nyall Dawson
59ec2e0bce [processing][FEATURE] Port extend lines algorithm to c++, allow dynamic start/end distance
Allows the start and end distance to be data defined
2018-07-24 03:54:21 +10:00
Harrissou Sant-anna
8a1964fb85 Display same symbol for "not equal" operator in "Select by attribute" algorithm
as in "Extract by attribute" algorithm and "select features by value" function
2018-07-24 03:51:54 +10:00
Martin Dobias
6614d89643 Add missing interface method for Data Source Manager toolbar 2018-07-23 15:19:57 +02:00
Blottiere Paul
e48de2048a Fix doc 2018-07-23 08:07:08 +01:00
Blottiere Paul
fb75580b65 Add doc for QgsServerParameterDefinition 2018-07-23 08:07:08 +01:00
Blottiere Paul
3e00b10cc2 Update doc for QgsServerParameters and QgsServerParameter 2018-07-23 08:07:07 +01:00
Blottiere Paul
77af2ca08d Add doc for QgsBadRequestException 2018-07-23 08:07:07 +01:00
Blottiere Paul
ffddc9a015 Update doc for QgsServerParameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
7b32f8c61b Add virtual default destructors 2018-07-23 08:07:07 +01:00
Blottiere Paul
555b9471b2 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
6e1f14bd9e Fix sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
683975c74e Add a layoutParameter method to search in unmanaged parameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
a946c528c4 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
950f7d7d35 Update sip 2018-07-23 08:07:07 +01:00
Blottiere Paul
d1a4c0a6ac Update sip 2018-07-23 08:07:07 +01:00
Nyall Dawson
9887508d1e Fix crash when editing graduated symbol in style dock
Fixes #18909
2018-07-20 16:54:53 +10:00
Blottiere Paul
8ecc5b9047 Cleaning 2018-07-20 16:24:48 +10:00
Blottiere Paul
6363aba94e [FEATURE][needs-doc] Vertex tool can work on the current layer only 2018-07-20 16:24:48 +10:00
Nyall Dawson
c0f67327aa Capitalization 2018-07-20 07:24:35 +10:00
Nyall Dawson
8b2d5d0374 Use sample instead of identify in raster sampling alg
About 25x faster on large layers
2018-07-20 07:24:35 +10:00
Nyall Dawson
74c2ed12a5 Nicer API for raster sampling 2018-07-20 07:24:35 +10:00
Nyall Dawson
54e511960c More heavily optimised sample method for gdal provider 2018-07-20 07:24:35 +10:00
Nyall Dawson
b747ff6301 Dox++ 2018-07-20 07:24:35 +10:00
Nyall Dawson
ba10d1b5e7 [FEATURE] Add QgsRasterDataProvider::sample method for efficient
sampling of rasters at a given point

This is an alternative to the ::identify method, which is less
efficient but more powerful
2018-07-20 07:24:35 +10:00
Denis Rouzaud
f060566287 fix downloading plugins for custom repo
I am using github releases files which are apparently stored on amazon and give a 302 code.
I have been successfully tested this patch
2018-07-20 07:20:49 +10:00
Peter Petrik
21613cd132 use MDAL Groups instead of guessing them from dataset names 2018-07-19 11:30:52 +02:00
nirvn
68290a2ddc [maptips] fix font not respecting user settings
(this is important for non-Latin users out there)
2018-07-19 14:22:40 +07:00
nirvn
3e6db63ca4 [maptips] fix additional wrongly sized widget scenarios 2018-07-19 08:45:39 +07:00
Nyall Dawson
c65afbdd97 [processing] Correctly handle layer type parameter values when
creating an algorithm dialog using processing.execAlgorithmDialog()
2018-07-19 07:22:06 +10:00
Matthias Kuhn
60d2cd3ca3
Merge pull request #7333 from Gustry/script_template
add warning about print() and how to load layers in Processing algs
2018-07-18 09:09:51 +02:00
Nyall Dawson
d43f1a2823 [processing] Allow models to have no group name set
This is supported by the toolbox now, so relax the requirement
that all models have a compulsory group name. If no group is set,
the model is shown directly under the Models node in the toolbox.

Also switch a warning from message box to message bar
2018-07-18 08:56:52 +10:00