Denis Rouzaud
3208b51102
Merge pull request #44709 from troopa81/feat_dms_connexion_webdav
...
[ExternalStorage] add WebDAV external storage implementation
2021-08-25 11:01:33 +02:00
nirvn
7e52c7ecab
Fix behavior change in addRasterLayer() which leads to georeferencer failing to loaded rasters
2021-08-25 15:13:56 +07:00
nicogodet
4444402214
Correctly set SVG/Raster mode when clicking an existing ( #44745 )
2021-08-25 07:13:26 +02:00
Nyall Dawson
19129f739d
Fix identify results feature headings when display attribute is a
...
hyperlink
Fixes #44805
2021-08-25 12:56:11 +10:00
Nyall Dawson
f3ffe7683d
Add note to QgsFeatureRequest::setSubsetOfAttributes methods
...
to indicate that providers may ignore the subset in certain
circumstances
Refs #44621
2021-08-25 12:54:57 +10:00
Nyall Dawson
6369c08d36
[ogr] Automatically read and convert metadata from ESRI Personal Geodatabases
...
Requires GDAL 3.4+
2021-08-25 12:54:48 +10:00
Nyall Dawson
91e3d8a07b
Fix leak
2021-08-25 10:04:52 +10:00
Nyall Dawson
abdfcb7b4c
Support retrieving sublayer path for OGR layers on GDAL 3.4+
2021-08-25 10:04:52 +10:00
Juergen E. Fischer
ec80d5aeac
rename virtualraster provider (refs #44804 )
2021-08-24 22:31:26 +02:00
Vincent Cloarec
bc192a60b2
Mesh expressions: add $vertex_as_point and $vertex_z functions ( #44786 )
...
* mesh expression $vertex_as_point $vertex_Z_value
* functions help
* SIP, doc and indentation
* fix SIP
* fix help file
* change function name and add Meshes group description
* fix typo
* fix strings and docs
* typo
2021-08-24 20:56:16 +02:00
vcloarec
fb33167d9c
fix mesh spatial index
2021-08-24 06:05:53 -07:00
vcloarec
ce0ac5d224
improve test
2021-08-24 06:05:53 -07:00
vcloarec
196fa15a49
fix undo/redo and mesh spatial index during mesh edinting
2021-08-24 06:05:53 -07:00
Matthias Kuhn
9258369016
Merge pull request #44823 from raymondnijssen/polygonize_add_fields
...
Make more clear that these fields will not contain data from the input layer, because the polygons are often constructed from multiple lines. Fixes #44779
2021-08-24 13:05:04 +02:00
Julien Cabieces
ff08ad4733
adds finished signal and deprecates downloadFinished
2021-08-24 11:04:26 +02:00
Julien Cabieces
385939c757
fix yaml links directive since rebase
2021-08-24 10:57:18 +02:00
Raymond Nijssen
a958221e73
Better option description for keeping fields
2021-08-24 10:28:35 +02:00
nirvn
9847c9f367
Address review
2021-08-24 14:52:40 +10:00
nirvn
090ef3e4ae
Adjust vector tile layer properties
2021-08-24 14:52:40 +10:00
nirvn
2a2eace0e1
Move generalHtmlMetadata to QgsMapLayer class, guard from null data provider, harmonize looks and details ordering across map layer types
2021-08-24 14:52:40 +10:00
nirvn
90b104ffe0
Only show storate type and comment metadata information when present
2021-08-24 14:52:40 +10:00
nirvn
dfbbb94cb2
Make use of the new QgsMapLayerUtils' generalHtmlMetadata function for {raster,point cloud,mesh} layer HTML metadata parsing
2021-08-24 14:52:40 +10:00
nirvn
0ab3442ead
[FEATURE][ui] Show dataset file size and last modified information in the layer properties window
2021-08-24 14:52:40 +10:00
Mathias Rav
d260961036
Test that QgsRandomColorRamp returns distinct colors
2021-08-24 13:45:22 +10:00
Mathias Rav
e8ba3f05e8
Avoid duplicate colors in random paletted raster rendering
...
When selecting Render type "Paletted/Unique values" for a raster layer
that has 23 distinct raster values, QGIS will generate 23 random colors
in QgsRandomColorRamp, and then these colors will be queried through
QgsPalettedRasterRenderer::classDataFromRaster().
The querying of random colors goes through the generic
QgsColorRamp::color(v) interface, which takes a v between 0.0 and 1.0.
To turn a raster value index (0,1,...,22) into a value between 0.0 and 1.0,
a division by 22 is applied. QgsRandomColorRamp then converts this value
back into an index by multiplying by 22 and casting the result to an int.
Dividing an integer by 22 and multiplying the result by 22 and casting
to an int is not lossless:
>>> int(15 / 22 * 22)
14
This causes e.g. the 14th and 15th raster value (0-indexed) to always
have the same random color, regardless of how many times you press
"Shuffle Random Colors" on a raster with 23 distinct values.
Note that this issue is not exhibited at all for rasters with fewer than
23 distinct values, and certain cardinalities exhibit the issue much
more than others; e.g. for 50 distinct values, there are 6 duplicates!
Apply std::round() so that the correct index is obtained.
2021-08-24 13:45:22 +10:00
Harrissou Sant-anna
3b18bf7c20
Remove unnecessary label in mesh symbology datasets tab
2021-08-24 13:11:12 +10:00
Germán Carrillo
a31af8b77a
In installFromZipFile(), if plugin was active, no need to call startPlugin() before reloading it. This commit makes installFromZipFile() act like installPlugin().
2021-08-24 12:37:42 +10:00
Germán Carrillo
926a1b6100
In uninstallPlugin(), remove plugin's QSetting (inside group 'PythonPlugins'), which says if a plugin is available
2021-08-24 12:37:42 +10:00
Denis Rouzaud
e4bb080768
fix banned keyword suggestion
2021-08-24 09:22:50 +10:00
Julien Cabieces
4483ee707b
unique_ptr for feedback and add missing includes
2021-08-23 17:35:54 +02:00
Julien Cabieces
0034f4922d
fix spellcheck typos
2021-08-23 17:35:54 +02:00
Julien Cabieces
96eb75a118
[ExternalStorage] add WebDAV external storage implementation
2021-08-23 17:35:52 +02:00
Damiano Lombardi
0ce7f90350
[Attachment widget] Respect relative paths settings by drag&drop ( #44798 )
2021-08-23 14:47:22 +02:00
Juergen E. Fischer
8b2a3360b2
crssync: write settings to temporary directory ( fixes #44793 )
2021-08-23 13:54:03 +02:00
Loïc Bartoletti
48b0d627e6
[Fix][MapTool] Fix M support for circle map tool ( #43722 )
...
Follow up #42812 , #42986 and #43060
Co-authored-by: Antoine Facchini <antoine.facchini@oslandia.com>
2021-08-23 11:06:45 +02:00
Nyall Dawson
298f368760
[ams] Tiled layers in non-meters based projections work fine
...
Tested on a variety of US state plane layers and WGS84 tiled sources
2021-08-23 17:11:48 +10:00
Antoine Facchini
1b8be09c2b
add test for multi line geometries with a single part and update the error string
2021-08-23 15:00:41 +10:00
Antoine Facchini
0ad4a7d95b
Handling MultiLineString geometry
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-08-23 15:00:41 +10:00
Antoine Facchini
68ab811929
Add const to geom variable
...
Co-authored-by: Julien Cabieces <julien.cabieces@oslandia.com>
2021-08-23 15:00:41 +10:00
Antoine Facchini
7cdad5bfd9
Update resources/function_help/json/straight_distance_2d
...
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2021-08-23 15:00:41 +10:00
Antoine Facchini
d55b97a5d5
add straight distance expression help
2021-08-23 15:00:41 +10:00
Antoine Facchini
ff8bc653f7
add tests for straight_distance_2d expression
2021-08-23 15:00:41 +10:00
Antoine Facchini
bffaabe648
add straight distance expression
2021-08-23 15:00:41 +10:00
nirvn
f7ffa42a0e
Add test coverage for QgsFileUtils' representFileSize function
2021-08-23 10:42:54 +07:00
Mathieu Pellerin
b171ba1c12
Improve QgsFileUtils' representFileSize by appending decimal values to MB and above file sizes
2021-08-23 10:42:54 +07:00
Mathieu Pellerin
42da0d5932
[processing] Remove dots from progress feedback in the file downloader algorithm
2021-08-23 10:42:54 +07:00
Nyall Dawson
68dd86c70f
Don't try to update joined attributes during form initialization
...
Refs #44768
2021-08-23 13:23:23 +10:00
Nyall Dawson
8770d178f7
Fix crash when opening form with joined attributes
...
Fixes #44768
2021-08-23 13:23:23 +10:00
Alexander Bruy
cfc72ca5f9
handle new point cloud parameter in description files (follow up
...
f801cb6816)
2021-08-23 09:18:35 +10:00
MorriganR
e35bff790f
fix CI testqgsnetworkaccessmanager ( #44769 )
2021-08-23 09:17:38 +10:00