13952 Commits

Author SHA1 Message Date
Denis Rouzaud
cb9774022f create dialog for saving different styles 2018-09-14 16:35:30 +10:00
Denis Rouzaud
0df5b9e593 better API doc, own category for 3D, fix leak 2018-09-14 16:35:30 +10:00
Denis Rouzaud
e91a42def6 categories in paste style 2018-09-14 16:35:30 +10:00
Denis Rouzaud
2cabd48db1 fix sip include 2018-09-14 16:35:30 +10:00
Denis Rouzaud
26ad2cbf98 add icons and export only selected category 2018-09-14 16:35:30 +10:00
Denis Rouzaud
15e0d873d9 select categories in copy style in legend menu entry
not working yet, just set the menu entries
QgsMapLayerStyle::StyleCategory has moved to QgsMapLayer to avoid making QgsMapLayerStyle a QObject and they are mostly used in QgsMapLayer
2018-09-14 16:35:30 +10:00
Denis Rouzaud
4487241336 implement filtering of categories in reading/writing 2018-09-14 16:35:30 +10:00
Denis Rouzaud
51e9be0575 add API to select section of layer style when reading/writing 2018-09-14 16:35:30 +10:00
nirvn
7f9edcafa0 Addition of a QgsHstoreUtils parse function 2018-09-14 11:21:40 +07:00
Nyall Dawson
26885e52b5 Cache icons in style model for efficiency 2018-09-14 09:19:32 +10:00
Nyall Dawson
940624705b Add explicit API call for style model icon sizes 2018-09-14 09:19:32 +10:00
Nyall Dawson
84d4853115 Use model for symbol list view in symbol panel
Fixes hi-dpi issues
2018-09-14 09:19:32 +10:00
Rudi von Staden
cef34c5e51 Initialise writer after appending field 2018-09-14 00:15:13 +02:00
Borys Jurgiel
9bd532faf6 Use QgsPasswordLineEdit for zip file pasword prompt. 2018-09-14 00:09:57 +02:00
Rudi von Staden
6257cf64c4 Fix indentation 2018-09-13 23:26:45 +02:00
Rudi von Staden
9111b557f0 Improve k-nearest neighbour algorithm logic and add descriptive comments 2018-09-13 23:00:51 +02:00
Rudi von Staden
1a26d9401d Fix failing test for K-nearest concave hull group by field 2018-09-13 20:58:29 +02:00
Borys Jurgiel
0f7a09947c [FEATURE][Plugin installer] Support for encrypted zips when installing plugins from local files 2018-09-13 17:39:33 +02:00
Luigi Pirelli
0f07c41b19 Fix set of grass command if not set yet 2018-09-13 17:18:11 +02:00
Martin Dobias
1af35b294e Moved new snapping alg as another mode of "Snap geometries" processing alg 2018-09-13 16:24:37 +02:00
Martin Dobias
2085dfa6ae [FEATURE] 3D identify tool working on 3D entities
Until now the tool only considered terrain. This commit adds support
for 3D renderers created from vector layers, so it is possible to
correctly identify polygons and linestrings in 3D.
2018-09-13 13:36:24 +02:00
Borys Jurgiel
b08ad825f1 Follow up 60fa8eae07389 - implement Nyall's suggestions 2018-09-13 11:52:35 +02:00
Martin Dobias
4a0669714b [FEATURE] Snap geometries algorithm
Makes sure that any two vertices of the vector layer are at least at distance given by the threshold value.
The algorithm moves nearby vertices to one location and adds vertices to segments that are passing around other
vertices within the threshold. It does not remove any vertices. Also, it does not modify geometries unless
needed (it does not snap coordinates to a grid).

This algorithm comes handy when doing vector overlay operations such as intersection, union or difference
to prevent possible topological errors caused by numerical errors if coordinates are very close to each other.

After running the algorithm some previously valid geometries may become invalid and therefore it may be useful
to run Fix geometries algorithm afterwards.
2018-09-13 11:46:29 +02:00
Blottiere Paul
f99b2db674
Merge pull request #7860 from pblottiere/filter_2
Expression from WFS 2.0 filters
2018-09-13 11:19:17 +02:00
Éric Lemoine
b16aa15f06 Improve qgsmessagelog doc strings 2018-09-13 09:32:10 +02:00
Éric Lemoine
34431024d3 Make QgsServerLogger testable and test it 2018-09-13 09:32:10 +02:00
Blottiere Paul
a99b520114 Add documentation 2018-09-13 08:04:34 +01:00
Blottiere Paul
38fc046636 Update sip binding 2018-09-13 08:04:34 +01:00
Borys Jurgiel
60fa8eae07 [FEATURE] Append raster layer to an existing Geopackage in the 'Save Raster Layer As' dialog. Fixes #17926 2018-09-12 22:53:31 +02:00
Rudi von Staden
4482c39fc8 Add tests for k-neighbour concave hull 2018-09-12 22:38:39 +02:00
Rudi von Staden
f3e2d268f6 Fix formatting 2018-09-12 21:49:53 +02:00
Nyall Dawson
6935027ead [processing] Fix API break in widget wrapper
Fixes #19820
2018-09-13 05:40:39 +10:00
Denis Rouzaud
3b1b41f391 add qgsEnumMap to list all entries (int, string) of enums 2018-09-12 11:38:54 -04:00
Nyall Dawson
95d65ae861 Add python safe addSmartgroup method, unit tests for smart groups 2018-09-12 16:22:44 +10:00
Nyall Dawson
c41af120a0 Remove addSmartGroup from Python bindings -- it causes a crash in sip
and CANNOT be made functional
2018-09-12 16:22:44 +10:00
Nyall Dawson
c5ab5891e0 Add a QAbstractItemModel for showing the entities within a QgsStyle object
- also adds QgsStyleProxyModel which handles filtering of entities
- lots of unit tests
- new signals in QgsStyle for when symbols/tags/etc change (with tests)
2018-09-12 16:22:44 +10:00
Éric Lemoine
504657ed51 Add docs for more QgsMessageLogConsole methods 2018-09-11 21:57:42 +02:00
Éric Lemoine
212a74cea1 Fix the QgsMessageLogConsole docs
The QgsMessageLogConsole now writes log messages to stderr as opposed
to stdout.
2018-09-11 21:57:42 +02:00
Éric Lemoine
e33954c1c3 [FEATURE][needs-doc] Support QGIS Server logs to stderr
This commit makes it possible to configure QGIS Server to make it
write its logs to stderr.

This is done by setting the QGIS_SERVER_LOG_FILE env var to the
special value "stderr".
2018-09-11 21:57:42 +02:00
Geoff Kimbell
cb0b335a95 [FEATURE][processing] Add custom OPTIONS to contour algorithm (#7834) 2018-09-12 04:36:06 +10:00
signedav
533ab61543 last fixes and sip_include 2018-09-11 18:36:44 +02:00
Martin Dobias
602b3e9dff Add QgsMapLayer::flagsChanged() signal 2018-09-11 15:48:46 +02:00
signedav
b3e4755e2e Enum Mode in QgsAttributeEditorContext
instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm
now it's able to use @form_mode in expressions of containers and QML widgets
2018-09-11 12:14:20 +02:00
Matthias Kuhn
fae9256a41
Merge pull request #7844 from m-kuhn/conversionFactor
QgsCoordinateTransform::scaleFactor()
2018-09-11 08:16:24 +02:00
Nyall Dawson
d65bd5f08e [processing] Fix another exception in modeler 2018-09-11 15:40:27 +10:00
Nyall Dawson
97f43d4bb2 [processing] Fix warning on close 2018-09-11 15:40:27 +10:00
Nyall Dawson
90dbf72e98 [processing] Fix exception when showing advanced parameters for alg in modeler 2018-09-11 15:40:27 +10:00
Nyall Dawson
c8abd40250 [processing] Fix gdal algorithm use of old wrapper API 2018-09-11 15:40:27 +10:00
signedav
4da6e6975a implementation for containers
and changed to string of formMode in the attributeformcontext
2018-09-11 07:04:25 +02:00
nirvn
68b7e799f0 [processing] add msg bar links to files when saving/exporting models 2018-09-11 10:30:07 +07:00