13512 Commits

Author SHA1 Message Date
Matthias Kuhn
212cd20791 Transfer ownership of item 2018-08-26 14:10:46 +02:00
Matthias Kuhn
6ae03afdfa Add license headers 2018-08-26 14:10:46 +02:00
Matthias Kuhn
9ad3515a0b Better dox 2018-08-26 14:10:46 +02:00
Matthias Kuhn
1e81e03a18 Add QgsSnapToGridCanvasItem 2018-08-26 14:10:46 +02:00
Matthias Kuhn
aae6559130 Allow disabling snapping on maptools 2018-08-26 14:10:46 +02:00
Matthias Kuhn
9e387e48fc Make map tool snap to grid crs aware 2018-08-26 14:10:46 +02:00
Matthias Kuhn
8fc08d8c13 Snap nodes in digitizing map tools to grid 2018-08-26 14:10:46 +02:00
Alexander Bruy
821a8ff0b5 [processing] fix incorrect output names 2018-08-26 11:26:07 +03:00
Matthias Kuhn
6097b13aa2
Merge pull request #7700 from m-kuhn/fixRelations
Invalidate relations on layer removal
2018-08-25 08:09:30 +02:00
Nyall Dawson
83feea46a7 [processing] Accept geometry-less layers in more algorithms
Fixes #19685
2018-08-25 15:41:13 +10:00
Alexander Bruy
267b049d31 [dbmanager] fix versioning dialog UI (overlapping line edits) 2018-08-25 08:34:24 +03:00
Matthias Kuhn
2a31d38613 Add copy constructor dox 2018-08-24 18:01:47 +02:00
Matthias Kuhn
86e1382fb0 Make QgsRelation implicitly shared 2018-08-24 13:24:13 +02:00
Matthias Kuhn
a5a6f0058a
Merge pull request #7672 from m-kuhn/geomCheckerAutoFixes
Add automatical fixes for geometries
2018-08-24 12:32:44 +02:00
Matthias Kuhn
9dc387fb87 Doxygen since 2018-08-24 11:33:59 +02:00
Matthias Kuhn
2c0de10b57 Fix code style 2018-08-24 07:56:58 +02:00
Luigi Pirelli
3b29e59885 small fix in parameter description removing spaces 2018-08-24 06:18:51 +10:00
Luigi Pirelli
819a82ad54 added SAGA watershed segmentation execution test 2018-08-24 06:18:51 +10:00
Luigi Pirelli
ad96be96a9 Fix Thershold parameter for SAGA Watershed algorithm 2018-08-24 06:18:51 +10:00
Chris Mayo
2a72eda514 Improve documentation of QgsRasterLayer constructor
- baseName is just passed on to the parent constructor to be the display
   name, use a literal string in the example to avoid misunderstanding.

 - Remove stray bullet.
2018-08-24 06:16:57 +10:00
Matthias Kuhn
063ccf4283 Move geometry fixes to separate class 2018-08-23 18:38:09 +02:00
Matthias Kuhn
f69e58f261 Revert to specific setters and getters 2018-08-23 14:24:42 +02:00
Mathieu Pellerin
6196fd3753
[vector writer] Return actual layer name used
This is needed as some OGR drivers will modify the provided layer name
(e.g. the KML driver replaces dashes with underscores).
2018-08-23 15:02:28 +07:00
Nyall Dawson
51a63b98fb Allow QgsMapLayerProxyModel to be filtered by string 2018-08-23 06:39:12 +10:00
Denis Rouzaud
ea2ab53482 fix QgsGeometry API doc for 3.x for get/set methods 2018-08-23 06:38:58 +10:00
Juergen E. Fischer
1cc1f16501 Fix translation string
(caused "tx ERROR: Error received from server: Qt Linguist variants are
not yet supported." on vanish)
2018-08-22 10:40:23 +02:00
Matthias Kuhn
37a49e2bfe Fix typo 2018-08-22 07:28:15 +02:00
Matthias Kuhn
5435b193a2 Setter for GeometryOptions and not individual props 2018-08-22 07:01:51 +02:00
Matthias Kuhn
8aca375a6e Add assertGeometriesEqual function for testing 2018-08-21 17:57:14 +02:00
Matthias Kuhn
1d6d4cb11c Add missing docstrings 2018-08-21 15:14:27 +02:00
Matthias Kuhn
256876eb45 Add autofixers for geomtries
* Snap to grid
 * Remove duplicate nodes
2018-08-21 15:14:27 +02:00
Martin Dobias
2e56fadcd1 Add 3D map print layout item
So far this is just support in the layout framework, not yet exposed to the GUI.
2018-08-21 12:59:47 +02:00
Nyall Dawson
9fbef832c9 [processing] Also standardise names for Spatialite algorithms 2018-08-21 16:00:18 +10:00
Nyall Dawson
5fab46f41c [processing][needs-docs] Refine names for 'Import into PostGIS' algs
Renames the existing algorithms for clarity and consistency
to the format 'Export to PostgreSQL...'. Add tags so that they
still show when searching for the old names, and add descriptions
to make their use more obvious from the toolbox.

Fixes #19658
2018-08-21 16:00:18 +10:00
Nyall Dawson
5241ff3c22 [processing] Fix creation of new layers doesn't default output folder
Fixes #19637
2018-08-21 15:09:37 +10:00
Nyall Dawson
8f3ac4506b [processing] Remove some unused configuration settings 2018-08-21 15:09:37 +10:00
Nyall Dawson
16503b38b2 [processing] Add unit test for gdalinfo algorithm 2018-08-21 14:28:42 +10:00
Nyall Dawson
d0a705fad0 [processing][gdal] Fix ogrinfo algorithm fails when path name has spaces
Fixes #19655
2018-08-21 14:28:42 +10:00
Nyall Dawson
85d740026a [processing] Remove extraneous parameter value check
The subsequent call to checkParameterValues covers the same checks,
but in a more flexible way.

Refs discussion at https://github.com/qgis/QGIS-Documentation/pull/2797
2018-08-21 05:24:30 +10:00
Martin Dobias
26631b3d44 Rename faceIsActive() to isFaceActive() 2018-08-20 11:56:27 +02:00
Peter Petrik
419ec1f736 [mesh] fix bug in rendering datasets with inactive faces 2018-08-20 11:56:27 +02:00
nirvn
2aebeb0157 [ui] add security warning to the python console 2018-08-20 14:41:07 +07:00
Nyall Dawson
c7845ddbb4 Deprecate unused QgsAbstractDataSourceWidget progress report signal
QgsProxyProgressTask should be used instead for progress reporting
2018-08-20 15:01:52 +10:00
Nyall Dawson
aa512636f0 Deprecate QgsFeatureRequest::(set)connectionTimeout, replace with
more generic QgsFeatureRequest::timeout
2018-08-18 16:53:32 +10:00
Nyall Dawson
2a12c6feeb New class QgsScopedProxyProgressTask, which makes it easy
to create proxy progress tasks and have their lifetime
managed automatically.
2018-08-18 08:42:34 +10:00
Nyall Dawson
0d200623b1 [FEATURE][processing] Add non-joinable output to Join by Location alg
Allows unjoinable features to be saved to a separate optional layer
2018-08-18 08:03:39 +10:00
Nyall Dawson
773371a143 [FEATURE][processing] Join by field value can export unmatched records,
and reports counts of matched/unmatched features

This gives an explicit warning to users when features were not matched,
and optionally allows them to save non-matching features to a layer.
2018-08-18 08:03:39 +10:00
Martin Dobias
6d1e420c71 min/max to minimum/maximum renaming 2018-08-17 09:34:41 +02:00
Martin Dobias
d91e12d417 Fix missing min/max values for classification when changing datasets
The min/max values were stored in the color ramp shader, but to my surprise
these values were never persisted or copied: pseudo-color raster renderer
has a separate storage for the min/max values, so we need that for mesh renderer
as well.

The QgsRasterShaderFunction is not really useful, and QgsColorRamp should not
be derived from it, making things just more confusing.
2018-08-17 09:34:41 +02:00
nirvn
f4a0e743fa Implement a QgsProviderRegistry decodeUri function + test 2018-08-16 16:46:01 +07:00