Nyall Dawson
54f4eefc45
Use a proxy task to show progress when dropping multiple layers to QGIS
2018-08-18 08:42:34 +10:00
Nyall Dawson
0d200623b1
[FEATURE][processing] Add non-joinable output to Join by Location alg
...
Allows unjoinable features to be saved to a separate optional layer
2018-08-18 08:03:39 +10:00
Nyall Dawson
773371a143
[FEATURE][processing] Join by field value can export unmatched records,
...
and reports counts of matched/unmatched features
This gives an explicit warning to users when features were not matched,
and optionally allows them to save non-matching features to a layer.
2018-08-18 08:03:39 +10:00
Matthias Kuhn
78aa26a609
Simplify code
...
This code does nothing and only adds overhead since 69b590b0ef6
2018-08-18 08:02:48 +10:00
Matthias Kuhn
ce87662393
Merge pull request #7612 from elpaso/bugfix-19441-rulerenderer-exp-depth
...
Bugfix 19441 rulerenderer exp depth
2018-08-17 14:06:28 +02:00
Martin Dobias
6d1e420c71
min/max to minimum/maximum renaming
2018-08-17 09:34:41 +02:00
Martin Dobias
d91e12d417
Fix missing min/max values for classification when changing datasets
...
The min/max values were stored in the color ramp shader, but to my surprise
these values were never persisted or copied: pseudo-color raster renderer
has a separate storage for the min/max values, so we need that for mesh renderer
as well.
The QgsRasterShaderFunction is not really useful, and QgsColorRamp should not
be derived from it, making things just more confusing.
2018-08-17 09:34:41 +02:00
Martin Dobias
2f5ef8e0f8
Fix regression - lost "load from raster band" button in raster GUI
2018-08-17 09:34:41 +02:00
nirvn
805e7ec06d
[ui] remove original metadata row, duplicate of name
2018-08-17 12:00:20 +07:00
nirvn
1f31a9783c
[ui] improve metadata feature count string
...
- use unknown instead of -1
- use thousands separator
2018-08-17 12:00:20 +07:00
Nyall Dawson
59dbe0e6c4
Avoid unnecessary handling of active layer changed when we are
...
adding many layers at once, or removing many (e.g. due to project
clear)
Saves a lot of unnecessary and potentially expensive processing
2018-08-17 12:01:54 +10:00
Nyall Dawson
19a4357fdf
Avoid crash in gps info widget due to storage of potentially removed layer pointer
2018-08-17 12:01:54 +10:00
Nyall Dawson
56b6ebd91c
Avoid crash from storage of potentially removed map layer storage in canvas
2018-08-17 12:01:54 +10:00
Nyall Dawson
8075368638
Fix clang/clazy warnings
2018-08-17 12:01:54 +10:00
Nyall Dawson
91572beaba
Quiet noisy wfs provider debug messages
2018-08-17 11:53:09 +10:00
Salvatore Larosa
19c1a4b526
fix warning
2018-08-16 23:50:06 +02:00
Loïc Bartoletti
07c80b8281
Fix build of qgisnative for FreeBSD
2018-08-17 07:31:30 +10:00
Nyall Dawson
b422504c37
Disable feature fetching for symbol selector widget preview
...
It's just too expensive for any remote provider, e.g. wfs, and
causes many ui lockups. Revisit when support for iterator
timeouts is more mature.
2018-08-17 06:10:30 +10:00
Nyall Dawson
291224e8c7
[wfs] Avoid widget access from non main thread
...
It's not safe to loop through the app's widgets in a background
thread, so defer determination of the main window until
the progress dialog is being created in the main thread
2018-08-17 06:10:10 +10:00
nirvn
3b861f22f9
Add additional decodeUri tests
2018-08-16 16:46:01 +07:00
nirvn
8a117af7ce
Add a path row to HTML metadata table
2018-08-16 16:46:01 +07:00
nirvn
1ab8716688
Implement decodeUri for the delimited text & spatialite providers
2018-08-16 16:46:01 +07:00
nirvn
45b209c2c1
[FEATURE] Add hyperlink to local vector,raster datasets in information panel
2018-08-16 16:46:01 +07:00
nirvn
f4a0e743fa
Implement a QgsProviderRegistry decodeUri function + test
2018-08-16 16:46:01 +07:00
Heidi Vanparys
4ab4b42d27
Update Danish national CSW
...
geodata-info has been modernised (upgrade of GeoNetwork installation) and as a consequence, the CSW endpoint was changed from http://www.geodata-info.dk/registrant/srv/en/csw to https://geodata-info.dk/srv/dan/csw .
2018-08-16 19:12:53 +10:00
Martin Dobias
f37aa8c6e3
Merge pull request #7613 from wonder-sk/mesh-gui-fixes
...
Mesh layer fixes and improvements
2018-08-16 09:28:19 +02:00
Nyall Dawson
0be9de5dfc
Add hidden configuration setting to set toolbar padding
...
Can be tweaked for better appearance on hidpi screens, e.g. on
my display a padding of 8 px looks best
2018-08-16 09:12:22 +10:00
Nyall Dawson
a0b4e024bb
[processing] Respect application stylesheet in modeler/script editor dialogs
2018-08-16 09:12:22 +10:00
Nyall Dawson
4930061b21
[processing] Fix incorrect OGR warnings when loading raster layer results
...
Fixes #19597
2018-08-16 06:37:18 +10:00
nirvn
94300eab7c
Add proxy progress task for non-background algorithms
2018-08-16 06:22:16 +10:00
Nyall Dawson
5d078ec222
Progress task on project load
2018-08-16 06:22:16 +10:00
Nyall Dawson
37f3be60b2
[layouts] Use proxy task to show progress/exporting status in task manager
2018-08-16 06:22:16 +10:00
Nyall Dawson
21693bd4a4
Add a QgsTask subclass for proxying progress reports from a
...
blocking operation via task manager
Allows use of the task manager progress reporting system from
operations which are blocking (and cannot be made background
tasks!), e.g. layout exporting, project loading.
2018-08-16 06:22:16 +10:00
Martin Dobias
c0f190d070
Address Nyall's point from review
2018-08-15 15:20:00 +02:00
Martin Dobias
ca657179f9
Address Peter's points from review
2018-08-15 14:42:45 +02:00
Matthias Kuhn
d8adad8ad7
Avoid crash when relation disappears ( #7622 )
2018-08-15 13:31:10 +02:00
Denis Rouzaud
a82de83d6c
disable OpenCL by default on mac ( #7621 )
...
dirty fix before headers detection is properly done
2018-08-15 12:06:02 +02:00
nirvn
e82cc94067
[ui] improve add mesh layer icon
2018-08-15 15:21:15 +07:00
nirvn
dd86dfe609
[ogr provider] disable connection timeouts ( fixes #19625 et cie)
2018-08-15 13:49:16 +07:00
Stéphane Brunner
21f94305c6
Merge pull request #7571 from sbrunner/groups
...
[server] Fix the Access control in the WMS groups
2018-08-15 07:45:13 +02:00
Nyall Dawson
0ddbb3ff2d
Expands docs
2018-08-15 14:01:59 +10:00
Nyall Dawson
c6a91dab09
[FEATURE] Use native interpolate point method instead of GEOS method
...
Because:
- Exactly follows curves and doesn't require segmentizing input geometry
- Also interpolates z/m values if they are present in input geometry
- Is faster
2018-08-15 14:01:59 +10:00
Nyall Dawson
8365335fd3
[FEATURE][processing] Interpolate point on line algorithm
...
This algorithm creates a point geometry interpolated at a
set distance along line (or polygon boundary) geometries.
2018-08-15 14:01:59 +10:00
Nyall Dawson
7ef5631d6b
[FEATURE][processing] Line substring algorithm
...
This algorithm returns the portion of a line (or curve) which falls
between the specified start and end distances (measured from the
beginning of the line).
Z and M values are linearly interpolated from existing values.
2018-08-15 14:01:59 +10:00
Nyall Dawson
a4386d6116
[FEATURE] line_substring function
...
Returns the portion of a line (or curve) geometry which falls
between the specified start and end distances (measured from the
beginning of the line). Z and M values are linearly interpolated
from existing values.
Fixes #15611
2018-08-15 14:01:59 +10:00
Nyall Dawson
513bcb68e4
[FEATURE] New geometry API call to return a curve substring
...
Returns a new curve representing a substring of a curve, from
a start distance and end distance.
If z or m values are present, the output z and m will be interpolated using
the existing vertices' z or m values.
Handles curved geometries without loss.
2018-08-15 14:01:59 +10:00
Nyall Dawson
5b0bdbd4d9
Add QgsGeometryUtils method to interpolate a point on an arc given a distance
2018-08-15 14:01:59 +10:00
Nyall Dawson
56fd4e3b16
Add QgsGeometryUtils method for interpolating point between two points, with z/m handling
2018-08-15 14:01:59 +10:00
Nyall Dawson
0faa7ecdae
[processing] Minor optimization for regular points algorithm
2018-08-15 10:23:02 +10:00
Nyall Dawson
9d6b5a7f53
[processing] Fix non-sequential ids in regular points algorithm
2018-08-15 10:23:02 +10:00