Luigi Pirelli
123f694013
Merge pull request #7742 from agiudiceandrea/fix-equals-SpatialJoin
...
[processing] Fix 'equals' predicate in SpatialJoin and SpatialJoinSummary
2018-08-30 16:10:14 +02:00
Loïc Bartoletti
a7b6bdba8c
use epsg and fix circularstring test on linux
2018-08-30 10:01:50 +02:00
Andrea Giudiceandrea
e56da0e58a
Add test for Join by location (equals)
...
Adds a test for "Join attributes by location" processing algorithm 'equals' predicate
2018-08-30 09:59:26 +02:00
Harrissou Sant-anna
00b0e3b0bc
[needs-docs] Fix parameter's label and some distance default value
...
more coherent with meters
2018-08-30 05:10:42 +10:00
Harrissou Sant-anna
4e1d29ee24
[Processing][Needs-docs] Allow optional "value" in "select by attribute" algorithm
...
because it's not needed to run null checks (fixes #19469 which is actually reported in the wrong way)
2018-08-30 05:10:21 +10:00
Nyall Dawson
e5e14dd680
Fix is_closed (and other expression functions) fail with multi* input geometries
...
Fixes #19704
2018-08-29 14:52:39 +10:00
Andrea Giudiceandrea
afcf048e23
Fix 'equals' predicate in SpatialJoinSummary
...
This fixes a typo in SpatialJoinSummary.py "Join attributes by location (summary)" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:09:53 +02:00
Andrea Giudiceandrea
abd4d0ee11
Fix 'equals' predicate in SpatialJoin
...
This fixes a typo in SpatialJoin.py "Join attributes by location" algorithm that prevents the 'equals' predicate to work
2018-08-29 01:07:08 +02:00
Andrea Giudiceandrea
99696b6ee1
Fix Virtual layers display with empty subsetstring
...
Fixes #19721
Virtual layers incorrectly show no feature when the expression filter string is empty, instead of correctly showing all the features.
Subset string needs to be tested against Empty instead of Null in order to correctly populate the wheres list and prepare a well formed SQL query string.
2018-08-29 03:43:46 +10:00
rldhont
65f4bf1956
Merge pull request #7514 from rldhont/server-cache-manager
...
[Server][Feature][needs-docs] Server cache manager and WMTS service
2018-08-28 18:05:42 +02:00
Luigi Pirelli
6aa36166e4
adapted tests to new variables added in expressionContext
2018-08-28 17:06:10 +02:00
Luigi Pirelli
9e2286ae98
fix layer mapping in case direct use NOT in a model
2018-08-28 17:06:10 +02:00
Luigi Pirelli
d3144b97af
remove unused method
2018-08-28 17:06:09 +02:00
Luigi Pirelli
6a2934cfa3
use complete layerSource instead of only basename
2018-08-28 17:06:09 +02:00
Luigi Pirelli
1bc1bb2f13
fix use layer source and managed string parsing in case of translation
2018-08-28 17:06:09 +02:00
Luigi Pirelli
faf9716a52
fix some code weakness and review comments
2018-08-28 17:06:09 +02:00
Luigi Pirelli
3a67c5d287
use QVariant::fromValue as suggested in review
2018-08-28 17:06:09 +02:00
Luigi Pirelli
5a3b319e1c
change expression to use layers in the current execution scope
2018-08-28 17:06:08 +02:00
Luigi Pirelli
5ebe5d6c5b
show variableDescription as shown in the list of variables
2018-08-28 17:06:08 +02:00
Luigi Pirelli
0acb766412
add model variables in expressionContext scope to be mapped in case used in symbolic formulas
2018-08-28 17:06:08 +02:00
rldhont
b3f9898ce7
[Server] Fix weird docs indetation
2018-08-28 14:26:18 +02:00
rldhont
6b8d04b081
[Server] Various code cleaning for server cache manager and WMTS service
2018-08-28 14:22:24 +02:00
rldhont
b82c30e2d6
[Server] Enhancing loop for
2018-08-28 14:17:10 +02:00
Denis Rouzaud
0475ff9e65
add layer filter in snapping configuration
2018-08-28 14:57:41 +03:00
Denis Rouzaud
2810c92f01
[mac] display icon in notification ( #7734 )
...
there is 2 icons in notifications, one from the app itself and one set from the notification
the icon application seems not to be set correctly on mac for now
only the windon icon is set in main.cpp with myApp.setWindowIcon
the icon defined in application plist does not seem to be correctly set
...so in this PR we set the notification icon to be the QGIS one, so it looks nicer
2018-08-28 14:56:22 +03:00
Nyall Dawson
5c7f13b3a4
Ensure context is passed with QTimer::singleShot
2018-08-28 18:43:48 +10:00
Peter Petrik
2855ccbeff
add PeterPetrik to contributors map
2018-08-28 09:18:25 +02:00
Peter Petrik
d7afb710d7
[mesh] [feature] add opacity slider to mesh contours settings
2018-08-28 09:17:31 +02:00
Loïc Bartoletti
e72879eebb
unique_str for QgsRubberBand
2018-08-28 08:12:51 +02:00
Nyall Dawson
304033c916
[processing] Use distance parameter for Points Along Geometry offsets
...
and Topological Coloring distance parameters
Fixes #19712
2018-08-28 10:21:10 +10:00
Nyall Dawson
7a8bee2cec
[processing] Reproject algorithm doesn't care about invalid features
2018-08-28 10:21:10 +10:00
Etienne Trimaille
98c51042f1
add myself to the map
2018-08-28 09:31:59 +10:00
Salvatore Larosa
8955684180
Fix the developers map in about dialog
2018-08-28 09:01:40 +10:00
Nyall Dawson
57997eb65d
Fix failing spell checks
2018-08-28 08:50:43 +10:00
Mathieu Pellerin
f1fdbbbbf0
Fix references to contributors.json ( #7722 )
2018-08-27 23:12:40 +03:00
Harrissou Sant-anna
269edfd0df
Fix parameter's label
...
Because all values are in layer units now and they can be overridden
2018-08-28 04:37:17 +10:00
Andrea Giudiceandrea
1971f8accd
Fixing intentation
2018-08-27 14:58:06 +02:00
Andrea Giudiceandrea
05fda10363
Filter on joined fields: add geometry for spatial layer and handle sp…
...
…ecial field/layer names
Fixes #19636
"Filter on joined fields" does not work properly in the following two circumstances:
- when the (original) layer is a "spatial layer": the virtual layer created is an attribute only / non-spatial layer, instead of a spatial one
- when at least a field name or a layer name starts with a digit or contains white spaces (or probably also other special characters): the virtual layer is not created at all (actually is created and instantly deleted) without warning the user
This fixes both and also updates the related tests accordingly and adds another test.* Enclose field/layer names in double quotes.
See also [QGIS-Developer] "Filter on joined fields" and Virtual layers not working as expected
More details: https://issues.qgis.org/issues/19636#note-13
Projects and layers to test the bugs: https://issues.qgis.org/attachments/download/13196/test_filter_qgis.zip
2018-08-27 14:33:10 +02:00
Harrissou Sant-anna
236a53e77c
Fix example display
2018-08-27 21:35:39 +10:00
Tim Sutton
9710c185d3
New Easter eggs which might actually be useful... ( #7714 )
...
Three new easter eggs:
world : Add a world map to your canvas - it is the same world map as used by the CRS chooser
contributors : Adds the contributors json (used to be in docs, now moved to resources/data)to the map canvas so you can quickly see the locations of QGIS developers in QGIS
hackfests : Adds qgis_hackfests.json (in resources/data) to the canvas so you can quickly see the locations of all historical QGIS hackfests. Note the attribute table has other interesting data too.
2018-08-27 10:44:37 +03:00
Nyall Dawson
0ad341a017
Use expression preview for variable values in variable editor widget
...
Means that values which are non-text, e.g. points, geometries,
lists, maps, etc show a value in the widget
2018-08-27 14:43:02 +10:00
Nyall Dawson
05a311bdcf
Code modernization
2018-08-27 14:43:02 +10:00
Nyall Dawson
c8191ffd50
Allow unformatted preview text for expression results
2018-08-27 14:43:02 +10:00
Nyall Dawson
ff9e3890e0
[needs-docs] Rename map_layers_ids to map_layer_ids
...
It's more natural grammar
2018-08-27 14:43:02 +10:00
Nyall Dawson
820c40ac9d
[FEATURE] map_layers variable for layout map items
...
Just like map_layers_ids, but returns direct layer values instead
of ids
2018-08-27 14:43:02 +10:00
Nyall Dawson
367d0befe4
Show preview text for map layer values in expressions
2018-08-27 14:43:02 +10:00
lbartoletti
87fb27fddb
Merge branch 'master' into reverseLine
2018-08-27 06:30:16 +02:00
Andrea Giudiceandrea
3b9821f439
Update test_qgsdelimitedtextprovider_wanted.py
...
according to PR #7671
2018-08-27 11:55:33 +10:00
Andrea Giudiceandrea
379652d202
delimited text: let field names be numerical value
...
fixes #19638 "CSV: numeric header gets a trailing underscore + 1"
fixes #13187 "Numeric FIELD names are lost on CSV import"
2018-08-27 11:55:33 +10:00
Nyall Dawson
ee4cba06e8
[layouts] Fix printed pages are offset from top-left on some platforms
...
Fixes #19566
2018-08-27 11:42:16 +10:00