72070 Commits

Author SHA1 Message Date
Nyall Dawson
d0beaae3a4 Move QgsSublayersDialog::PromptMode enum to Qgis and rename 2021-07-13 06:39:11 +10:00
Nyall Dawson
e01dc5d769 Special handling for aigrid base/group names 2021-07-13 06:39:11 +10:00
Nyall Dawson
ecd185fd8f Cleanup layer name handling 2021-07-13 06:39:11 +10:00
Nyall Dawson
829ef1f7a4 Don't return empty layer names for mdal sublayers 2021-07-13 06:39:11 +10:00
Nyall Dawson
d7d50c5154 Fix sublayer name of aigrid files with uris pointing to .adf file 2021-07-13 06:39:11 +10:00
Nyall Dawson
1321b33dde Double click to add single layer 2021-07-13 06:39:11 +10:00
Nyall Dawson
5e41371f02 WIP 2021-07-13 06:39:11 +10:00
Nyall Dawson
b5a2b32053 Finish porting mesh sublayer handling 2021-07-13 06:39:11 +10:00
Nyall Dawson
41d2206890 Port mesh layer adding to new api/dialog 2021-07-13 06:39:11 +10:00
Nyall Dawson
d44f31000d Start depreating 2021-07-13 06:39:11 +10:00
Nyall Dawson
9796aa3b88 Create new QgsProviderSublayersDialog class
Based on QgsProviderSublayerDetails, this new dialog nicely handles
mixed layer type files (e.g. mixed vector/raster/mesh layer formats).

It also:

- Resolves geometry types in a background thread, to avoid lengthy
application hangs whenever a full table scan is required to determine
available geometry types
- Shows a handy search filter box for filtering sublayers to matching
strings
- Shows icons representing sublayer types
- Has an interactive label showing the file path which can be clicked
to open a file explorer focused on the file
2021-07-13 06:39:11 +10:00
Nyall Dawson
3ff67896a5 Consider sublayers with unknown counts as incomplete details 2021-07-13 06:39:11 +10:00
Nyall Dawson
e685ad00b3 Add methods to return QgsProviderSublayerDetails corresponding
to QModelIndex
2021-07-13 06:39:11 +10:00
Nyall Dawson
c04140443b Equality operator for QgsProviderSublayerModel.NonLayerItem 2021-07-13 06:39:11 +10:00
Nyall Dawson
94b7ef9ea9 Don't show an icon for unknown geometry types 2021-07-13 06:39:11 +10:00
Mathieu Pellerin
f7646705cc
Merge pull request #44099 from domi4484/fix44087MissingTypeNamesForURIRegexMemoryProvider
Added missing type names to uri parsing regex for memory provider
2021-07-12 20:05:54 +07:00
Damiano Lombardi
bd22811db7 Regex as cons thread_local 2021-07-12 13:30:23 +02:00
Sandro Mani
7d13ccee5a
Merge pull request #44112 from qgis/collision
Rename _serialize -> __serialize
2021-07-12 12:05:26 +02:00
Vincent Cloarec
d2fae52497
adapt 3D for live update with mesh editing (#44025) 2021-07-12 11:17:39 +02:00
Damiano Lombardi
b2c28b03a4 Default length/precision for double/real fields 2021-07-11 15:11:49 +02:00
Damiano Lombardi
eaa9fa97b9 MemoryProvider respect field name when parsing a URI with unknown typeName 2021-07-11 12:01:50 +02:00
Damiano Lombardi
e74585c238
Update src/core/providers/memory/qgsmemoryprovider.cpp
Co-authored-by: Andrea Giudiceandrea <andreaerdna@libero.it>
2021-07-11 10:48:03 +02:00
Alessandro Pasotti
aa64b29a5d
Merge pull request #43993 from elpaso/bugfix-gh43978-value-relation-qlr-load
Fix value relation QLR loading bug
2021-07-11 10:06:14 +02:00
Alessandro Pasotti
df604541b0
Merge pull request #43785 from elpaso/bugfix-gh43061-save-action-disabled-on-embedded-relation-form-when-transaction
Enable save icon for embedded relations in same transaction group
2021-07-11 10:05:44 +02:00
Alessandro Pasotti
91370a9082
Merge pull request #44051 from elpaso/connections-api-results-widget
Connections api results widget
2021-07-10 15:30:37 +02:00
Even Rouault
2071cd80d6
Merge pull request #44094 from nirvn/filedownloaderalg_throw_fix
[processing] Fix file download alg stuck in infinit loop when network errors occur
2021-07-10 11:49:59 +02:00
Sandro Mani
1d73fcb33f Rename _serialize -> __serialize to fix collision with _serialize from serializeintrin.h 2021-07-10 11:19:27 +02:00
Harrissou Sant-anna
72626d17e6 Mention 3.20 url in c++ api website 2021-07-10 06:36:35 +10:00
Sandro Mani
3abd80cffa Update qgspathresolver.sip.in 2021-07-10 06:35:19 +10:00
Sandro Mani
ed16882c18 Use $ rather than @ in documentation 2021-07-10 06:35:19 +10:00
Alessandro Pasotti
542806343c Flake 8 2021-07-09 18:04:14 +02:00
Alessandro Pasotti
e79c3c3a16 Move test 2021-07-09 17:57:19 +02:00
Alessandro Pasotti
48deba5c1e Fix value relation QLR loading bug
Fixes #43978
2021-07-09 17:56:42 +02:00
Alessandro Pasotti
a94e089490 Better logic for sql layer tests 2021-07-09 17:53:40 +02:00
Damiano Lombardi
48cc393dbd Added missing type names to uri parsing regex for memory provider
- This was causing strange field names when cloning layers. fixes #44087
- Some code cleanup + QRegexp replaced with QRegularExpression
2021-07-09 13:12:26 +02:00
Mathieu Pellerin
4f6f4be425 [processing] Fix file download alg stuck in infinit loop when network errors occur 2021-07-09 12:41:53 +07:00
Matthias Kuhn
f0838764b8
Merge pull request #43854 from gacarrillor/addtopologicalpoints_results
Fix return value of addTopologicalPoints(QgsGeometry)
2021-07-08 17:34:25 +02:00
Alessandro Pasotti
3cac2e7598 Label POSTGRES test 2021-07-08 15:27:58 +02:00
Matthias Kuhn
f3da9993f0
Merge pull request #43788 from MorriganR/postgresTestWithRemoteDbV2
Additional test for postgres (ver.2)
2021-07-08 14:16:50 +02:00
Mathieu Pellerin
754328cbd0
[feature][expression] Add exif() and exif_geotag() functions to the QGIS expression engine (#44081) 2021-07-08 17:36:12 +07:00
MorriganR
b7ef263ee4 additional postgres test with latency up to DB 2021-07-08 12:18:12 +03:00
Matthias Kuhn
734149253b
Allow dispatching stale issues 2021-07-08 11:07:17 +02:00
Matthias Kuhn
507aa68461
Bump the number of stale issue operations 2021-07-08 11:05:37 +02:00
mhugent
011478ea06
Merge pull request #43838 from mhugent/annotation_inline_html
Feature: Annotation item inline html
2021-07-08 09:56:04 +02:00
Mathieu Pellerin
8a4683f737
[feature][exiftools] Implement tags reading, allow for individual tag value read (#44076) 2021-07-08 14:13:25 +07:00
Alessandro Pasotti
aaff7cebf3
Merge pull request #43520 from Gustry/version
[CLI] Add --version and -v to know QGIS version
2021-07-07 15:25:40 +02:00
Alessandro Pasotti
9d5d43ea4c Update oracle connection capabilities 2021-07-07 14:36:03 +02:00
Alessandro Pasotti
878b2436a5 Address PR comments - part 2 2021-07-07 12:43:14 +02:00
Sandro Mani
d3d75a1d8d
Merge pull request #43871 from kadas-albireo/extent_for_scale
Add QgsMapSettings::computeExtentForScale and QgsMapSettings::computeScaleForExtent
2021-07-07 11:01:30 +02:00
nirvn
09760f07f0 Preserve python compatibility 2021-07-07 13:46:11 +07:00