60807 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
aee84a54be PG raster: fix composite pkeys and extent-less rasters
Fixes composite pkeys and force manual raster envelope
calculation in case metadata have no values for extent
2020-03-03 13:50:49 +01:00
Alessandro Pasotti
e286044eaf Fix datasource uri with explicit schema
Fixes #34823
2020-03-03 11:08:31 +01:00
Juergen E. Fischer
794215df55 osgeo4w: include postgres raster provider (fixes #34823) 2020-03-03 10:17:12 +01:00
Denis Rouzaud
644cce5898
fix message log for zip errors (#34820) 2020-03-03 09:26:55 +01:00
Nyall Dawson
5c72f83497 Fix spell check false positive for Qt::LeftEdge 2020-03-03 16:08:23 +10:00
Nyall Dawson
d34c01350f Port model arrow item to c++ 2020-03-03 16:08:23 +10:00
Nyall Dawson
b624d3d5d6 Move logic for calculation of linkage points for model items to C++ 2020-03-03 16:08:23 +10:00
Nyall Dawson
997ac4eba4 Add method to determine distance from point to rectangle bounds 2020-03-03 16:08:23 +10:00
Nyall Dawson
d8111e1025 Make link point collapsing handling more generic 2020-03-03 16:08:23 +10:00
Nyall Dawson
919088c7d5 Avoid deprecation warning 2020-03-03 08:45:32 +10:00
William Kyngesburye
989d0c68f6 QtDBus linked to other Qt frameowrks, needs bundling 2020-03-03 08:27:24 +10:00
Alessandro Pasotti
bf18ebc300
Merge pull request #34815 from elpaso/bugfix-gh34806-pgconnection-char
Connections API fix Postgres char conversion in execSQL
2020-03-02 14:07:08 +01:00
nirvn
a7566def40 [ui] Add missing label mask panel title 2020-03-02 18:54:50 +10:00
Nyall Dawson
62c9583004 Fix build 2020-03-02 18:53:31 +10:00
Nyall Dawson
a38f0cbbd4 Move another method to c++ 2020-03-02 18:53:31 +10:00
Nyall Dawson
1bf51a4fbb Move item state handling to c++ 2020-03-02 18:53:31 +10:00
Nyall Dawson
2f8dbacc87 Move more functionality to c++ base class 2020-03-02 18:53:31 +10:00
Nyall Dawson
0dbb082dfd Move designer edit buttons to c++ 2020-03-02 18:53:31 +10:00
Nyall Dawson
8f6a6111d2 Use actual component sizes when drawing model instead of hardcoded values
(still not user-setable!)
2020-03-02 18:53:31 +10:00
Nyall Dawson
55a582d068 Make size a property of QgsProcessingModelComponent
API only for now, cannot be set by users
2020-03-02 18:53:31 +10:00
Nyall Dawson
6c98448a7f Use signals to avoid storing arrows in graphic item 2020-03-02 18:53:31 +10:00
Nyall Dawson
0df4e35a02 Use subclasses instead of instance checking for component type
specific logic
2020-03-02 18:53:31 +10:00
Nyall Dawson
fe4352c236 Use signals to avoid hard dependancy between component graphic items and scene 2020-03-02 18:53:31 +10:00
Nyall Dawson
1d25155d15 Rework hiding of model controls to use a flag on the scene 2020-03-02 18:53:31 +10:00
Nyall Dawson
b567ddeccd Move model storage for graphic items to c++ base class 2020-03-02 18:53:31 +10:00
Nyall Dawson
167a8d3846 Less Python, more c++ 2020-03-02 18:53:31 +10:00
Nyall Dawson
72d7305456 Start using c++ base clases in model designer 2020-03-02 18:53:31 +10:00
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
Alessandro Pasotti
aac0c92d27 Connectios API fix Postgres char conversion in execSQL
Fixes #34806
2020-03-02 09:22:52 +01: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