65369 Commits

Author SHA1 Message Date
Denis Rouzaud
ae5b92d258 fix variable names 2020-09-08 14:53:50 +02:00
Denis Rouzaud
58022631c1 correctly clear completion
fixes navigation in results using tab
2020-09-08 14:53:50 +02:00
Denis Rouzaud
82b1079b50 fix spelling 2020-09-08 14:53:50 +02:00
Denis Rouzaud
ccb87207ae [FEATURE] active layer locator filter field name restriction
the filter can now restrict the search to a specific field by typing @+field_name

auto-completion is provided for the field names
2020-09-08 14:53:50 +02:00
Denis Rouzaud
002a7033f0 [FEATURE] enable auto completion in locator
a locator filter can now return a completion list while preparing the search
the line edit will use the first matching completion and display it as light grey text
the completion can be triggered by pressing Tab key
2020-09-08 14:53:50 +02: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
Nyall Dawson
df49f2d0e3 Fix conversions 2020-09-06 21:07:25 +10:00
Nyall Dawson
d301868173 Even simpler filter strings in some circumstances 2020-09-06 21:07:25 +10:00