5172 Commits

Author SHA1 Message Date
Matthias Kuhn
87c126323c
Regenerate fids for "multipart to singlepart algorithm" 2018-10-31 10:27:56 +01:00
Matthias Kuhn
a4d4c55c82
Parameter name harmonization 2018-10-31 10:27:55 +01:00
Matthias Kuhn
6fe832b984
Add missing param doc 2018-10-31 10:27:55 +01:00
Matthias Kuhn
50cf8b9e4e
Unify parameter names 2018-10-31 10:27:54 +01:00
Matthias Kuhn
229c617785
Ignore FID field when merging vector layers to geopackage 2018-10-31 10:27:54 +01:00
rldhont
6249b07f7c
Merge pull request #8320 from rldhont/server-reactivate-print-selection-3
[Server] Reactivate the capability to print selection with Server 3.4
2018-10-26 14:23:09 +02:00
Matthias Kuhn
a0e3c2df3b
Merge pull request #8335 from m-kuhn/qgsrectangleSnappedToGrid
Add QgsRectangle::snappedToGrid
2018-10-26 10:00:39 +02:00
Nyall Dawson
d1e2978314 Add warning to QgsLayerTreeLayer::layer() dox
Because the returned pointer must ALWAYS be tested before
being dereferenced
2018-10-26 16:57:36 +10:00
Matthias Kuhn
0da210df52
Add QgsRectangle::snappedToGrid
Snaps a rectangle to a grid.
2018-10-26 07:58:27 +02:00
Nyall Dawson
1ae010a6c9 Fix some clang truncate to int warnings 2018-10-26 15:03:54 +10:00
Denis Rouzaud
8eb193020a
Merge pull request #8330 from 3nids/fix9160
Properly zoom to feature for single point selected
2018-10-25 13:34:49 -08:00
Denis Rouzaud
5577d83a75 mark method as const 2018-10-25 13:49:26 -04:00
Denis Rouzaud
80d0c33f5b add QgsRectangle::scaled which returns the scaled rectangle
facilitates one-lines
2018-10-25 13:37:07 -04:00
Denis Rouzaud
699d8487dc
add QgsFeatureRequest::setNoAttributes (#8326)
since it's more convenient than setSubsetOfAttributes( QgsAttributesList() )
2018-10-25 07:35:05 -08:00
rldhont
a9e6950eee [Server] Use Project selection color in GetPrint for 3.4
Because selection was deactivated in layout, selection color was not transmitted from QgsProject to QgsLayoutRenderContext to QgsMapSettings.

forward porting of #7294
2018-10-25 14:31:07 +02:00
rldhont
74f2785532 [Server] Reactivate the capability to print selection with Server 3.4
The capability to print selection has been removed by the commit aaa7003 to
prevent accidental selections showing in exports from composer.

It is reactivated only for QGIS Server.

Fixes #13459 QGIS Server WMS GetPrint request don't respect SELECTION parameter

It's a forward porting of #7185
2018-10-25 11:33:43 +02:00
Denis Rouzaud
1bcd306197 add missing SIP_DEPRECATED annotation 2018-10-24 07:54:06 -08:00
Alessandro Pasotti
a51d7f5be3 Code layout 2018-10-23 18:56:27 +02:00
Alessandro Pasotti
15f4138a47 [db-manager] Store exception text in the task and pass it over to the caller
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
Nyall Dawson
8cf64c8a51 [layouts] Add option to filter "add layer to legend" dialog to
layers visible within the (linked) map only

Fixes #20186
2018-10-23 16:41:06 +10:00
Nyall Dawson
de0e74be59 Add method to whitelist layers to show in QgsMapLayerProxyModel 2018-10-23 16:41:06 +10:00
Nyall Dawson
64c99b7348 Fix missing Factory annotation 2018-10-23 14:16:26 +10:00
Etienne Trimaille
0731148b6b move function map to hstore into QgsHstoreUtils 2018-10-23 13:11:15 +10:00
Nyall Dawson
4212cca56e Add a Python repr for QgsError 2018-10-23 10:37:55 +10:00
Alessandro Pasotti
99f3419446 Extend documentation of QgsFeatureRequest::setSubsetOfAttributes
Like suggested by Nyall
2018-10-19 22:44:31 +02:00
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Denis Rouzaud
ff1face71d more dox 2018-10-19 13:46:10 -04:00
Denis Rouzaud
b4e87d873e use float precision 2018-10-19 10:07:05 -04:00
Denis Rouzaud
09d2260b86 rename physicalSize to deviceOutputSize 2018-10-19 09:53:42 -04:00
Denis Rouzaud
ea982fe3d2 [fix #17773] fix HiDPI in map canvas on mac
For system introducing pixel device ratio, the image rendered by the canvas is actually scaled up to match the physical size of the canvas"
2018-10-19 08:50:12 -04:00
Nyall Dawson
1500c3eecb Fix dox 2018-10-19 08:32:56 +10:00
Nyall Dawson
5d9d903fb0 Move browser proxy model to core library and expose as stable API
This class is useful for plugins and other areas of QGIS code which
want to expose a limited browser interface (e.g. a vector layer
only type layer picker)

Also add unit tests
2018-10-19 08:32:56 +10:00
Nyall Dawson
72bf08e2b7 Deprecate QgsBrowserModel::connectItem
This method should only be private, and is completely dangerous
to call from external code (it breaks the model!).

Deprecate and replace with a no-op
2018-10-19 08:32:56 +10:00
Nyall Dawson
765dbf6ae7 Dox, tests 2018-10-19 08:32:56 +10:00
Alessandro Pasotti
5393df88ac Fixed documentation: FetchAttributes does not exist 2018-10-18 17:39:26 +02:00
Martin Dobias
f437a7e02b Added docs 2018-10-18 16:56:27 +02:00
Alessandro Pasotti
4010e79fe3
Merge pull request #8200 from elpaso/bugfix-20094-followup-096b4ce
Slow field calculator - Bugfix 20094 followup 096b4ce
2018-10-18 08:39:03 +02:00
Matthias Kuhn
190f938654
Merge pull request #8103 from m-kuhn/geometryValidatorCode_1
Geometry validation of editing session
2018-10-16 11:34:50 +02:00
Alessandro Pasotti
5defc03086 Fix slow updates from field calculator
Fixes #20094

Followup 096b4ce
2018-10-16 09:33:09 +02:00
Alessandro Pasotti
0e50b3ba70 Revert "Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness"
This reverts commit 096b4ce00426ee35a1eec5b54453b9ea2e22b903, reversing
changes made to 87e0f6961adcbf7039d2c0bef914cebd747afc67.
2018-10-16 09:33:09 +02:00
Denis Rouzaud
32d4bcc425
add Python __repr__ method to QgsGeometry.Error (#8198) 2018-10-15 06:53:09 -08:00
Martin Dobias
939a910cfc
Merge pull request #8181 from wonder-sk/py3d
Python bindings for QGIS 3D library
2018-10-15 15:07:40 +02:00
Matthias Kuhn
df44275e86
Update core sip files 2018-10-15 14:28:07 +02:00
Matthias Kuhn
f82970d79a
Send signals when geometry options change 2018-10-15 14:28:01 +02:00
Denis Rouzaud
7593d51687
add feature pool as argument to collect/fix error methods 2018-10-15 14:27:57 +02:00
Matthias Kuhn
1b0bd51434
Registry 2018-10-15 14:27:55 +02:00
Denis Rouzaud
574c672a1e
add QgsVectorLayer::getGeometry(fid) (#8174)
* add QgsVectorLayer::getGeometry(fid)

* update docs to say geom is invalid
2018-10-15 03:31:14 -08:00
Alessandro Pasotti
096b4ce004
Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness
Fixes slow update in field calculator
2018-10-15 10:32:09 +02:00
Nyall Dawson
a1a35e91cc Dox++ 2018-10-15 11:47:01 +10:00