8750 Commits

Author SHA1 Message Date
Vincent Cloarec
ec31fbd71b
[BUG] Fix On The Fly Issues with mesh layer (#34727)
* fix #29330 and fix #28827 [BUG] 
Do not create triangles for invalid vertices and fix OTF mesh layer bug
2020-02-28 07:57:57 +01:00
Nyall Dawson
eed9173c2b Fix relation reference widget test crashes under debug builds
Because of the new assert in QgsMapToolAdvancedDigitizing requiring
the cad widget

Not the cleanest fix -- the widget should gracefully handle having
no cad widget available by disabling the digiting tool instead, but
we urgently need the CI infrastructure to stop flagging everything because
of this change.
2020-02-28 15:41:18 +10:00
Matthias Kuhn
65009c228d
Merge pull request #34329 from troopa81/fix_relationref_identify
Fix relation reference constraint when identifying a feature
2020-02-27 17:48:45 +01:00
nirvn
7f54853aae Make containsAdvancedEffects function more accurate
by skipping layers that fall outside visible scale range
2020-02-27 15:39:19 +07:00
Alessandro Pasotti
69053fdf86
Merge pull request #34698 from elpaso/bugfix-gh34696-spatialite-nofields
Fix spatialite editing with nofields (or def values)
2020-02-27 08:10:24 +01:00
vcloarec
3ba413cf92 add tests 2020-02-27 10:15:42 +10:00
Paul Blottiere
d4e24b8dc8
Merge pull request #34268 from arnaud-morvan/request_body_plus
Do not replace plus by space in REQUEST_BODY
2020-02-26 21:28:23 +01:00
Alessandro Pasotti
6b23d90f8a Fix spatialite editing with nofields (or def values)
Fixes #34696
2020-02-26 18:28:42 +01:00
Matthias Kuhn
39a9ae9dfd
Merge pull request #34355 from troopa81/fix_chainfilter_nonull
In relation reference widget, fix chain filter when null values are not allowed
2020-02-26 11:08:55 +01:00
Nyall Dawson
d0bb1d192b Fix node tool rectangular selection when layer has a different crs to canvas
Fixes #34591
2020-02-26 14:45:15 +10:00
nirvn
458eb1d2df [labelling] Fix suboptimal logic for polygon's default around centroid placement 2020-02-26 08:59:49 +07:00
Nyall Dawson
f5470496ae Accept "proj:..." prefix in QgsCoordinateReferenceSystem::createFromString
instead of just "proj4:..."
2020-02-25 18:15:00 +10: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
bb93dbcf13
Merge pull request #34612 from elpaso/bugfix-gh34586-jsonformatter
Move jsonformatter to own dir, add license and src
2020-02-24 20:42:15 +01:00
Nyall Dawson
9a6cb4689f Add API to QgsFieldModel/QgsFieldComboBox to manually set the fields
to show in the widget (i.e. when no layer is available)
2020-02-24 21:05:22 +10:00
mhugent
ebfdc2c8b6
Merge pull request #34574 from mhugent/dxf_label_linebreaks
DXF export: handle line breaks in label text
2020-02-24 10:18:35 +01:00
Nyall Dawson
7c0bd2e2f2 Fix crash in test 2020-02-24 17:23:41 +10:00
Nyall Dawson
bdd951aa6b Add widget wrapper for datetime parameters 2020-02-24 17:23:41 +10:00
Nyall Dawson
0a5ddb3cea Add support for reading/writing QDateTime, QDate and QTime via QgsXmlUtils 2020-02-24 17:23:41 +10:00
Nyall Dawson
6c94bf493d Add QgsDateTimeEdit subclasses for specific date and time widgets
Adds QgsDateEdit and QgsTimeEdit subclasses. (All the heavy lifting
with these is done by Qt itself, hence no extra unit tests!)
2020-02-24 17:23:41 +10:00
Nyall Dawson
0efc6f531c [FEATURE][processing] New parameter type for datetime (or date, or time) values
Adds a new parameter type QgsProcessingParameterDateTime for handling
date/datetime/time values
2020-02-24 17:23:41 +10:00
Nyall Dawson
e7380c7325
Merge pull request #34040 from Samweli/temporal_api
Temporal API
2020-02-24 13:48:39 +10:00
Alessandro Pasotti
f1c6bdf00c Move jsonformatter to own dir, add license and src
Fixes #34586
2020-02-23 18:08:36 +01:00
Alex
13337b20cd
[feature] data defined control over layout map CRS 2020-02-23 06:50:55 +10:00
Nyall Dawson
99991c3029 Handle more uri components in encode/decodeUri for AFS provider 2020-02-22 06:47:45 +10:00
Nyall Dawson
5f533e561c [FEATURE][processing] Add algorithms for raising warnings and exceptions from models
These algorithms raise either a custom warning in the processing log, OR raise
an exception which causes the model execution to terminate.

An optional condition expression can be specified to control whether or not
the warning/exception is raised, allowing logic like "if the output layer from
another algorithm contains more then 10 features, then abort the model execution"

Sponsored by Fisel + König
2020-02-22 06:47:17 +10:00
root676
ea7167e135 [feature] add Fill noData cells algorithm and tests 2020-02-22 06:46:56 +10:00
Sandro Santilli
d15ce6b4c3 Only consider raster available when metadata table is readable
Closes #32558

Includes automated test.
2020-02-21 19:00:48 +01:00
Sandro Santilli
5f2660a385 Drop debugging output from Dockerfile 2020-02-21 12:13:38 +10:00
Alessandro Pasotti
750df366c7
Merge pull request #34578 from elpaso/bugfix-gh34557-python-qgspoint-crash
Fix QgsPoint ctor with invalid arguments
2020-02-20 18:59:12 +01:00
Nyall Dawson
4ab9f17ee7 Disable a test which relies on proj 4 behavior 2020-02-21 02:42:12 +10:00
Nyall Dawson
6a0266cced Update test for proj 6 2020-02-21 02:42:12 +10:00
Nyall Dawson
fe84b45dec Fix asan warnings from TestQgsProcessingInPlace 2020-02-21 02:42:12 +10:00
Nyall Dawson
6f0910e6d9 Fix asan warnings in AFS provider test 2020-02-21 02:42:12 +10:00
Nyall Dawson
efeadcf669 Update another test for proj 7 2020-02-21 02:42:12 +10:00
Nyall Dawson
97486eeeb2 Update more test results for proj 7 2020-02-21 02:42:12 +10:00
Nyall Dawson
9ba4fb9a43 Update test results for proj 7 2020-02-21 02:42:12 +10:00
Nyall Dawson
b2f37bb043 Remove code paths for proj >= 6.0 < 6.3
We no longer support building with these versions
2020-02-21 02:42:12 +10:00
Alessandro Pasotti
8cbb23cf09 Fix QgsPoint ctor with invalid arguments
Fixes #34557
2020-02-20 11:14:18 +01:00
Marco Hugentobler
8115be4a91 astyle 2020-02-20 10:37:32 +01:00
Marco Hugentobler
697bad94e9 DXF export: handle line breaks in label text. Line breaks in TEXT or MTEXT makes dxf viewers hang or crash 2020-02-20 09:06:57 +01:00
arnaud.morvan@camptocamp.com
3af491df0a Add test for plus in request body 2020-02-19 09:11:40 +01: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
Paul Blottiere
a3c08ad667
Merge pull request #34311 from pblottiere/fix_embedded_layer_read
Turn relative path into absolute path for reading embedded projects.
2020-02-18 11:14:33 +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
Nyall Dawson
c1c1dc38b9 [needs-docs] Add setting to control whether the coordinate operation
for transformation between a source and destination CRS pair should
permit falling back to a ballpark transform when required

This defaults to true (i.e. similar-ish behavior to proj 4), but allows
users who require a specific coordinate operation the ability to prevent
any fallback ballpark transformations occurring
2020-02-18 08:37:25 +10:00
Nyall Dawson
69950aee79 Fix allow fallback determination for reversed operations 2020-02-18 08:37:25 +10:00
Nyall Dawson
e3b1649fd3 Add API to QgsCoordinateTransform to control fallback availability
on a transform-by-transform basis, populate correctly from context
2020-02-18 08:37:25 +10:00