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
Alessandro Pasotti
f1a886a9a0
Merge pull request #34227 from elpaso/bugfix-gh34226-layer-deps-double-load
...
Fix layer dependencies double load of layers
2020-02-04 16:17:45 +01:00
nirvn
0815ad487a
Fix user projection not identified as such
2020-02-04 19:43:39 +07: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
644a5525ec
Don't force users to make a choice in the datum transform dialog
...
It's possible to get a situation where none of the options can be
selected, because they all require a grid which isn't available on
the system. So always allow users to close the dialog to dismiss it
(which has the same effect as picking the default selection from
the dialog when possible, or giving null transforms if NO transforms
are available at all...)
Fixes #34234
2020-02-04 16:55:30 +10:00
Nyall Dawson
941f59f045
Add "install grid" button to coordinate operation widget when a grid is missing
...
This syncs the coordinate operation widget UX with other grid-related handling
widgets, where a user-friendly option to install a grid file is presented
2020-02-04 16:55:30 +10: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
Nyall Dawson
76808f6e18
Fix awkward group box title
2020-02-04 16:51:29 +10:00
Nyall Dawson
c6319b2639
Show 'unknown CRS' in status bar instead of blank text when project
...
CRS is set to an unknown CRS
Refs #33458
2020-02-04 16:51:29 +10:00
nirvn
ab8622736b
Follow up 012ee83: delete .qpj file when overwriting pre-existing shapefile dataset
2020-02-04 11:58:46 +07:00
Nyall Dawson
caf334e65b
Fix crash when changing raster data source
...
Fixes #34231
2020-02-04 14:02:30 +10:00
Nyall Dawson
1f79485f8f
Don't use deprecated QCoreApplication::hasPendingEvents method
...
This was deprecated by qt for numerous reasons, but mostly because
it was totally misleading in a lot of circumstances.
2020-02-04 13:13:19 +10:00
Peillet Sebastien
859f741355
BUG: fix add vertex from end point for CompoundCurveZ in gpkg
...
fix #32080
2020-02-04 11:42:12 +10:00
uclaros
ae5ffd46b2
deleted unused variables
2020-02-04 10:28:39 +10:00
uclaros
c77e994090
Fixed issue with vertex tool rectangular selection on a rotated map canvas
2020-02-04 10:28:39 +10:00
nirvn
012ee83e85
Avoid CRS detection via .qpj when using GDAL3/PROJ6 ( fixes #34211 )
2020-02-04 10:17:09 +10:00
lbartoletti
3f737d558a
replace mPoints.size() < 1 by mPoints.empty() and fix logic with rubber band
2020-02-04 08:18:15 +10:00
lbartoletti
2331b8e862
add tests
2020-02-04 08:18:15 +10:00
lbartoletti
40f7c873fc
While I'm here, unallow to add useless points
2020-02-04 08:18:15 +10:00
lbartoletti
38333db47e
Unfocus regular polygon widget
2020-02-04 08:18:15 +10:00
lbartoletti
8a88ce6a56
Fixes #25597 Allow use of Backspace key to undo vertex added
2020-02-04 08:18:15 +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
lbartoletti
c3898d9aa4
[FreeBSD] Update FindGRASS.cmake
2020-02-04 07:43:59 +10:00
nirvn
f072e09add
Fix Qt53DExtrasConfig.cmake syntax which triggers error on ubuntu 20.04 (cmake 3.13)
2020-02-04 05:39:14 +10:00
Nyall Dawson
bb20cee00a
Handle unit type "m" in custom WKT strings on proj 6 builds
...
Fixes #34196
2020-02-04 05:37:50 +10:00
Alessandro Pasotti
d06f2d8188
Do not insert 0x0 in XML
...
Fixes #34218
2020-02-04 05:37:00 +10:00
Alessandro Pasotti
e5edf52e0c
Fix layer dependencies double load of layers
...
Fixes #34226
2020-02-03 18:40:16 +01:00
Denis Rouzaud
dd19eb8e94
add missing include of spatialindex ( #34220 )
...
fixes build on macos
2020-02-03 14:54:20 +01: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
Nyall Dawson
db40d88e8d
Fix memory leaks
2020-02-03 17:04:53 +10:00
Alessandro Pasotti
033f90193f
Memory layers clone: use updated source
...
Fixes #34134
2020-02-03 12:19:54 +10:00
Nyall Dawson
835a4a0a21
Fix leak
2020-02-03 12:15:41 +10:00
Alessandro Pasotti
6d7072a6bb
Remove test case on not existent view
2020-02-03 08:26:06 +10:00
Alessandro Pasotti
4362c2827c
Tests for PG views PKs ordering
2020-02-03 08:26:06 +10:00
Alessandro Pasotti
900166fb3c
Fix PG views PK
...
Fixes #34167
2020-02-03 08:26:06 +10: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
Even Rouault
e37afc83d3
Fix nullptr dereference when opening project with broken mesh provider
2020-02-03 05:50:15 +10:00
Even Rouault
89546fc4dc
Fix various nullptr dereference when opening project with broken vector provider
...
Found when replacing <provider>ogr</provider> by something else.
Number of nullptr checks in QgsVectorLayer class have been just added for
consistency. Some might not be triggerable.
2020-02-03 05:50:15 +10:00
Even Rouault
2eeceb5fa8
Fix various nullptr dereference when opening project with broken raster provider
...
Found when replacing <provider>gdal</provider> by something else.
Number of nullptr checks in QgsRasterLayer class have been just added for
consistency. Some might not be triggerable.
2020-02-03 05:50:15 +10:00
Nyall Dawson
f9f1ad70a6
Task manager deprecation warning fixes
2020-02-03 05:48:57 +10:00
Nyall Dawson
a2f37ccc5d
[processing] Use a list of previous temporary folders, so that we can defer
...
cleanup of ALL of them until session end
2020-02-03 05:48:02 +10:00
Nyall Dawson
9e4a53b9c4
[processing] Ensure that any user set temporary folders actually exist, or things go wrong...
2020-02-03 05:48:02 +10:00
Nyall Dawson
5e7ee6975d
Improve test
2020-02-03 05:48:02 +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
Andrea Giudiceandrea
efe59758e1
Fix "Densify by interval" alg
...
Fixes #33470
2020-02-02 12:21:12 +10:00
Matthias Kuhn
73f707e02d
Merge pull request #34184 from m-kuhn/azure-osuosl
...
[azure] Switch osgeo mirror to osuosl
2020-02-01 15:08:02 +01:00