16565 Commits

Author SHA1 Message Date
Nyall Dawson
5566c5349d Fix deprecated api use in QgsDataDefinedSizeLegend, port away from ints to
make more layout export friendly
2020-02-07 17:19:47 +10:00
lbartoletti
927d10c7dc
Fix oriented minimum bounding box algorithm
Fixes #33532
2020-02-07 09:02:06 +10:00
Nyall Dawson
ff839a4456 [needs-docs][gps] Fix mouse cursor GPS distance display for touch screen devices
On touch screen devices, we can't show the GPS distance status bar message
as the cursor moves (because there's no "hover" mouse move events to trigger
this from). So for these devices, use a tap-and-hold event to trigger the
"current GPS distance from finger" status bar message.
2020-02-07 06:05:49 +10:00
Nyall Dawson
d2639bc662
Fix mention of compositions in dox (#34318) 2020-02-06 06:19:30 +01:00
Harrissou Sant-anna
224d6bc03f Add some missing dox and reference 2020-02-06 13:22:12 +10:00
Nyall Dawson
60d89ecc3a Fix clearing colors for selection of mixed color cells in table editor 2020-02-06 04:33:56 +10:00
Nyall Dawson
b8a12be5b7 Fix more qt deprecation warnings 2020-02-05 14:06:31 +10:00
Nyall Dawson
05c3186324 Fix outdated reference to GeoAlgorithmExecutionException in dox 2020-02-05 12:54:45 +10:00
lbartoletti
6fe51c4207 Close vertex for line when editing. fixes #32359 [needs-docs] 2020-02-05 05:00:06 +10:00
Nyall Dawson
692a14090b [needs-docs] Rename "Define layer projection" to "Define Shapefile projection"
This algorithm ONLY works on shapefile inputs, so make that clear in the algorithm's
display name and helper strings
2020-02-05 04:56:29 +10:00
Nyall Dawson
dae36b343e Remove qpj files when defining shp projection from processing and Proj >= build
is present

These files aren't/shouldn't be used under proj 6 builds
2020-02-05 04:56:29 +10:00
Nyall Dawson
f41dd11e92 [processing] Define Layer Projection tool should write .prj files
using WKT1 ESRI format, not GDAL

Fixes #34007
2020-02-05 04:56:29 +10:00
Matthias Kuhn
96a7fb8f5a
Merge pull request #34207 from strk/test-profile-temp
Set QGIS_CUSTOM_CONFIG_PATH to temporary dir for python tests
2020-02-04 08:57:46 +01:00
Nyall Dawson
fac99702b4 Show "Unknown CRS" entry in crs selector widget when the source CRS
of a layer or project is unknown

Because:
1. It clearly indicates that the current CRS for the object is unknown
2. It lets users see the full WKT/proj definition of the CRS, and allows
them to copy this definition
3. Avoids loss of CRS information when just opening and accepting the dialog

Refs #33458
2020-02-04 16:51:29 +10:00
Andrea Giudiceandrea
02a6fd40cd Fix "Random points along line" alg
Fixes "Random points along line" (qgis:randompointsalongline) algorithm.
See https://github.com/qgis/QGIS/issues/33156#issuecomment-581395400
2020-02-04 08:13:03 +10:00
Andrea Giudiceandrea
e82ba52584 Fix "Random points along line" alg
Fixes "Random points along line" (qgis:randompointsalongline) algorithm
Fixes #33156
2020-02-04 08:13:03 +10:00
Nyall Dawson
19d58bda08 Show full CRS WKT for custom CRS in layer properties
Fixes #33862
2020-02-03 18:55:05 +10:00
Sandro Santilli
c23a19793a Set QGIS_CUSTOM_CONFIG_PATH to temporary dir for python tests
Partially fixes #34185
See also #34187
2020-02-03 09:28:38 +01:00
Shiva Reddy
7583d52ef6 Modify Graphical Modeler title
The menu item and title of the dialogue is now same i.e Graphical Modeler
2020-02-03 05:51:16 +10:00
Nyall Dawson
06082a15c0 [processing] Improve temporary directory handling
- Make the new Temp Folder setting optional, default to an empty
string, and note that empty = use default
- Move responsibility for cleanup of temporary folders to c++ (if
Processing Python part crashes, or doesn't exist, then we still
want these cleaned up correctly)
2020-02-03 05:48:02 +10:00
Nyall Dawson
5ae9807303 [processing] Fix modeler draws lines to wrong output when connecting
the green output boxes back to their linked algorithms
2020-02-01 05:59:22 +10:00
Alessandro Pasotti
949efbd84e DB Manager: fix tests and minor cleanup 2020-01-31 13:35:29 +01:00
Alessandro Pasotti
a6e9050453 DB manager PG connection proper API usage
Fixes #34132
2020-01-31 10:47:28 +01:00
Nyall Dawson
3fb18a2260 [processing] Fix Points Along Geometry handling of multipart geometries
Fixes #34022
2020-01-31 14:46:33 +10:00
Nyall Dawson
d1d7dfe497 [processing] When listing available layer sources for an input in the
model designer, prefer to show the user's defined name for that output
instead of the generic one

Makes it easier to associate inputs with the correct outputs when
creating models
2020-01-31 07:33:44 +10:00
Radoslaw Guzinski
7771c6cea9 [processing] Looks for script algorithm files also in subfolders. 2020-01-30 08:48:54 +10:00
Radoslaw Guzinski
ea0a701d7a [processing] Catch AttributeError and TypeError when loading Processing script algorithms.
Otherwise an error in decorator of one script prevents all scripts from loading.
2020-01-30 08:48:54 +10:00
PedroVenancio
68cbc5b027 Add new -e -n flags
New features in GRASS 7.6: Add -n flag to create aspect as degrees clockwise from North (azimuth), with flat = -9999 (like gdaldem); new -e flag to compute values at edges (like gdaldem -compute_edges).
2020-01-30 08:47:45 +10:00
Harrissou Sant-anna
b0bffba9a1 Add short help to gdal's build virtual vector alg 2020-01-29 11:42:06 +10:00
Harrissou Sant-anna
adf63d6a90 Remove QGIS "build virtual vector" alg help 2020-01-29 11:42:06 +10:00
Nyall Dawson
d2dec2f823 Update test 2020-01-28 12:04:39 +10:00
Andrea Giudiceandrea
41c847136e Remove qgis:pointsalonglines python alg help
after "Points along geometry" algorithm port to C++ since 3.8 qgis\QGIS@f30fcca5ece7019d83d2b385f954a0335c84e7c6 qgis\QGIS#30175
2020-01-28 05:10:22 +10:00
Andrea Giudiceandrea
2c84b43c18 Remove qgis:creategrid python alg help
after "Create grid" algorithm port to C++ qgis/QGIS@9e9ade3903
2020-01-27 16:25:17 +10:00
Matthias Kuhn
5cd1c6d07c
Merge pull request #30758 from stev-0/pg_json
Allows editing of postgres JSON fields from Text Edit Widget
2020-01-23 17:44:26 +01:00
Alessandro Pasotti
65501aceaf
Merge pull request #33797 from roya0045/fix_attr_table
[Bugfix] Allow users to do cell level operation in the attribute table
2020-01-23 13:46:52 +01:00
Sandro Mani
20ea2ae4ae Add QgsProviderMetadata::encodeUri 2020-01-22 13:16:20 +01:00
Sandro Mani
c4a2bb0df0
Merge pull request #33827 from kadas-albireo/custom_render_flags
Add QgsRenderContext::setCustomRenderFlags
2020-01-22 13:14:35 +01:00
Sandro Mani
d604ab72f4 Add QgsRenderContext::setCustomRenderingFlags and QgsMapSettings::setCustromRenderingFlags 2020-01-22 10:38:44 +01:00
Harrissou Sant-anna
85b31cff1a Update qgsfeedback.sip.in 2020-01-21 11:40:42 +10:00
Harrissou Sant-anna
5c4bc34ffb Update qgsmaplayerstyle.sip.in 2020-01-21 11:40:42 +10:00
Harrissou Sant-anna
27da26bf17 Update qgsrasterlayer.sip.in 2020-01-21 11:40:42 +10:00
Nyall Dawson
4f41ba2fcb Fix see also link 2020-01-21 11:28:15 +10:00
Nyall Dawson
cfba5cff00 User standard capitalization 2020-01-21 11:28:15 +10:00
Nyall Dawson
8f1a5f7075 Add since version 2020-01-21 11:28:15 +10:00
Nyall Dawson
ea7cdbdf91 Sipify 2020-01-21 11:28:15 +10:00
Sandro Santilli
d39b6ac77d
Merge pull request #33225 from strk/dbmanager-reconnect-button
DBManager PostgreSQL backend using core APIs instead of psycopg2
2020-01-20 12:05:22 +01:00
Sandro Mani
acb3d3c671
Merge pull request #33876 from kadas-albireo/sipoptinstall
Make it configurable whether to install the sip source files
2020-01-17 20:02:44 +01:00
Stephen Knox
b11b090b94
Merge branch 'master' into pg_json 2020-01-17 14:36:31 +00:00
Denis Rouzaud
18a7cd0659
[FEATURE] Add an option to set the default project file format (qgs/qgz) (#33872) 2020-01-17 12:12:02 +01:00
Sandro Mani
3b9ccf375a Make it configurable whether to install the sip source files 2020-01-17 11:38:16 +01:00