59932 Commits

Author SHA1 Message Date
Juergen E. Fischer
b9278b7b94 * include flip and python3-autopep8 in INSTALL
* txt2tags 3.4 doesn't support macros (used date & modtime) anymore

closes #33850, followup 157a6700cac6
2020-01-16 17:02:40 +01:00
Sandro Santilli
1f44b29933 Only look for pointcloud in its installed extension schema
Closes #33509
2020-01-16 14:59:48 +01:00
rldhont
ab9cbe0ab4
Merge pull request #33725 from rldhont/fix-read-sld-textsymbolizer-units
[BUGFIX] Read SLD TextSymbolizer set units to pixels
2020-01-16 14:09:09 +01:00
Alexander Bruy
fe7085de94
Merge pull request #33794 from alexbruy/rectangles-ovals-diamonds
[processing][needs-docs] port Rectangle,ovals,diamonds algorithm to C++
2020-01-16 15:07:05 +02:00
signedav
10cbf59f16
Merge pull request #33765 from signedav/fix_null_reset
Fix NULL set of fkeys in QgsFeatureListModel
2020-01-16 10:23:21 +00:00
rldhont
dbb53be7f3 [Tests] Add QgsSymbolLayerUtils::encodeSldUom test 2020-01-16 11:04:39 +01:00
rldhont
39ae955e43 [Tests] Add QgsSymbolLayerUtils::decodeSldUom test 2020-01-16 11:04:39 +01:00
Alexander Bruy
2fd44b31d8 apply rotation only when requested 2020-01-16 11:02:55 +02:00
Denis Rouzaud
71808d2d2d
[github] stop the milestone bot during feature freeze
since it tags PR for master as 3.12 while they might be waiting for 3.14
2020-01-16 09:02:06 +01:00
Alexander Bruy
a25a7b8205 add Z and M from input point
fix typo
2020-01-16 09:59:35 +02:00
Nyall Dawson
8c8d48bb8f [FEATURE][processing] Add new algorithm "Detect Dataset Changes"
This algorithm compares two vector layers, and determines which features
are unchanged, added or deleted between the two. It is designed for comparing
two different versions of the same dataset.

When comparing features, the original and revised feature geometries will be
compared against each other. Depending on the Geometry Comparison Behavior setting,
the comparison will either be made using an exact comparison (where geometries must
be an exact match for each other, including the order and count of vertices) or a
topological comparison only (where are geometries area considered equal if all of
the their component edges overlap. E.g. lines with the same vertex locations but
opposite direction will be considered equal by this method). If the topological
comparison is selected then any z or m values present in the geometries will not
be compared.

By default, the algorithm compares all attributes from the original and revised
features. If the Attributes to Consider for Match parameter is changed, then only
the selected attributes will be compared (e.g. allowing users to ignore a timestamp
or ID field which is expected to change between the revisions).

If any features in the original or revised layers do not have an associated geometry,
then care must be taken to ensure that these features have a unique set of
attributes selected for comparison. If this condition is not met, warnings will be
raised and the resultant outputs may be misleading.

The algorithm outputs three layers, one containing all features which are considered
to be unchanged between the revisions, one containing features deleted from the
original layer which are not present in the revised layer, and one containing features
add to the revised layer which are not present in the original layer.
2020-01-16 16:35:50 +10:00
Sandro Mani
c304eb5496 Call QgsMapTool::deactivate after clearing QgsMapCanvas::mMapTool
Ensures that QgsMapCanvas::mapTool does not return tool currently being unset.
2020-01-16 15:37:35 +10:00
Sandro Mani
ae25d6179f Clear QgsMapCanvas::mMapTool before emitting mapToolSet in QgsMapCanvas::unsetMapTool
Otherwise, third-parties setting another tool based on the emitted signal will have their tool cleared again immediately
2020-01-16 15:37:35 +10:00
Sandro Mani
4667152d84 Disconnect QgsMapTool::destroyed also when tool is unset via QgsMapCanvas::unsetMapTool
Ensures consistent behaviour with when tool is replaced in QgsMapCanvas::setMapTool.
2020-01-16 15:37:35 +10:00
Sandro Mani
0c83435e2b Emit QgsMapCanvas::mapToolSet before tool is activated
So that QgisApp::mapToolChanged can connect the relevant signals before the tool is actually activated
2020-01-16 15:37:35 +10:00
Sandro Mani
60b4cad050 Add const version of QgsRenderContext::painter 2020-01-16 15:22:58 +10:00
Sandro Mani
062600f101 Add inline keyword to declarations to match definitions and avoid "redeclared without dllimport" warnings 2020-01-16 15:22:58 +10:00
Juergen E. Fischer
8946aa707c translation string fix 2020-01-16 00:08:01 +01:00
Denis Rouzaud
56bb8e958c
[github] fix condition followup 2020-01-15 15:37:19 +01:00
Denis Rouzaud
2f7eaf7aed
[github] fix conditions 2020-01-15 14:20:03 +01:00
Alexander Bruy
57e211dc4e update tests 2020-01-15 15:17:39 +02:00
Matthias Kuhn
ee0449e48d
Merge pull request #33792 from m-kuhn/offline_editing_boolean
Preserve boolean in offline editing
2020-01-15 14:11:19 +01:00
Sandro Mani
e684b51f80
Merge pull request #33760 from kadas-albireo/headers
Install various missing headers and fix some includes to work with installed headers
2020-01-15 13:40:26 +01:00
Alexander Bruy
1fe16b712a use native algorithm instead of RectanglesOvalsDiamondFixed 2020-01-15 13:41:52 +02:00
Alexander Bruy
9a02e216d7 optimize polygon creation 2020-01-15 13:41:52 +02:00
Alexander Bruy
a6d2a82c52 throw exception if multipart input found 2020-01-15 13:41:52 +02:00
Alexander Bruy
fb4d9c0b81 fix algorithm description and make width, height and rotation parameters
limits more reliable and meaningful
2020-01-15 13:41:52 +02:00
Alexander Bruy
c752919dd0 [processing][needs-docs] port Rectangle,ovals,diamonds algorithm to C++
and make width, height and rotation parameters dynamic.

Old Python implementations marked as deprecated to maintain API
compatibility.
2020-01-15 13:41:52 +02:00
Peter Petrik
cf36172e33 bugfix: fix exporting of the mesh contours for polygons. now the exported polygons does not match triangular mesh 2020-01-15 12:31:11 +01:00
Peter Petrik
a2a80976c2 update MDAL to 0.4.94 2020-01-15 12:25:03 +01:00
Juergen E. Fischer
51c2f0ffad followup 69a53d945c28f 2020-01-15 12:18:58 +01:00
Juergen E. Fischer
69a53d945c fix windows build 2020-01-15 11:01:03 +01:00
rldhont
680df967ad QgsSymbolLayerUtils::decodeSldUom add decode Pixel uom 2020-01-15 10:38:42 +01:00
rldhont
a58dc6bfc3 Read SLD TextSymbolizer: use QgsSymbolLayerUtils::decodeSldUom 2020-01-15 10:38:42 +01:00
rldhont
0ea6c7a0e9 [API] QgsSymbolLayerUtils::decodeSldUom, scaleFactor is not mandatory 2020-01-15 10:38:42 +01:00
rldhont
32cad40eb9 [Bugfix] Read SLD TextSymbolizer : change offset units if offset change 2020-01-15 10:38:42 +01:00
rldhont
4291ace6c2 [Tests] Read SLD TextSymbolizer set units to pixels 2020-01-15 10:38:42 +01:00
rldhont
51b547d78c [BUGFIX] Read SLD TextSymbolizer set units to pixels 2020-01-15 10:38:42 +01:00
Sandro Mani
be42816ee1 Install various missing headers and fix some includes to work with installed headers 2020-01-15 10:21:22 +01:00
Peter Petrik
ecd90c6ecb
[FEATURE] Allow customization of the items shown in browser (#33679)
* [FEATURE] Allow customization of the items show is browser. User can select in Interface Customization dialog to hide some of the items in the browser panel

Funded by Limerick City and County Council
2020-01-15 10:08:58 +01:00
Nyall Dawson
a9ed83f1a6 [FEATURE][processing] New algorithm "Rename table field"
Takes an input layer, existing field and a new name for the field, and
outputs a new layer with the selected field renamed.

While this result could also be achieved with the Refactor Fields
algorithm, Refactor Fields isn't particularly model friendly. It
relies on a constant, fixed table structure, and can't adapt to
input tables with different field structures.

In constrast, this simple Rename Field algorithm adapts nicely for
model use, because it operates on a single field only and leaves
all the other fields untouched.
2020-01-15 21:56:10 +13:00
Nyall Dawson
d3b94025a0 Reuse existing QgsDistanceArea instead of creating new ones 2020-01-15 21:55:27 +13:00
Nyall Dawson
1461ae8d0f [FEATURE][gps] Show distance from GPS lock position to current cursor
position in status bar

When a GPS device is connected, whenever the user moves the cursor
over the canvas a live status bar message displays the distance
and bearing from the cursor to the GPS fix position.

Project distance and bearing settings are respected in this display.
2020-01-15 21:55:27 +13:00
Nyall Dawson
cb6fe01284 Reuse coordinate transform in GPS information widget instead of making
new ones all the time
2020-01-15 21:55:27 +13:00
signedav
993fa38d73
Merge pull request #33688 from signedav/copy-child
Fix invalid attributes dialog on copy to another layer
2020-01-15 07:00:43 +00:00
Nyall Dawson
ddf3d2dffa Use modern approach to combobox population, fix capitalization 2020-01-15 17:10:59 +13:00
Nyall Dawson
0cd955743c Create QgsLabeling class for labeling related enums and constants,
and avoid inclusion of pal header in a public QGIS header

pal is an internal implementation detail -- it should not be exposed
publicly
2020-01-15 17:10:37 +13:00
Nyall Dawson
15a63634f3 [processing] Don't show invalid layer warning if a layer was not even set 2020-01-15 16:38:25 +13:00
nirvn
ff96140393 Fix out-of-sync vector layer extent after a dataChanged was emitted 2020-01-15 10:27:04 +07:00
Nyall Dawson
6bbe28bcf7 Fix some Qt 5.13 deprecation warnings 2020-01-15 08:12:36 +13:00