Nyall Dawson
a34eabd1fb
[api] Add a proper registry for 3D symbol types
2020-07-23 07:53:20 +10:00
Nyall Dawson
f60b79fcea
Move QgsAbstract3DSymbol to core
2020-07-23 07:53:20 +10:00
Nyall Dawson
aa93872f0d
Provide more descriptive error messages when converting a field value
...
fails
And fix Python exception handling in QgsField::convertCompatible to
avoid Python "returned an object with the error set" error message
and instead just use the proper ValueError exception with a descriptive
exception message
2020-07-23 07:52:28 +10:00
Nyall Dawson
c912564452
[processing] Better error reporting when features fail to be added to an output
...
Use a descriptive error message which explains why the feature addition failed,
instead of a generic error message
2020-07-23 07:51:58 +10:00
Nyall Dawson
3eec9a47f0
Add a lastError() getter to QgsFeatureSink for retrieving the last error
...
encountered by the sink (e.g. after adding a feature fails)
2020-07-23 07:51:58 +10:00
Nyall Dawson
262a193497
[processing] Remove restrictive length limitations on created fields
2020-07-23 07:51:39 +10:00
nirvn
518cc16e87
Add additional output strings to help model making
2020-07-22 19:11:50 +07:00
nirvn
8c61a803fc
[FEATURE][processing] Add a save features to file algorithm
2020-07-22 19:11:50 +07:00
Nyall Dawson
05be43da55
[ogr] Automatically set QGIS field alias if OGR is able to read one
...
from the underlying datasource
Supported on GDAL >= 3.2, for the file geodatabase driver only
2020-07-22 15:39:27 +10:00
Matthias Kuhn
dac3f008c2
Merge pull request #37901 from mitya57/sip5
...
Add support for SIP v5 to the build system
2020-07-22 07:26:43 +02:00
Nyall Dawson
ee4797973d
Fix ellipse symbol layer doesn't reflect feature selection state
...
Fixes #37893
2020-07-22 13:08:16 +10:00
nirvn
c8c0dcdf0b
[vector file writer] LIBKML driver also requires coordinates to be in wgs84
2020-07-22 08:37:13 +10:00
DiGro
f0b62fb001
Corrected description Minority and Majority
...
Line 68 : " <li>Minority (most frequent value)</li>" should probably be " <li>Minority (least frequent value)</li>"
Line 69 : " <li>Majority (least frequent value)</li>" should probably be " <li>Majority (most frequent value)</li>"
2020-07-22 08:36:41 +10:00
Nyall Dawson
0d944fb314
Fix flexible aspect ratio is ignored when rendering marker svg symbols
2020-07-22 06:47:00 +10:00
Dmitry Shachnev
0506895753
Make FindPyQt5.py compatible with SIP v5
2020-07-21 21:49:46 +03:00
Dmitry Shachnev
426098bb86
FindPyQt5.py: Read version and SIP flags directly from PyQt5
...
And fix Qt version tag detection.
2020-07-21 21:46:24 +03:00
Dmitry Shachnev
e78841214e
Generate sip.h in source directory for SIP v5
2020-07-21 21:21:21 +03:00
Dmitry Shachnev
d0c4e0de9d
Use SIP_INCLUDE_DIR and SIP_MODULE_DIR only with SIP v4
2020-07-21 21:21:21 +03:00
Dmitry Shachnev
33b58dd7e8
Make FindSIP.py compatible with SIP v5
2020-07-21 21:21:21 +03:00
Peter Petrik
d9f18ccb9c
Fix spelling ( #37849 )
...
fix the spelling errors
2020-07-21 12:51:48 +02:00
Nyall Dawson
9fedd2c581
Tight crop for helicopter symbol
2020-07-21 16:27:32 +10:00
Nik Clement
2ccf6089b5
Addition of Helicopter svg marker
...
The organisation I work for operates helicopters and I've built this svg file to allow me to use this as a marker. I've named the file in the convention of other files and placed into the appropriate folder, while testing to ensure the marker can be colourised in the same way as other svg markers.
I'm adding this as others might benefit from the work I've done.
2020-07-21 16:27:32 +10:00
Dmitry Shachnev
7e93859dfd
Replace deprecated sipTransferBreak with sipTransferTo
2020-07-21 13:18:40 +10:00
Dmitry Shachnev
d9db0d5159
Remove use of deprecated sipCanConvertToEnum
...
sipConvertToEnum will raise an exception itself if the type is wrong.
2020-07-21 13:18:40 +10:00
Dmitry Shachnev
ae8b427fe9
Replace deprecated sipMappedType with sipTypeDef
2020-07-21 13:18:40 +10:00
Andrea Giudiceandrea
23f0e017ed
Fix missing line feeds and a typo in qgsprocess
2020-07-21 13:18:19 +10:00
Harrissou Sant-anna
8bf698074d
Fix formatting
2020-07-21 10:16:00 +10:00
Harrissou Sant-anna
4e2cf102e0
Add precision to multipoint feature $x and $y functions
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-07-21 10:16:00 +10:00
Harrissou Sant-anna
5901d5dc6f
Add precision and examples to x, y and z expression functions
2020-07-21 10:16:00 +10:00
Harrissou Sant-anna
d4e60173bc
Fix after review
2020-07-21 10:13:45 +10:00
Harrissou Sant-anna
140425b1e3
Fix file formatting for better output rendering
2020-07-21 10:13:45 +10:00
Harrissou Sant-anna
5c83cd07cc
Move some cpp code samples to python
2020-07-21 10:13:45 +10:00
Alexandre Neto
83836766be
Apply suggestions from Havart
...
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
2020-07-21 10:12:13 +10:00
Alexandre Neto
fe9e14a5dd
Apply suggestions from code review
...
Co-authored-by: Håvard Tveite <havard.tveite@nmbu.no>
2020-07-21 10:12:13 +10:00
Alexandre Neto
ea6c0446eb
Apply suggestions from code review
...
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2020-07-21 10:12:13 +10:00
Alexandre Neto
ce5a643857
Improve CASE help
2020-07-21 10:12:13 +10:00
Alexandre Neto
c345622723
Fix some HTML syntax to play better with the QGIS-Documentation script
2020-07-21 10:12:13 +10:00
Alexandre Neto
6d2ccb4e3b
Update help files
2020-07-21 10:12:13 +10:00
Alexandre Neto
9c631e7d96
Remove obsolete help files
...
Add missing group help files
2020-07-21 10:12:13 +10:00
Dan Minor
bfc0925bbf
Call saveSettings from QgsCompoundColorWidget::hideEvent
...
We currently call saveSettings from the QgsCompoundColorWidget destructor.
Since we restore the custom colors when the constructor runs, any changes made
will be lost if a second QgsCompoundColorWidget is created before the first is
destroyed. This adds a hideEvent handler, and saves the settings from there.
Fixes #37749 .
2020-07-21 09:56:24 +10:00
Lancelot SIX
9d41db14cc
createUserProfile: ensure qgis.db file is user writable
...
In some package managers (such as NIX[1], used in NixOS[2]), packaged
data is installed read-only.
When creating a new user profile, QGis copies the `qgis.db` file from
the packages and the user ends having a read-only `qgis.db` database.
This commit ensures that once copied when creating a ne profile, the
`qgis.db` file is made user writable.
[1] https://nixos.org/nix/
[2] https://nixos.org/
2020-07-21 09:50:36 +10:00
Nyall Dawson
ffe8f03bb0
Fix various build warnings
2020-07-21 09:44:31 +10:00
Andrea Giudiceandrea
33fe1eac27
Fix invalid randompointsonlines algorithm ID in menus.py
...
Fix invalid algorithm ID for menu: qgis:randompointsonlines
The valid algorithm ID is native:randompointsonlines
2020-07-21 09:07:51 +10:00
Alexander Bruy
d0dda27afa
Merge pull request #37876 from alexbruy/fix-cmake
...
fix argument in the CMake IF statement (followup 4009fa8e22)
2020-07-20 16:40:17 +03:00
Alexander Bruy
60397ffa42
fix argument in the CMake IF statement (followup 4009fa8e22)
2020-07-20 12:21:27 +03:00
Julien Cabieces
45251db5b8
Fixes #37342 : manage Postgres parallel plans when estimating row count
2020-07-20 09:00:28 +02:00
Alessandro Pasotti
3af038f861
Merge pull request #37832 from elpaso/browser-create-table
...
Browser create database table
2020-07-18 17:18:16 +02:00
Alessandro Pasotti
850826cc9b
Added a comment
2020-07-18 11:14:11 +02:00
Alessandro Pasotti
2b3c680b45
Use notify for consistency
2020-07-18 11:13:54 +02:00
Alessandro Pasotti
d466f13365
MSSQL: enable refresh in schema items
2020-07-18 11:13:01 +02:00