Matthias Kuhn
770f7e8d44
Add planimetric measurement default to settings template
2019-08-02 09:17:14 +02:00
Matthias Kuhn
8996dc8c0c
Move measurement/planimetric settings to QgsSettings::Core
2019-08-02 09:17:14 +02:00
Matthias Kuhn
5873bc8316
fix typo
2019-07-30 11:57:41 +02:00
Matthias Kuhn
6333ecc738
When default ellipsoid is not planimetric use the CRS defined ellipsoid
2019-07-30 11:52:25 +02:00
Matthias Kuhn
f3c268262f
Do not change ellipsoid on CRS change when it's planimetric
2019-07-30 11:47:38 +02:00
Matthias Kuhn
845c9cdd95
Only expose a single "default ellipsoid" option: planimetric or not
2019-07-30 11:47:34 +02:00
Matthias Kuhn
4cd2812905
Allow manually specifying ellipsoid for new projects
2019-07-26 18:24:12 +02:00
Nyall Dawson
7ec2101d05
Dox++
2019-07-26 18:24:20 +10:00
Nyall Dawson
8c53d0c8c9
Dox
2019-07-26 18:24:20 +10:00
Nyall Dawson
4a97d5e4c4
[FEATURE][labeling] Add "overrun distance" setting for line labels
...
This setting allows users to specify the maximal allowable distance
a label may run past the end (or start) of line features. It works
for both curved and parallel label modes, and supports distances
in mm/map units/pixels/etc, and data-defined distances.
Fixes #15846
2019-07-26 18:24:20 +10:00
Nyall Dawson
3484a0246d
[labeling] Add API to allow curved labels to overrun features
2019-07-26 18:24:20 +10:00
Nyall Dawson
056f1e4f3c
Add method to extend a pal pointset line by a set start and end distance
2019-07-26 18:24:20 +10:00
Nyall Dawson
33c9228fb5
Add a clone method to pal pointsets
2019-07-26 18:24:20 +10:00
Nyall Dawson
4ecc081eb8
Use std::vector instead of raw arrays in pal pointsets
2019-07-26 18:24:20 +10:00
Nyall Dawson
a05116b715
[labeling] Record number of repeats associated with a label position
...
This allows the candidate generation code to consider whether a label
is a repeat when creating candidate placements
2019-07-26 18:24:20 +10:00
Nyall Dawson
27043c543f
Use a smaller font in projection widget def text box
2019-07-26 18:23:56 +10:00
Nyall Dawson
acbcdbb9c4
Show the WKT definition of projections in the projection selection dialog
...
This is better than the proj definition, since it's non-lossy (well,
for proj 6 builds. Just go crawl into a corner and cry proj 4).
2019-07-26 18:23:56 +10:00
Nyall Dawson
4c7f8a951d
Add API to specify WKT format when exporting QgsCoordinateReferenceSystem objects
...
Like all good things, this is Proj 6 only.
2019-07-26 18:23:56 +10:00
Matthias Kuhn
7cdbe40fba
Merge pull request #30930 from m-kuhn/attachment_widget_attribute_table_crash
...
Hide browse button on attachment widget in attribute table
2019-07-26 09:48:09 +02:00
Matthias Kuhn
c08b757bc4
Merge pull request #30927 from m-kuhn/source_select_reset
...
Reset selection when data source select dialog is reopened
2019-07-26 09:47:56 +02:00
Matthias Kuhn
52373e2ec1
Merge pull request #30926 from m-kuhn/default_selection_mode_pg_oracle
...
Default to QAbstractItemView::ExtendedSelection in pg and oracle source select
2019-07-26 09:47:43 +02:00
nirvn
725fb286c6
[ui] Use updated label text icon in the style manager
2019-07-26 14:25:04 +07:00
Nyall Dawson
758adf4cca
Copy correct srs db when running from build dir
2019-07-26 17:20:01 +10:00
Matthias Kuhn
648e4f1717
Fix compiler warnings
2019-07-26 08:41:24 +02:00
nirvn
c5a5e4ce70
[ui] Update label properties icons to be compatible with dark themes
2019-07-26 13:03:22 +07:00
Matthias Kuhn
d49742dd40
Use ExtendedSelection mode in MSSQL and DB2 source select
2019-07-26 07:33:59 +02:00
nirvn
ffdf6ffe46
[ui] Add dedicated label callout icons
2019-07-26 12:16:01 +07:00
Nyall Dawson
f2d3bdd486
[proj6] Always normalize operations, even when we are using predefined
...
proj coordinate operation (e.g. those stored in a project)
Fixes #30643
2019-07-26 12:52:02 +10:00
Nyall Dawson
ca13055770
Add unit tests from #30643
2019-07-26 12:52:02 +10:00
Nyall Dawson
68c4a814b4
Add unit tests from #30569
2019-07-26 12:52:02 +10:00
Nyall Dawson
8ef960442d
[processing] Use lists, not maps in overlap analysis algorithm
...
Ensures consistent field ordering and that fields are always matched
to input layer order
2019-07-26 10:21:20 +10:00
Nyall Dawson
d775061bc6
[needs-docs] Show current tags for symbol when right clicking a symbol
...
in style manager
2019-07-26 06:07:29 +10:00
Nyall Dawson
644c002c8d
[FEATURE] Add "Paste" action to style manager dialog menu
...
Allows pasting copied symbols directly into a style
2019-07-26 06:07:29 +10:00
Nyall Dawson
732bc29322
[FEATURE] Allow copying symbols from style manager
...
Allows symbols to be copied from the style manager dialog, so that
they can be pasted elsewhere in QGIS (e.g. in symbol or color buttons)
2019-07-26 06:07:29 +10:00
Matthias Kuhn
4e33bc1fcf
Merge pull request #30610 from signedav/fix_valuerelation
...
Fix multi-selection on value relation widget using string fields
2019-07-25 18:16:25 +02:00
Matthias Kuhn
916529fd4b
Remove option to change selection mode of postgres and oracle dialogs
2019-07-25 17:59:36 +02:00
Matthias Kuhn
fa847d16ff
Fix code style
2019-07-25 16:00:04 +02:00
Juergen E. Fischer
49a96e00d0
[FEATURE] oracle provider: add support for auth manager
2019-07-25 15:46:42 +02:00
Matthias Kuhn
43688cabf0
Hide browse button on attachment widget in attribute table
...
References #26948
2019-07-25 14:21:10 +02:00
David Signer
8351ccf53d
no confusing comments
2019-07-25 12:06:07 +02:00
Matthias Kuhn
66cbab0a93
Code style for providers
2019-07-25 11:22:23 +02:00
Matthias Kuhn
a6875a7c78
Reset selection when data source select dialog is reopened
...
When the data source select dialog is closed and reopened it's much more
likely that the user wants to add a different layer than last time he was using
the dialog. So instead of offering him to add the same layer again, the selection
is cleared and he is requested to make a new selection.
2019-07-25 11:17:42 +02:00
Matthias Kuhn
35297b43cd
Default to QAbstractItemView::ExtendedSelection in pg and oracle source select
...
This aligns the default selection behavior of the postgres and oracle source
selection with the rest of the application and other providers like geopackage.
For newcomers, the MultiSelection is rather confusing. Especially with the current
behavior inside the unified data source dialog, that remembers previous selections
it's very hard to clear pre-existing selections in large lists that are partially
hidden.
2019-07-25 11:08:00 +02:00
Matthias Kuhn
a681e1ed45
Merge pull request #30836 from m-kuhn/raster_ignore_extent
...
[FEATURE] Allow rendering raster layers outside the reported extent
2019-07-25 10:24:12 +02:00
David Signer
7166f77dfa
handle variant as list (instead of string) when the field.type() is QVariant::List - since these values are not stored as string, the tests don't need to check the GDAL version (what shouldn't have been done before anyway because it only concerns geopackages, where this version is checked on storing data...)
2019-07-25 09:46:04 +02:00
Nyall Dawson
6d3b1574b4
Register the app bad layer handler before loading plugins
...
This gives plugins a chance to replace the handler without their
changes being overwriting immediately afterwards
2019-07-25 16:50:48 +10:00
Nyall Dawson
fe4a82939e
[labeling] Fix empty segment sometimes created when using repeated labels
2019-07-25 15:11:16 +10:00
Nyall Dawson
35a35fbbb1
[labeling] Fix repeated line labels gravitate to start of line
...
Avoids situations like
1. Line length of 3cm
2. Repeat distance of 2cm
3. Label size is 1.5 cm
2cm 1cm
/--Label--/----/
i.e. the labels are off center and gravitate toward line starts
Instead, we first calculate how many complete repeats we can fit
in, and then divide the line into even sections of this length,
avoiding the situation where some leftover segment of the line
end isn't big enough for the label to fit.
2019-07-25 15:11:16 +10:00
Nyall Dawson
00d3becef9
[labeling] Don't waste time trying to chop lines smaller then the repeat distance
2019-07-25 15:11:16 +10:00
Nyall Dawson
594e52f444
Better memory management
2019-07-25 15:11:16 +10:00