Nyall Dawson
b6846295fe
Add support for parsing and converting MapBox GL raster fills to QGIS symbology
2020-09-09 13:02:36 +10:00
Nyall Dawson
dcf8728494
[FEATURE][vectortiles] Allow users to optionally specify the URL
...
for a default style to be applied to connections when they are
first loaded into QGIS
When setting up a vector tile source connection, there's a new option
to enter a URL to a MapBox GL JSON style configuration. If one has
been entered, then that style will be applied whenever the layers
from the connection are added to QGIS.
Works also with Arcgis vectortileservice connections -- in this
case the URL overrides the default style configuration specified
in the server configuration.
2020-09-09 12:08:25 +10:00
Nyall Dawson
0f044f9cdc
Fix conversion of mapbox gl line cap/join styles
2020-09-09 11:58:24 +10:00
signedav
3ea6dff2f9
tests for QgsRelationReferenceSearchWidget including selecting NULL and getting proper expression
2020-09-09 11:02:22 +10:00
signedav
ab523dfed0
support selecting NULL in relationreference search widget if allowNull is active
2020-09-09 11:02:22 +10:00
signedav
a89765e9ce
default flag on search widget for relation reference so it's selected when the value changes for the first time. reported here #37843
2020-09-09 11:02:22 +10:00
Nyall Dawson
029f0679dc
[FEATURE][symbology] Allow data-defined offset for fill symbol layers
...
Any fill symbol layer which supports offsetting polygons (i.e. simple
fills, raster image fills, shapeburst and gradent fills) now allows
for data-defined offsets
2020-09-09 10:40:07 +10:00
Nyall Dawson
014de9614d
Remove unused variables
2020-09-08 15:45:58 +10:00
Nyall Dawson
411d1d33e3
Auto launder URI
2020-09-08 15:45:58 +10:00
Nyall Dawson
142cda5ef4
[feature][vectortiles] Allow using authentication system and setting
...
custom referer string for vector tile connections
2020-09-08 15:45:58 +10:00
Nyall Dawson
6901d6f68a
After loading an ArcGIS Vector Tile Service layer, automatically load
...
and set the default style and labels for the layer
Also populate the layer metadata with the available content from the
service definition (e.g. layer attribution)
2020-09-08 15:45:58 +10:00
Nyall Dawson
9114e91ff6
[feature][vectortiles] Add option to create connections for ArcGIS Vector
...
Tile Services to easily load vector tile layers from these servers
Adds new options in the Vector Tiles browser tree context menu
and Data Source Manager to create a connection to an ESRI VectorTileServer.
When loading the layer from the connection, the tile server parameters
will be automatically setup to suit the layer source.
2020-09-08 15:45:58 +10:00
Matthias Kuhn
b0dd568ca6
Merge pull request #38636 from rduivenvoorde/fix38071
...
Fix #38071 : Clear mTreeInitialExpand and search upon new connection
2020-09-08 07:27:44 +02:00
Matthias Kuhn
5e9ac5b79b
Merge pull request #38601 from rduivenvoorde/temporalExtentsChanged_signal
...
Add temporalExtentsChanged signal to QgsTemporalNavigationObject
2020-09-08 07:17:50 +02:00
Denis Rouzaud
e31d4cd202
allow to define max number of results for some locator filters ( #38628 )
...
this allows to define:
* maximum number of results for active layer
* global maximumum filter + per layer maximum numer of results of all layers features filter
2020-09-08 07:00:03 +02:00
Damiano Lombardi
a27420e7c8
Fix cmake config to find qca headers on Opensuse tumbleweed
2020-09-08 07:11:03 +10:00
Richard Duivenvoorde
edcc60857f
Clear mTreeInitialExpand and search upon new connection
2020-09-07 17:55:20 +02:00
Richard Duivenvoorde
32b83a1271
Remove redundant check
2020-09-07 15:43:14 +02:00
nirvn
27422fd717
[ui] Improve the load style dialog
...
- Remove harmful horizontal spacer to fix expanding
widget issues and location of help button
- Relocate the file widget to sit on top of the category
list (to harmonize with the save style dialog)
2020-09-07 19:23:48 +07:00
Richard Duivenvoorde
34c035631f
Implement != operator, update sip
2020-09-07 12:12:34 +02:00
Alessandro Pasotti
5c241c84be
Merge pull request #38560 from elpaso/server-standalone-post-data
...
Fix unreported server standalone POST data handling
2020-09-07 08:26:15 +02:00
Nyall Dawson
47fb11a478
Doxygen
2020-09-07 16:00:25 +10:00
Nyall Dawson
77492b1ea6
[FEATURE][vectortiles] Allow users to load MapBox GL Json style
...
configuration files when importing style for vector tile layers
From the standard layer properties -> Load Style dialog users
are now given the option of selecting a JSON MapBox GL style
file.
2020-09-07 16:00:25 +10:00
Nyall Dawson
ff883e0ab1
Fix alignment of buttons in vector layer load style dialog
2020-09-07 16:00:25 +10:00
Nyall Dawson
c359c9e272
[vectortiles] When importing style from QML, give option to pick
...
categories to import
Allows importing just symbology or just labels from a stored
vector tile style
2020-09-07 16:00:25 +10:00
Nyall Dawson
144ef62e0f
Fix build
2020-09-07 16:00:25 +10:00
Nyall Dawson
ba23708f12
Start generalising QgsVectorLayerLoadStyleDialog to also handle other
...
map layer types
2020-09-07 16:00:25 +10:00
Nyall Dawson
d75ec1ab77
[vectortiles] Respect categories flags when saving/loading layer styles
2020-09-07 16:00:25 +10:00
Nyall Dawson
42e8903969
Fix crash
2020-09-07 16:00:25 +10:00
Nyall Dawson
0ea5f57c7c
Generalise QgsMapLayerStyleCategoriesModel to also handle vector tile layers
2020-09-07 16:00:25 +10:00
Nyall Dawson
c4b344d47f
Allow converting more types of MapBox GL text-field configuration
2020-09-07 14:36:00 +10:00
Nyall Dawson
1d1e1cc29d
Fix label priority when using non-pixel sizes
2020-09-07 13:20:55 +10:00
Nyall Dawson
93d25d61e7
Fix conversion of multiplied pixel sizes for some interpolated values, improve interpolation expression results
2020-09-07 13:20:55 +10:00
Nyall Dawson
4ba21e0c22
Add metadata editing tab to vector tile layer properties
...
These layers can also have useful metadata which users may want to
set, e.g. access restrictions and attribution information
2020-09-07 12:52:14 +10:00
Nyall Dawson
88f9daee09
[vectortiles] Make information tab appearance/content consistent
...
with other layer types
2020-09-07 12:52:14 +10:00
Nyall Dawson
9eea1c0daf
Fix inconsistent margins in vector tile layer properties window
2020-09-07 12:52:14 +10:00
Nyall Dawson
1de9254917
Fix unreported crash when clicking edit button in vector tile
...
renderer/labeling settings and no row is selected
2020-09-07 12:00:14 +10:00
Nyall Dawson
8976fda4cf
Merge pull request #38594 from nyalldawson/fix_38562_project_load
...
Fix project never completes loading layers when a layer has a missing dependancy
2020-09-07 11:46:24 +10:00
Nyall Dawson
dd82478e26
If a project is missing a layer dependancy, don't abort out loading it
...
Otherwise we've effectively destroyed the project. Rather, continue
to load whatever layers we possibly can
Fixes #38562
2020-09-07 09:34:52 +10:00
Nyall Dawson
08561d3717
Fix project load task never completes when project fails layer
...
dependancy tests
Refs #38562
2020-09-07 09:33:50 +10:00
Matthias Kuhn
dd3cc1283f
Merge pull request #38336 from m-kuhn/sqlite_dqs
...
Use valid sql for unique value detection in sqlite
2020-09-06 14:11:36 +02:00
Nyall Dawson
c0ebc68eff
Fix test
2020-09-06 21:07:25 +10:00
Nyall Dawson
1c683e2e36
Fix broken seealso link
2020-09-06 21:07:25 +10:00
Nyall Dawson
54b506a02a
When converting a interpolated line width, also set the base setting to a decent value so that legends look ok
2020-09-06 21:07:25 +10:00
Nyall Dawson
98ba6a47ff
Add option to convert units during conversion
...
Because pixel based units are unfriendly for hi-dpi or print layouts
2020-09-06 21:07:25 +10:00
Nyall Dawson
3e54b7ab5f
Warn on fill-pattern
2020-09-06 21:07:25 +10:00
Nyall Dawson
f2f1f4a5a8
Convert halo blur
2020-09-06 21:07:25 +10:00
Nyall Dawson
6bbca2b6d8
Fix blur effect GUI doesn't correctly restore previous blur unit
2020-09-06 21:07:25 +10:00
Nyall Dawson
c58e540ff3
Improve handling of text-transform setting
2020-09-06 21:07:25 +10:00
Nyall Dawson
df774f54b8
MUCH improved field name parsing for MapBox GL label fields/expressions
2020-09-06 21:07:25 +10:00