Belgacem
3a014ae0bf
make identification work with point size
2021-01-13 15:47:40 +01:00
Belgacem
4f3f95a841
raycast intersection with node bounding box
2021-01-13 15:47:40 +01:00
nirvn
8a85cae92c
[processing] Add 'thiessen' tag to QGIS' voronoi polygons algorithm
2021-01-13 15:42:06 +10:00
Nyall Dawson
a8c3b02cdd
Correctly expose QgsLayoutItemAttributeTable::getTableContents to sip,
...
so that this class can be reused from Python classes
Fixes https://github.com/gltn/stdm/issues/411
2021-01-13 14:56:09 +10:00
Julien Cabieces
579d55f286
[OTB] Fixes empty string parameters ( #40957 )
2021-01-13 11:16:18 +10:00
Denis Rouzaud
dcd3c32458
fix sipify
2021-01-12 13:02:56 +01:00
Denis Rouzaud
aac558dd59
follow up + some forward declarations
2021-01-12 12:52:23 +01:00
Denis Rouzaud
a6404da815
separate QgsAttributeEditorElement into several files
2021-01-12 12:52:20 +01:00
Denis Rouzaud
ca37a56763
Merge pull request #40947 from 3nids/rel-reg-f2
...
move reading from XML logic from QgsEditFormConfig to QgsAttributeEditorElement
2021-01-12 10:29:11 +01:00
Denis Rouzaud
9e5b614189
fix legacy config before creating elements to avoid passing widget config
2021-01-12 08:24:35 +01:00
Nyall Dawson
3feda231b8
Update comment
2021-01-12 13:47:19 +10:00
Nyall Dawson
9cf44e4a66
Loosen grass test crs requirement to allow passing on proj < 6
2021-01-12 13:47:19 +10:00
Nyall Dawson
b295bd5803
[processing][grass] Export CRS definitions as WKT2 strings instead
...
of proj strings wherever possible
Because proj strings are lossy
Fixes #18596
2021-01-12 13:47:19 +10:00
Nyall Dawson
c703d81c9c
[processing] Fix exception after running algorithm in modeler
...
Fixes #40907
2021-01-12 13:38:01 +10:00
Nyall Dawson
44c2a26074
Add utility functions to determine if a QgsExpression is a simple
...
"field=value" type expression, and for condensing a list of similar
expressions to an equivalent "field IN (value, value2,...)" expression
wherever possible
2021-01-12 12:16:50 +10:00
Matthias Kuhn
74d053242e
Add new field for geoid-ellipsoid diff
2021-01-12 10:25:19 +10:00
Denis Rouzaud
a6aecf5ff5
deprecate QgsEditFormConfig::attributeEditorElementFromDomElement
2021-01-11 21:51:54 +01:00
Denis Rouzaud
3f717cb395
move reading from XML logic from QgsEditFormConfig to QgsAttributeEditorElement
...
so it lives in the same place than saving the config
2021-01-11 21:51:54 +01:00
Denis Rouzaud
1656ef2987
move the config to QgsAttributeEditorRelation + fix cloning ( #40941 )
2021-01-11 21:47:09 +01:00
GeoJulien
4d8660375d
Remove trailing space
2021-01-12 06:02:57 +10:00
GeoJulien
74fb453f99
fix confused copy/paste
2021-01-12 06:02:57 +10:00
GeoJulien
05d836b4ce
Use QDesktopServices instead of deprecated iface.openUrl
2021-01-12 06:02:57 +10:00
Nyall Dawson
ad944156c8
[feature][layouts] Add menu entry to add dynamic text labels
...
easily to a layout
The new "Add Item" -> "Dynamic Text" menu contains a bunch of preset
handy dynamic text expressions which users can use to insert a label
automatically containing the corresponding expression. E.g.
Add Item -> Dynamic Text -> Layout Name
will insert a label containing the expression [% @layout_name %].
This raises discoverability and user-friendliness of inserting
dynamic labels
2021-01-12 04:32:19 +10:00
Nyall Dawson
7478bca68d
[processing] Don't use authid to compare layer CRSes
...
Instead of QgsCoordinateReferenceSystem == operator, so that we
can correctly test equality of non-standard CRSes
2021-01-11 13:06:05 +10:00
Nyall Dawson
f8e5e0bf7e
Improve python repr string for QgsCoordinateReferenceSystem
...
- Indicate invalid crses
- If crs doesn't have an authid, use wkt representation
2021-01-11 13:06:05 +10:00
Matthias Kuhn
e0ad337a2f
NMEA calculate 3D RMS
2021-01-11 12:25:05 +10:00
Matthias Kuhn
60b884d4f4
Merge pull request #34988 from mrylov/hana-provider
...
[FEATURE] HANA database provider
2021-01-10 09:45:42 +01:00
Nyall Dawson
9ee5e5646a
Update tests
2021-01-09 07:16:14 +10:00
Nyall Dawson
716e74c74a
[processing] Use correct means to escape " values in GDAL commands
2021-01-09 07:16:14 +10:00
Nyall Dawson
b14dc49c85
[processing] Catch the gdal process console progress report output
...
and show algorithm progress bars when running GDAL algorithms
2021-01-09 07:16:14 +10:00
Nyall Dawson
54ec5acf1f
[processing] GDAL algorithms can now be canceled!
...
Previously there was no way to terminate the GDAL process, so if you
accidently got some parameter values wrong it was very easy to end
up with a quasi-endless, non-cancelable gdal algorithm burning away cpu in the
background of a qgis session... ouch!
2021-01-09 07:16:14 +10:00
Nyall Dawson
50b5e563af
[processing] Use QgsBlockingProcess instead of subprocess to run GDAL algorithms
...
This gives us much more flexibility when running the process, as we can
now do things like report feedback messages directly without having
to resort to potentially unsafe event loops regardless of whether the
algorithm is run in the main or a background thread.
2021-01-09 07:16:14 +10:00
Nyall Dawson
e79922b2cc
[processing] Return log lines from GdalUtils.runGdal instead of storing
...
in a class member
The previous approach was NOT thread safe, and it's easy to avoid
2021-01-09 07:16:14 +10:00
Nyall Dawson
02f861c339
[processing] Translate some strings when running gdal algorithms
2021-01-09 07:16:14 +10:00
Nyall Dawson
ddf19ac4c3
Add method to retrieve exit status of process
2021-01-09 07:16:14 +10:00
Denis Rouzaud
0fc4aee612
Merge pull request #40721 from suricactus/relregistry
...
Support multiple relation editors via relation widget registry
2021-01-08 21:39:39 +01:00
Ivan Ivanov
6620bb900e
Removed the deprecated methods, will be implemented in Python only
2021-01-08 16:03:50 +02:00
Ivan Ivanov
770856959b
Fix breaking tests
2021-01-08 14:12:08 +02:00
Ivan Ivanov
ebddedd955
Fix wrong usage of mFeatureSelectionMgr in the abstract class
2021-01-08 13:58:11 +02:00
Denis Rouzaud
6061030f96
enable dynamic SVGs for fill symbol ( #40902 )
2021-01-08 12:02:31 +01:00
Denis Rouzaud
0120e0f775
Merge pull request #40892 from 3nids/svg-dyn-gui
...
GUI for dynamic SVGs
2021-01-08 09:19:26 +01:00
Nyall Dawson
0d785c8a84
Add method to retrieve QgsVertexMarker center point in map coordinates
2021-01-08 10:37:30 +10:00
Ivan Ivanov
5d47b5d8f9
Convert cpp type to python type
2021-01-07 17:06:57 +02:00
Denis Rouzaud
defb091c48
add missing dox
2021-01-07 15:52:23 +01:00
Denis Rouzaud
9161a8c8b5
gui for dynamic SVGs
2021-01-07 15:02:26 +01:00
Denis Rouzaud
17500a7ee7
Merge pull request #40596 from 3nids/dynamic_svgs
...
core part to handle dynamic SVGs
2021-01-07 14:57:57 +01:00
Ivan Ivanov
bb7f411304
Rename to Abstract prefix
2021-01-07 15:42:21 +02:00
Denis Rouzaud
0f68ad82dc
fix building server without plugins (or without python) ( #40869 )
2021-01-07 14:12:32 +01:00
Stefan Uhrig
cf5180a051
Merge branch 'master' of https://github.com/qgis/QGIS into hana-provider
2021-01-07 12:18:53 +01:00
Nyall Dawson
a39e1625c0
[api] Add new class to run a process in a blocking manner without
...
QEventLoop related issues on the main thread
This class should be used whenever a blocking process run is required.
Unlike implementations which rely on QApplication::processEvents()
or creation of a QEventLoop, this class is completely thread safe
and can be used on either the main thread or background threads without
issue.
Execution supports use of a QgsFeedback object to support termination
of the process.
2021-01-07 06:01:39 +10:00