8548 Commits

Author SHA1 Message Date
Martin Dobias
56f40eca0a
Merge pull request #33855 from wonder-sk/mbtiles-in-wms-provider
MBTiles raster support in WMS provider
2020-01-17 14:18:40 +01:00
Peter Petrik
830e080865 fix bug when using elevation/depth/height averaging 3d method for some datasets with irregular vertical levels 2020-01-17 13:46:39 +01:00
Denis Rouzaud
18a7cd0659
[FEATURE] Add an option to set the default project file format (qgs/qgz) (#33872) 2020-01-17 12:12:02 +01:00
Martin Dobias
9f7c6d9034 Add unit test for mbtiles, copyright header, project exception handling 2020-01-17 11:50:21 +01:00
Alessandro Pasotti
5af1306bf3
Merge pull request #33685 from elpaso/pgraster-pkeys
Native PostGIS raster data provider
2020-01-17 11:31:28 +01:00
rldhont
0fa5a8f4d8
Merge pull request #33813 from rldhont/fix-read-sld-textsymbolizer-vendoroptions
[BUGFIX] Read SLD TextSymbolizer: venderOptions to get advanced settings
2020-01-17 10:00:46 +01:00
Sandro Mani
8410ea7339 Add QgsMapCanvas::setZoomResolutions 2020-01-17 12:18:40 +10:00
Martin Dobias
5cb8997dc2
Merge pull request #33837 from vcloarec/3D_back_simple
[Feature][Mesh][3D] new 3D mesh layer renderer
2020-01-17 00:00:58 +01:00
Martin Dobias
a5c9b39955
Merge pull request #33480 from wonder-sk/3d-layers-load-in-background
[3d] Load 3D vector layer data in background + tiling
2020-01-17 00:00:33 +01:00
Sandro Mani
f39d53bf71
Merge pull request #33820 from kadas-albireo/kml
Add QgsAbstractGeometry::asKml
2020-01-16 23:47:43 +01:00
Sandro Mani
6c32a6ae85 Add QgsAbstractGeometry::asKml 2020-01-16 14:36:31 +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
Alessandro Pasotti
1682f76641 PG raster: further speed optimization
- fix bbox index
- fetch data+metadata if index is empty (fast track for first call)
- micro-optimizations
2020-01-16 13:33:02 +01:00
rldhont
c43e1d7e86 [Tests] Read SLD TextSymbolizer: venderOptions to get advanced settings 2020-01-16 12:41:47 +01: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
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
vcloarec
1c4a20f73c new 3D mesh renderer 2020-01-15 19:55:43 -04:00
Martin Dobias
878dfc165c Fix 3D rule-based rendering test 2020-01-15 21:52:09 +01:00
Martin Dobias
c868768b43 Fix billboard test
The test got affected by #33823 so we just side step it by moving
away from using also point at location 0,0
2020-01-15 21:23:26 +01: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
rldhont
4291ace6c2 [Tests] Read SLD TextSymbolizer set units to pixels 2020-01-15 10:38:42 +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
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
David Signer
f3d14f94a9 unset deprecated of setIdentifierValuesToNull and setExtraIdentifierValuesToNull because they at least help to set the list to null 2020-01-14 19:10:51 +01:00
Peillet Sebastien
84563cb2c5 apply different test depend on Qt version 2020-01-14 13:43:21 +01:00
Peillet Sebastien
7b1890931c These tests have different results between azure and travis building 2020-01-14 13:43:21 +01:00
speillet
b13846578f BUG: fix expected value for a test, due to changes in qtcore package version between bionic and disco Ubuntu release
BUG: fix expected value for a test, due to changes in qtcore package version between bionic and disco Ubuntu release
2020-01-14 13:43:21 +01:00
speillet
5fe6bb89be BUG: scientific notation for double number between 1 and -1, fix #33475 2020-01-14 13:43:21 +01:00
Matthias Kuhn
f00cbb300b
Merge pull request #33782 from nyalldawson/fix_azure
Fix azure test failure, missing .arg
2020-01-14 13:11:55 +01:00
Matthias Kuhn
a47bbf4148
Merge pull request #33642 from lbartoletti/fix_snap_3d_on_2d_vertex
Fix ZM snapping for line/polygon on 2D vertex
2020-01-14 13:11:37 +01:00
Alessandro Pasotti
88bc4483ad PG raster: add test to cmake 2020-01-14 10:44:37 +01:00
Alessandro Pasotti
36b7d8b82a PG raster performance boost by using overviews for stats 2020-01-14 10:30:14 +01:00
Alessandro Pasotti
99ac4fb820 PG raster: do not require db name
... in case a service file is used
2020-01-14 08:28:10 +01:00
David Signer
4b4d902459 setting fkey to null 2020-01-14 07:48:26 +01:00
David Signer
883a52790c setting fkey values to null 2020-01-14 07:48:26 +01:00
Nyall Dawson
68fbca28dc Test mask updates 2020-01-14 16:11:53 +10:00
Nyall Dawson
90fa54a52b Test masks 2020-01-14 19:08:20 +13:00
Nyall Dawson
faf49490a1 Add unit tests for manual table row heights and column widths 2020-01-14 19:08:20 +13:00
Nyall Dawson
0aef9a178b Unit tests for editing row height/column width 2020-01-14 19:08:20 +13:00
Nyall Dawson
2b5598d891 UX fixes for working with numeric formats in table editor 2020-01-14 19:08:20 +13:00
Nyall Dawson
024b321406 Unit tests and fixes for table numeric format setting/retrieval 2020-01-14 19:08:20 +13:00
Nyall Dawson
31cdf131b3 Add equality operator for QgsNumericFormat 2020-01-14 19:08:20 +13:00
Nyall Dawson
9835ab06ea Unit tests, fixes for table foreground/background color 2020-01-14 19:08:20 +13:00
Nyall Dawson
77850adff6 Unit test for cell clearing, fix duplicate signals 2020-01-14 19:08:20 +13:00
Nyall Dawson
e3507ff24c Unit tests for selection modes 2020-01-14 19:08:20 +13:00
Nyall Dawson
5a4bd09f72 Expand docs, extra tests 2020-01-14 19:08:20 +13:00
Nyall Dawson
387787b539 Add interactive editor dialog for layout manual table items 2020-01-14 19:08:20 +13:00