Matthias Kuhn
f36b78c8b1
Set more meaningful text for the project default projection selector
...
Up to now, a default text, referring to "layer" instead of "project" was shown
2019-06-14 12:28:15 +02:00
Matthias Kuhn
84c8cd61ee
Show "no CRS" option in dialog when appropriate
...
The projection selection widget (combobox) has a flag `CrsNotSet` that allows showing an additional entry for selection no CRS.
The projection selection dialog also has this option (setShowNoProjection). However, a dialog started from a widget with the option
set did not have this option set up to now.
2019-06-14 12:28:15 +02:00
Nyall Dawson
5347eb79c6
Clarify acceptable forms for defaultNorthArrow setting
2019-06-14 08:02:34 +07:00
Nyall Dawson
ec8660da0d
Replace hardcoded default north arrow path in validity check
2019-06-14 08:02:34 +07:00
Nyall Dawson
5db0965a26
[layouts] Allow default north arrow path to be specified through settings
2019-06-14 08:02:34 +07:00
Nyall Dawson
ad4a38d1c0
[layouts] Improve north arrow export time validity check to also test
...
for north arrows by checking their default id string
2019-06-14 08:02:34 +07:00
Nyall Dawson
1423ae35d0
Spelling
2019-06-14 08:02:34 +07:00
Nyall Dawson
19be172343
Add missing file
2019-06-14 08:02:34 +07:00
Nyall Dawson
03a8b032c3
Set north arrows ID by default, so that they are identifiable in layout item lists
2019-06-14 08:02:34 +07:00
Nyall Dawson
ab92deee03
[layouts] Warn when exporting a layout with a north arrow not
...
linked to a map item
2019-06-14 08:02:34 +07:00
Nyall Dawson
0ccc8f15ff
[FEATURE][layouts] Add a dedicated toolbar action to create north arrows
...
This is a shortcut to adding a picture item, setting it to a north arrow
picture, and linking it with a map. The end result is identical, but it's
much easier for new users to understand if we expose it as an explicit
"North Arrow" item.
Even experienced users will likely appreciate the improved workflow,
including automatically linking the picture rotation to a sensible
default map choice (if a map is selected, it's used. If not, the
topmost map item under the newly drawn north arrow is used. If there's
none, the layout's 'reference map' (or biggest map) is used as a
fallback)
Fixes #30162
2019-06-14 08:02:34 +07:00
Jorge Gustavo Rocha
562bd2411c
Add missing entry to usage; replace QStringList by QString
2019-06-14 00:18:52 +01:00
Larry Shaffer
26c83dac78
[oauth2] Remove call to override cursor during token refresh
...
Unsafe to work with main GUI thread from background auth threads.
2019-06-14 09:01:10 +10:00
Larry Shaffer
5ede62fd1e
[oauth2] Fix token refresh timeout cancellation with singleshot timer
...
Also, avoid O2 library error by checking for refresh token and URL
2019-06-14 09:01:10 +10:00
Nyall Dawson
78a606188c
Expose some more auth manager methods to Python
...
These methods either
- only wrap QSettings values (so there's no added security gained
by not exposing them -- it's currently easily possible to achieve
the same results via direct QSettings manipulation)
OR
- are required to allow fully automated QGIS deployment/startup
scripts which rely on auth manager functionality
2019-06-14 08:54:44 +10:00
Harrissou Sant-anna
8fdfd7daf8
Add "styles" to the package algorithm tags
...
and harmonize error message
2019-06-14 06:53:48 +10:00
Jorge Gustavo Rocha
598582e17d
add --version|-v command line option
2019-06-13 19:50:17 +01:00
Alexander Bruy
3a0fb544b3
[processing] fix method name
2019-06-13 15:46:26 +03:00
Alessandro Pasotti
79d90a9ad7
Merge pull request #30192 from elpaso/pg-oid
...
Use Oid alias instead of unsigned int in PG provider
2019-06-13 14:35:50 +02:00
nirvn
9984dc71f0
[arcgis] Browser and source selector should only return appropriate layer type
2019-06-13 16:41:53 +07:00
Alessandro Pasotti
f82016624b
Use Oid alias instead of unsigned int in PG provider
...
for consistency only, no bytecode changes are expected
2019-06-13 09:26:20 +02:00
Alessandro Pasotti
ffe3c31c5c
Merge pull request #30184 from elpaso/bugfix-gh30041-pg-oid-overflow
...
An attempt to fix oid overflow in regclass
2019-06-13 08:49:45 +02:00
Matthias Kuhn
586d216735
Merge pull request #30185 from m-kuhn/update_on_split
...
Update default values with "apply on update" on split
2019-06-13 07:01:21 +02:00
Nyall Dawson
1c5ebe8ebd
Spelling
2019-06-13 04:57:37 +10:00
Nyall Dawson
cf63a7af97
[needs-docs] Allow dragging project layers from legend over map layer comboboxes to select
...
Greatly assists with usability of the combobox with large projects,
especially those with multiple copies of layers with the same name...
2019-06-13 04:57:37 +10:00
Nyall Dawson
d56ddc25fb
Minor refactor of QgsMapLayerProxyModel
2019-06-13 04:57:37 +10:00
Nyall Dawson
760af67d0f
Cleanup handling of QgsMimeDataUtils::Uri corresponding to project layers
...
And add tests
2019-06-13 04:57:37 +10:00
Nyall Dawson
54434a6f41
Allow double-clicking items in data source select dialog to choose them
2019-06-13 04:56:45 +10:00
Nyall Dawson
5bc50ff820
[processing] Fix iterating mode when output is a temporary layer
...
Credit to @volaya for this fix!
Fixes #29340
2019-06-13 02:43:06 +10:00
Alessandro Pasotti
c94310df56
Cast long from count features instead of int
2019-06-12 18:25:17 +02:00
Alessandro Pasotti
c90583c0db
Some more Oid type fixes
2019-06-12 17:08:20 +02:00
Jorge Gustavo Rocha
2243f864bb
Update BUGS
...
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-06-12 14:43:13 +01:00
Matthias Kuhn
492ce0c9f1
Recalculate "evaluate on update" default expressions always
...
... no mather what attributes are provided. Default values with evaluate on update
should really just always be calculated.
Fix #30164
Fix #29683
2019-06-12 13:11:38 +02:00
Matthias Kuhn
3113a961c1
Micro optimization
2019-06-12 13:11:38 +02:00
Alessandro Pasotti
ad8c5a6d98
An attempt to fix oid overflow in regclass
...
QGIS was using int to store oids, but oids are 4 byte unsigned ints.
This is an attempt to partially fix #30041
2019-06-12 12:28:52 +02:00
Nyall Dawson
0224b8e4ff
If the first layers loaded into a project is non-valid (e.g. qlrs
...
pointing to a broken path), then defer the default zoom to the layer's extent
until AFTER the layer path is fixed
Avoids the situation where a user:
- loads a broken qlr
- canvas goes to a invalid extent, since the first loaded layer has an invalid extent
- user fixes the layer path, but there's no visible changes -- because the canvas
is pointing to some random location
2019-06-12 18:25:57 +10:00
Matthias Kuhn
a4eb6b0bdc
Merge pull request #30128 from m-kuhn/30118
...
Keep rubberband while attribute dialog is open
2019-06-12 10:00:52 +02:00
Matthias Kuhn
83c8b5bf16
Merge pull request #30173 from olivierdalang/dbmanager_fix_generic_geom
...
[dbmanager] allow to import GEOMETRY tables
2019-06-12 09:54:57 +02:00
Matthias Kuhn
655649a853
Update src/gui/qgsmaptoolcapture.h
2019-06-12 08:27:41 +02:00
Nyall Dawson
4ff8429f7a
[processing] Port "Points along geometry" to QgsFeatureBasedAlgorithm
...
(and c++), allow distance/start/end offset to be dynamic, avoid
algorithm "hangs" when inappropriately small (or 0) distances
are used
2019-06-12 10:08:51 +07:00
Jorge Gustavo Rocha
38c8e757aa
References to issues.qgis.org updated
2019-06-12 00:10:43 +01:00
Nyall Dawson
e0eedc5fa1
[processing] Make batch processing HTML report more useful
...
Include the input parameter values in the report, otherwise the
results are just a meaningless list of values which can't be
associated with any particular set of inputs
Also correctly handle boolean and other output types
2019-06-12 07:03:57 +10:00
Nyall Dawson
d10db05b5a
[processing] Nicer strings, default values for select/extract by attribute
2019-06-12 07:03:30 +10:00
Nyall Dawson
43904df6c4
[processing] Fix exception in select by expression using not equal to operator
...
Fixes #30135
2019-06-12 07:03:30 +10:00
Nyall Dawson
06a25df107
Write error in red
2019-06-12 07:02:56 +10:00
Nyall Dawson
46f364a431
Use a custom proj error handler to collect descriptive coordinate
...
operation creation errors, and report these back to users
Because these errors contain useful information for users to debug,
e.g. "Source and target ellipsoid do not belong to the same celestial
body"
2019-06-12 07:02:56 +10:00
Nyall Dawson
d35197f317
Silence some clazy warnings
2019-06-12 07:02:56 +10:00
Nyall Dawson
296bfde4d0
Don't create a provider registry instance only to delete it
...
Clears up more debugging noise in crssync
2019-06-12 07:02:56 +10:00
Nyall Dawson
5855204581
Silence noisy crssync under proj 6
2019-06-12 07:02:56 +10:00
Nyall Dawson
56f16ace6b
Fix unnecessary proj transform construction under proj 6 in certain circumstances
2019-06-12 07:02:56 +10:00