40 Commits

Author SHA1 Message Date
Nyall Dawson
f5e55df3bc [gps] Don't correct for true north by default, and add manual bearing offset option
This change adds two new advanced settings keys for gps:

app\gps\bearingAdjustment: allows for specifying a manual adjustment
factor to apply to bearings obtained from the GPS, in the case that
the GPS reports offset bearings

app\gps\correctForTrueNorth: whether to apply a correction for
true north to bearings obtained from the GPS (now defaults to off)
2020-05-30 11:26:35 +10:00
Richard Duivenvoorde
b0e71a822e Add askToSaveMemoryLayers to ini file template so it has a default and is searchable 2020-05-28 08:34:54 +10:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
Nyall Dawson
947fe8d54a Add an advanced settings key to allow disabling of the "pan distance"
message which shows in the status bar after a pan operation
2020-02-06 04:35:23 +10:00
Nyall Dawson
0030c31a81 Update ini descriptions 2020-01-21 11:28:15 +10:00
Nyall Dawson
b14997dc11 Address review comments, don't store username if anonymize_saved_projects is true 2020-01-21 11:28:15 +10:00
Nyall Dawson
56a572f9d5 [gps] Allow GPS serial port connection properties to be specified in QSettings
Instead of hardcoding these values, allow them to be customised by changing
settings in QSettings (either via the settings ini file or through the
advanced settings editor), as some serial GPS devices require non-default
settings for the connection to work correctly.
2020-01-13 13:45:34 +13:00
Nyall Dawson
c5e0ada6bd [needs-docs] Add optional global settings allowing for hard limits
to be placed on the maximum number of point, line and polygon candidates
which are generated for label features

These settings are set via the core\rendering\label_candidates_limit_*
settings, and allow for global limits to be set on the maximum number
of candidates allowed for label features. Placing these limits can
improve map rendering time, at the expense of worse label placement or
potentially missing map labels. (By default no global limit is set, which
means the labeling engine auto calculates the limit or uses the project
level settings)

The intended use case is for server administrators who are seeking for
maximum rendering speed to globally set these limits, causing them to
apply to all projects without the need for project-specific tweaks.
2019-12-26 13:18:10 +10:00
Nyall Dawson
ffe66bff82 [needs-docs] Add option to take no action ("Leave as an unknown CRS") when
a layer is loaded which has no CRS

This is the new default behavior. It effectively defers the choice of CRS
from layer loading time to a later time which is convenient for users. E.g.
it no longer asks for CRS choice 100x when loading 100 files into QGIS at once.
(Effectively an application crash/hang... no one will sit through these 100 dialogs!)

The new behavior means there's no prompt (by default!) when loading these layers,
and instead the layers will be shown in the layer tree with an "unknown CRS"
indicator icon. They'll also be un-referenced, with coordinates from the layer
treated as purely numerically, non-earth values. I.e. the same behavior
as all layers get when a project is set to have no CRS.

The user can then resolve these in their own time, and by using convenient
shortcuts like highlighting multiple layers at once and then setting the CRS
for all these in a single action.

Fixes #19762, #27634, #24815  (and probably others)
2019-10-09 15:01:51 +10:00
Matthias Kuhn
770f7e8d44 Add planimetric measurement default to settings template 2019-08-02 09:17:14 +02:00
Matthias Kuhn
103d104303 Use https for openstreetmap
Fix #30855
2019-07-24 10:25:20 +02:00
Julien Cabieces
2f1235a3e3 correct ini file comment
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-07-23 19:03:51 +10:00
Julien Cabieces
f9a6418eda Add proxyExcludedUrls settings example in qgis_global_settings.ini file 2019-07-23 19:03:51 +10:00
Nyall Dawson
01b8c7d212 Add shell entries to qgis_global_settings.ini for controlling feed behavior 2019-07-15 12:52:20 +10:00
Alessandro Pasotti
5c6223c2bf GPS timestamp support with tests 2019-06-24 12:11:51 +02:00
Nyall Dawson
5347eb79c6 Clarify acceptable forms for defaultNorthArrow setting 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
dac7259b46 [needs-docs] Rework new project CRS handling
The previous approach was severely broken, because the default
CRS for new projects setting was ignored as soon as a layer
was added to the project.

Instead, refine the setting to add options
- "Use CRS from first layer added": same as previous behavior,
the project CRS is set to match the first layer added to a new
project
- "Use a default CRS": CRS for a new project is set to a preset
default CRS, and is left unchanged when adding layers to the
project

Also update qgis_global_settings.ini to reflect these changes.

Fixes #27516
2019-05-30 06:28:32 +10:00
Nyall Dawson
785c03358e Move datum transformation dialog prompting behaviour setting to a new
key to reset ALL users to a default value

And add to qgis_global_settings.ini

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Matthias Kuhn
24b8dcc692
Use a hidden setting for activating geomtery resolution 2019-03-18 13:23:30 +01:00
Matthias Kuhn
1645799788
Make default geometry checks configurable via settings [needs-docs] 2019-03-13 07:23:26 +01:00
Nyall Dawson
a97ce698e4 Allow maximum number of entries to show in relation reference widget
to be configurable via an advanced setting configuration option

In some circumstances 100 is not enough
2019-02-05 19:38:38 +11:00
Nyall Dawson
7c43bcda76 Add new "allowVersionCheck" setting
If true, users may control whether the version check is enabled
or disabled through the QGIS settings dialog. (The default
check behavior is determined by the existing 'checkVersion' setting).

If false, no version checking will be performed AND users will NOT
have an option to enable this check in the settings dialog.

This setting is intended for use in enterprise installs where QGIS version
management is handled centrally.
2018-11-30 05:03:58 +10:00
Nyall Dawson
0be9de5dfc Add hidden configuration setting to set toolbar padding
Can be tweaked for better appearance on hidpi screens, e.g. on
my display a padding of 8 px looks best
2018-08-16 09:12:22 +10:00
Nyall Dawson
a5b0c76f84 Double number of projects kept on welcome page, make configurable
Because 10 isn't enough!
2018-08-10 10:45:14 +10:00
Nyall Dawson
a2a56696b0 Drop minimum task time to 5 second before showing a system notification 2018-08-08 15:37:17 +10:00
Nyall Dawson
8c6068a2e2 Don't show system notifications for short tasks
Too annoying!
2018-08-08 15:37:17 +10:00
Denis Rouzaud
d26f1e14fd replace with setEnumValue
and complete missing enumValue
2018-05-14 08:49:37 -04:00
Loïc Bartoletti
66b0e59fb9 Fix snapping on invisible geometry 2018-04-23 16:00:43 +02:00
Nyall Dawson
37c5dd9301 Add settings key to anonymize new projects
Defaults to false, but if set will not automatically set
metadata for newly created projects such as author
and creation date.
2018-03-22 16:13:30 +11:00
Etienne Trimaille
648ce14d4f add colors in the log panel for critical and warning levels 2018-03-19 11:31:18 +11:00
Nyall Dawson
8658da39e3 [postgres] Add a timeout for postgres connections
Defaults to 30 seconds, but configurable via advanced settings/
global_settings ini
2018-03-16 10:57:52 +11:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Nyall Dawson
43350a9a3e Hide 'duplicate features' actions by default
Since there's a number of serious outstanding issues with these
tools, hide them by default and show them only if a QgsSettings
flag is set ("tools\showDuplicateFeatureActions").

This allows the tools to be reworked for 3.2, while still
making them accessible for users who require their functionality.
2018-02-21 14:18:55 +10:00
Alexander Bruy
edcd2a186e fix typos 2018-02-11 09:38:34 +02:00
Alexander Bruy
f4094af6f9 add default help location to the global settings (refs #17670) 2018-02-11 09:38:34 +02:00
Nyall Dawson
02bfe0a20c Drop default snap tolerance to 12 px 2018-01-30 18:31:02 +11:00
Nyall Dawson
67f2649315 Set default snapping tolerance to 15 pixels
Because 0 meter default is bad UX. Also update global_settings
ini with snapping settings.
2018-01-30 18:31:02 +11:00
Mathieu Pellerin
e3cfbb0805
[gui] do not automatically format name of added layers (fixes #17741)
(users wanting to re-enable that behavior can do so by switching
qgis/formatLayerName to true)
2018-01-15 11:44:01 +07:00
Jorge Gustavo Rocha
273243b4c4 Add XYZ connection to provide default OpenStreetMap tiles 2017-08-07 22:55:28 +02:00