1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-23 00:05:43 -04:00

8035 Commits

Author SHA1 Message Date
Martin Dobias
5228cc5fb4 One more fix for doc test 2016-12-12 10:34:03 +08:00
Martin Dobias
556582979a Rename QgsLegendModelV2 to QgsLegendModel 2016-12-12 03:27:14 +08:00
Martin Dobias
c783be1d04 Rename QgsComposerLegendStyle to QgsLegendStyle 2016-12-12 03:23:02 +08:00
Martin Dobias
3efc28d07b Remove legacy class QgsComposerLegendItem and subclasses 2016-12-12 02:42:04 +08:00
Martin Dobias
57ff36bc01 Make it possible to use project as non-singleton
This is just a first step - it will be a long way to get rid of all
the usages of singleton instance in QGIS code.
2016-12-11 17:49:24 +08:00
Martin Dobias
899ea38d02 Make doc coverage test happy 2016-12-11 17:09:19 +08:00
Martin Dobias
2c9f1ff579 Make map canvas independent from overview canvas, simplify QgsMapCanvas API 2016-12-11 16:41:07 +08:00
Martin Dobias
5fc10d6207 Migrate QgsMapThemeCollection away from using layer IDs 2016-12-10 23:23:18 +08:00
Martin Dobias
c143be7a73 QgsMapSettings and QgsComposerMap store layers for rendering as weak pointers
... instead of using layer IDs which need to be resolved using QgsProject
2016-12-10 18:50:52 +08:00
Martin Dobias
64f1356cf3 Added missing api docs 2016-12-10 16:18:03 +08:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
volaya
8ec3eaf456 Merge pull request from anitagraser/patch-2
[processing] Create cost allocation map output
2016-12-09 12:09:11 +01:00
volaya
322b703944 [processing] made WHERE param optional and advanced in v.surf.rst algorithms
Fixes 
2016-12-09 10:21:53 +01:00
volaya
c713747279 [processing] fixed GRASS algorithm descriptions 2016-12-09 08:54:43 +01:00
Nyall Dawson
4b6f3a3ee5 [FEATURE][processing] New algorithm to orthagonalize geometries
Adds a new QgsGeometry::orthagonalize method which tries to make
angles in geometries either right angles or straight lines

Also adds a processing algorithm exposing this feature.
2016-12-09 09:41:56 +10:00
Nyall Dawson
379e7a42e6 Add some more QgsVector operators, allow use of QgsVector with QgsPointV2 2016-12-09 08:13:48 +10:00
Nyall Dawson
77a8e18ec1 Add methods to add/subtract QgsVectors 2016-12-09 08:13:48 +10:00
volaya
e41c2a7b05 [processing] allow saving custom predefined expressions 2016-12-08 10:12:23 +01:00
Nyall Dawson
37edb69c21 Merge pull request from nyalldawson/oriented
Port minimum oriented bounding box to QgsGeometry
2016-12-08 05:52:59 +10:00
Alexander Bruy
897d27fa5c fix import 2016-12-07 15:39:16 +02:00
volaya
a8dd95addd Fixed wrong import 2016-12-07 13:56:37 +01:00
volaya
bb7b6d41bc [processing] added predefined expressions to raster calculator 2016-12-07 13:12:42 +01:00
Nyall Dawson
8a3c1efefe Merge pull request from DelazJ/selectedfeaturesids
Replace selectedFeaturesIds by selectedFeatureIds
2016-12-07 21:44:24 +10:00
Nyall Dawson
1bdb35d630 Avoid key error on fields which should be skipped 2016-12-07 20:13:29 +10:00
Nyall Dawson
c975764c12 Port processing oriented minimum bounding box alg to QgsGeometry 2016-12-07 20:13:29 +10:00
Nyall Dawson
75f51bc16e [processing][heatmap] Fix alg in batch mode, mark some params as advanced 2016-12-07 13:50:12 +10:00
Nyall Dawson
51206590c9 [processing] Use newer basic stats algorithm in vector menu 2016-12-07 13:30:54 +10:00
Nyall Dawson
bef5b5ed68 [processing][heatmap] custom parameter/widget for output resolution
Matches current behaviour of c++ heatmap plugin
2016-12-07 12:23:58 +10:00
Harrissou Sant-anna
f9578bf60b Replace selectedFeaturesIds by selectedFeatureIds 2016-12-07 00:19:11 +01:00
Nyall Dawson
83c38b0172 [FEATURE][processing] Port heatmap plugin to processing algorithm 2016-12-07 08:27:24 +10:00
Nyall Dawson
f2127464d3 Move heatmap generation code to analysis lib
And clean it up a lot
2016-12-07 08:26:55 +10:00
Anita Graser
dd0df199fc Create cost allocation map output 2016-12-06 19:21:51 +01:00
Anita Graser
231f97ab97 Create cost allocation map output 2016-12-06 19:21:22 +01:00
Anita Graser
de054e70b7 Added second algorithm output
Second output raster contains cost allocation map, as described in https://grass.osgeo.org/grass70/manuals/r.cost.html#cost-allocation
2016-12-06 16:30:21 +01:00
Nyall Dawson
adff069d5a Cleanup QgsTask API for dependent layers 2016-12-06 20:02:34 +10:00
volaya
0a2e1043da Revert "[processing] fixed expected test hashes"
This reverts commit 5c6c18caadb9123c593db085b1c8822f7d74e9f7.
2016-12-06 09:27:21 +01:00
volaya
96b8a90758 [processing] In raster calculator, use filename without extension to refer to layer 2016-12-06 09:03:51 +01:00
volaya
ec8aea2f60 [processin] fixed wrong parameter type 2016-12-06 07:19:24 +01:00
Alexander Bruy
62cb38153c [processing] prevent divizion by zero (fix ) 2016-12-05 20:14:29 +02:00
Alexander Bruy
2fea23f1e5 Merge pull request from volaya/rastercalculator
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00
volaya
5c6c18caad [processing] fixed expected test hashes 2016-12-05 14:59:26 +01:00
volaya
b7daf9bca3 [processing] changed input type from vector layer to table for execute sql algorithm 2016-12-05 13:52:13 +01:00
volaya
16da906398 [processing] allow multiple selection of tables 2016-12-05 13:39:38 +01:00
Alexander Bruy
77bbeaa99f fix loading of models containing user-defined scripts 2016-12-05 10:31:38 +02:00
Nyall Dawson
b1b647349a Merge pull request from nyalldawson/task_manager
[FEATURE] Task manager
2016-12-05 17:47:38 +10:00
Nyall Dawson
cc702c9c81 Remove (probably unnecessary) copy_func usage 2016-12-05 16:46:10 +10:00
Nyall Dawson
d03d0a5b47 Add some python docstrings to QgsTask.fromFunction 2016-12-05 14:08:12 +10:00
Nyall Dawson
feb3219852 Update doxygen 2016-12-05 14:08:12 +10:00
Nyall Dawson
e35420a8d9 Force QgsTask::run() to fully complete
Remove support for signal based completion/termination

Also unfortunately disable a lot of the test suite as a result,
since it's not easily translatable
2016-12-05 14:08:12 +10:00
Nyall Dawson
268e5127f2 Make QgsTask::start private
Only allow starting tasks to be done by QgsTaskManager
2016-12-05 14:08:12 +10:00