60777 Commits

Author SHA1 Message Date
Nyall Dawson
d9cc2aedeb Add clone method to QgsProcessingModelComponent 2020-03-02 18:53:31 +10:00
Nyall Dawson
16841efa7e Start moving base classes to c++ 2020-03-02 18:53:31 +10:00
lbartoletti
dfa5cb68aa
New snapping modes: Centroid and middle of a segment (midpoint) (#33622)
Snap on centroid and midpoint segment [FEATURE][needs-docs]
2020-03-02 09:02:35 +01:00
Alessandro Pasotti
d3ce32affd Typo endianness 2020-03-02 10:32:03 +10:00
Nyall Dawson
1a07654ecf Less auto 2020-03-01 20:36:53 +10:00
Nyall Dawson
38a3a2d478 [layouts] Fix layers are incorrectly shown when groups are unchecked
for a map theme

Followup https://github.com/qgis/QGIS/pull/33099

Fixes #34257
2020-03-01 20:36:53 +10:00
Nyall Dawson
4d381b7476 Fix doxy warning 2020-03-01 19:12:25 +10:00
Nyall Dawson
cd6d51181b [processing] Port some model designer graphic item internals to c++
for stability and re-usability from c++ code
2020-03-01 19:12:25 +10:00
Nyall Dawson
58cabe6bfc Revert "Use a font size in points, not pixels, for hi-dpi compatibility"
This reverts commit ac412e38adb6abc9d113657f8466b3a833a6e546.
2020-03-01 19:12:25 +10:00
Nyall Dawson
496531b84b Fix incorrect rowCount results in layout model 2020-02-29 20:32:06 +10:00
Vincent Cloarec
22f758fcf3
[BUG][Mesh] Fix streamlines/traces issue when CRS transform fails (#34765)
[bug] Fix streamlines/traces issue when transform fails
2020-02-28 23:03:09 +01:00
Nyall Dawson
ac412e38ad Use a font size in points, not pixels, for hi-dpi compatibility 2020-02-29 07:52:08 +10:00
Nyall Dawson
1924d82517 Don't use constants for model graphic item sizes
Allows flexibility for items to have different sizes (not currently user-settable!)
2020-02-29 07:52:08 +10:00
Nyall Dawson
435599a42b [processing] Avoid redefining model element size multiple times, don't
hardcode font name (instead use correct theme font)
2020-02-29 07:52:08 +10:00
Juergen E. Fischer
edee4a3d10 spelling fixes (closes #32408) 2020-02-28 21:04:02 +01:00
rldhont
277b6462f4
Merge pull request #34697 from rldhont/fix-server-wms-getfeatureinfo-bbox
[Bugfix][Server] WMS GetFeatureInfo provides bounding box when configured
2020-02-28 19:36:33 +01:00
Alessandro Pasotti
1978cb9b8a
Merge pull request #34760 from elpaso/relation-reference-add-checkbox-to-hide-save-child-edits-button
[feature] Relation wdgt: add checkbox to hide save child edits button
2020-02-28 15:52:45 +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
Alessandro Pasotti
4b80e034e4 Fix dox comment 2020-02-28 13:20:03 +01:00
Alessandro Pasotti
9c337e9ec2 [feature] Relation wdgt: add checkbox to hide save child edits button
This is very useful for embedded forms.

Funded by: ARPA Piemonte
2020-02-28 13:20:03 +01:00
Matthias Kuhn
0a9bbd724f
Merge pull request #34336 from troopa81/fix_formfilter_featureselectiondlg
Fix form filtering when used in feature selection dialog
2020-02-28 08:45:54 +01:00
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
Harrissou Sant-anna
7e3e4847fc Remove oversized margin of the Container properties frame
in drag-and-drop mode of attribute forms
2020-02-28 15:41:36 +10: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
Nyall Dawson
12ff1b373b Silence some more noisy debug messages 2020-02-28 14:44:31 +10:00
Harrissou Sant-anna
0801d0b9d8 Add a vertical spacer at the bottom of mask label tab 2020-02-28 10:25:05 +10:00
Håvard Tveite
833202f32c
Update the short help description of the Random points along line algorithm
Fixes #33160
2020-02-28 10:23:53 +10:00
Corentin.F
d87843c2c3
Correct bug from postgres comment using quote or caps 2020-02-28 08:36:58 +10:00
Paul Blottiere
f2b2e96115
Merge pull request #34734 from m-kuhn/formatString
Remove debug message
2020-02-27 20:50:32 +01: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
Alessandro Pasotti
c154ecd314
Merge pull request #34732 from elpaso/store-force-suppress-popup-property
Fix store force no popup
2020-02-27 17:36:58 +01:00
Matthias Kuhn
03436dcbd6
Merge pull request #34726 from olivierdalang/fix_planimetric_checkbox
Fix planimetric measurements checkbox not restored in options dialog
2020-02-27 17:20:05 +01:00
Matthias Kuhn
1ebaad7390 Remove debug message
The message ended up as WARNING in QGIS server log files
2020-02-27 16:51:33 +01:00
Alessandro Pasotti
131ab9cc22 Fix store force no popup
Followup PR #34654
2020-02-27 14:54:29 +01:00
olivierdalang
c68a50f0c3 Fix planimetric measurements checkbox not restored in options dialog
see https://github.com/opengisch/QGIS-Issues-SH/issues/12#issuecomment-591450501
2020-02-27 10:26:39 +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
Julien Cabieces
f4a3af276a Fix form filtering when used in feature selection dialog 2020-02-27 09:00:55 +01:00
Alessandro Pasotti
c90fbd5978
Merge pull request #34654 from elpaso/vectorlayertools-suppress-form-popup
[feature] Relation widget force suppress popup
2020-02-27 08:11:44 +01: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
Nyall Dawson
7057b37899 Check in updated internal srs db based on latest proj version 2020-02-27 14:33:02 +10:00
vcloarec
a6484caeed fix issue for Qt version <5.10 2020-02-27 10:15:42 +10:00
vcloarec
fcf3410f8b typo 2020-02-27 10:15:42 +10:00
vcloarec
3ba413cf92 add tests 2020-02-27 10:15:42 +10:00
vcloarec
053784d0e4 add normals to QgsMeshLayerUtils 2020-02-27 10:15:42 +10:00
vcloarec
eb95c598f2 fix triangular mesh update 2020-02-27 10:15:42 +10:00
vcloarec
4b038fa2d9 after Peter review
.
2020-02-27 10:15:42 +10:00
vcloarec
e11f65b85a dataset scalar 3D 2020-02-27 10:15:42 +10:00
Juergen E. Fischer
d569b073fe postgres provider: re-allow adding layers from PostgreSQL 8.4 2020-02-27 00:58:23 +01:00
uclaros
200f75ea06
fix crash when exporting check geometries gaps
Fixes #34661
2020-02-27 06:37:22 +10:00
Raymond Nijssen
3f80823b34 fix for format_date() help text 2020-02-27 06:36:26 +10:00