1639 Commits

Author SHA1 Message Date
Alessandro Pasotti
a6679eedd1 PG raster enable filters in source select 2020-03-03 16:07:45 +01:00
Alessandro Pasotti
ea1826a3d1 Modular PG raster tests
It should be now possible to disable test
cases individually.
2020-03-03 14:25:21 +01:00
Alessandro Pasotti
18d98d422d Testdata for PG raster 2020-03-03 13:55:38 +01:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
rldhont
1402d0d6d7 [Bugfix][Server] WMS GetFeatureInfo provides bounding box when configured
Some providers always retrieve geometry even if the NoGeometry flags is used in request. So in WMS GetFeatureInfo the bounding box even if it as not been configured.

The `WIT_GEOMETRY` parameter has been introduced to force getting the geometry. The project can contain a parameter to add wkt geometry in the WMS GetFeatureInfo response: `wmsFeatureInfoAddWktGeometry`

To provide something more homogeneous:
* The wkt geometry is only provided if the project has been configured to provide wkt geometry and the request contains WITH_GEOMETRY.
* The bounding box is provided if the project has been configured to provide wkt geometry
* The bounding box is not provided if the project has not been configured to provide wkt geometry
2020-02-28 14:04:04 +01:00
vcloarec
3ba413cf92 add tests 2020-02-27 10:15:42 +10:00
nirvn
458eb1d2df [labelling] Fix suboptimal logic for polygon's default around centroid placement 2020-02-26 08:59:49 +07:00
Vincent Cloarec
27a70eab7c
[FEATURE] mesh simplification (#34532)
[FEATURE] fix #31575 mesh layer speed rendering improvements (LOD)

As mesh layer could have millions of triangles, rendering could be very slow, especially when all the triangles are displayed in the view whereas triangles are too small to be viewed.

For those situations QGIS has an option to simplify the mesh. Simplification leads to one or more simplified mesh that represents levels of detail (LOD). When rendering the mesh, the appropriate level of detail is chosen to have an adequate rendering depending on the view.
2020-02-25 08:05:49 +01:00
Alessandro Pasotti
f1c6bdf00c Move jsonformatter to own dir, add license and src
Fixes #34586
2020-02-23 18:08:36 +01:00
root676
ea7167e135 [feature] add Fill noData cells algorithm and tests 2020-02-22 06:46:56 +10:00
Sandro Santilli
5f2660a385 Drop debugging output from Dockerfile 2020-02-21 12:13:38 +10:00
Sandro Santilli
ced0ed4c79
Merge pull request #34500 from strk/pointcloud-test-recover
Recover pointcloud tests
2020-02-18 15:01:10 +01:00
Sandro Santilli
f0f2bfc29a Install postgresql-client-11 as well
(works around a packaging bug in postgresql-server-dev-11)
2020-02-18 11:20:38 +01:00
Sandro Santilli
ded072e945 Use --with-pgconfig 2020-02-18 09:53:35 +01:00
Sandro Santilli
c9c99f9672 Try installing pointcloud 1.2.1, and use PATH instead of PG_CONFIG
because PG_CONFIG seems to be unsupported, at least at ./configure
time (https://github.com/pgpointcloud/pointcloud/issues/258)
2020-02-18 08:29:09 +01:00
Sandro Santilli
2aef8afd7d Force use of PostgreSQL-11 headerfiles when building pointcloud 2020-02-17 11:44:32 +01:00
Sandro Santilli
b270ff1da7 Recover pointcloud tests
This reverts commit bf6915633cf12a556cd807b136e63509b6cdb33f while
improving predictability of results
2020-02-17 11:36:46 +01:00
Blottiere Paul
e924f70d6f Add unit test 2020-02-14 17:18:36 +01:00
Matthias Kuhn
bf6915633c Revert "Add test for pointcloud layers fetching and related permissions"
This reverts commit 30fe7484698046b588284ff5485115e70833a268.
2020-02-14 13:43:51 +01:00
Nyall Dawson
035a406aa3 Add test mask 2020-02-14 06:38:38 +10:00
Nyall Dawson
756cb6f592 [layouts] Improve Manual Table handling of header cells
Instead of hiding this functionality from users, we instead add an explicit
toggle to the Table Designer dialog "Table" menu to hide or show
the header cells in the designer, and re-add the widgets which
allow users to customise the header appearance back into the
item configuration widget.

Whenever a header cell is selected in the table designer, the formatting
widgets are disabled since the item's header configuration widgets
are used to set the background/foreground color and other properties
of these cells instead.
2020-02-14 06:38:38 +10:00
Nyall Dawson
54eba4a1b0 Use metadata method to retrieve Shapefile encoding on GDAL 3.1+ builds
Avoids code duplication, correct behavior with vsi* sources
2020-02-13 09:32:02 +10:00
Nyall Dawson
bb71b713ec Add helper method to read encoding from shapefile .cpg or LDID information
Ported from the GDAL logic, which unfortunately is not available
for re-use directly from GDAL.
2020-02-13 09:32:02 +10:00
Marco Hugentobler
ad3db5e786 Adapt unit test output 2020-02-12 12:08:36 +01:00
Matthias Kuhn
577e7210db Merge pull request #33952 from m-kuhn/server_wms_equal_layer_name
[server] do not drop layers with duplicate names
2020-02-08 23:04:49 +01:00
Nyall Dawson
3c89d2696e More test updates 2020-02-07 17:19:47 +10:00
Nyall Dawson
ca9a989c6f Test updates 2020-02-07 17:19:47 +10:00
Matthias Kuhn
8dbb855121 Revert "More debug for [travis]"
This reverts commit c58f7f49e8dffa12e8f749e34792abedc8824287.
2020-02-01 12:58:45 +01:00
Juergen E. Fischer
14e73164ac wfs server: don't report unsupported DWithin/Beyond in capabilities and properly report failure to decode filters containing them 2020-01-30 09:19:34 +01:00
Alessandro Pasotti
ee323eb5c1
Merge pull request #34012 from elpaso/bugfix-gh33383-ogr-spatialite-respect-provider-defaults
Dataprovider ogr spatialite respect provider defaults
2020-01-29 07:59:25 +01:00
Nyall Dawson
ba4242076d Fix oversized width in QgsLayoutItemLabel::adjustSizeToText 2020-01-28 17:50:04 +10:00
Nyall Dawson
255e4ed09f (Hopefully temporarily) disable PG Raster tests on Travis
This test is failing on master builds, causing timeouts during
the sql data load step and resulting in build failures on the
master branch. The consequence is that build caching on Travis
is broken, resulting in increasingly lengthy test build times.
2020-01-28 12:04:39 +10:00
Alessandro Pasotti
ebf7d247d8 Provider default values: more tests and homogenize
Fixes #33383

Homogenization is not complete but at least
there are test cases for the future.
2020-01-27 18:21:19 +01:00
Alessandro Pasotti
63e66c232c PG: fix default value for IDENTITY PKs
Fixes #29560 - PostgreSQL identity column not recognized properly
2020-01-24 15:20:15 +01:00
Matthias Kuhn
c58f7f49e8 More debug for [travis] 2020-01-23 19:32:38 +01:00
Matthias Kuhn
5eb92b59fb Add test mask 2020-01-22 15:46:00 +01:00
Matthias Kuhn
b25c043015 Add unit test 2020-01-22 15:46:00 +01:00
Matthias Kuhn
b4eebfcd82 Add test output to postgres database startup
to debug travis
2020-01-22 14:52:21 +01:00
mhugent
07b64aaa18
Merge pull request #33891 from mhugent/opacity_project_settings
Add layer opacity to GetProjectSettings
2020-01-21 14:22:57 +01:00
Marco Hugentobler
9fca4982d3 Add unit test for opacity in GetProjectSettings 2020-01-21 09:07:59 +01:00
Even Rouault
bf7dffee6d QgsExpression::referencedAttributeIndexes(): only report valid indices
If the expression was referencing a non-existing field, -1 was returned in the
result set, which caused later crashed in various providers, including the
Spatialite, Postgres, etc..., due to tried to dereference mFields.at(-1)

Discarding invalid indices is what is also done in
QgsFeatureRequest::OrderBy::usedAttributeIndices()

Fixes #33878
2020-01-21 11:37:11 +10:00
Marco Hugentobler
ae204986ef Adapt expected getprojectsettings output 2020-01-20 15:11:26 +01:00
Nyall Dawson
5c27c5198b Add test mask for mbtiles on windows 2020-01-20 11:42:20 +10:00
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
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
vcloarec
1c4a20f73c new 3D mesh renderer 2020-01-15 19:55:43 -04: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
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