39520 Commits

Author SHA1 Message Date
Nyall Dawson
d3a2f7cd65 Models can now be saved and restored 2017-06-20 19:23:21 +10:00
Nyall Dawson
f21f502a18 Add methods to convert parameter definitions to/from variants 2017-06-20 18:33:46 +10:00
Nyall Dawson
9a2f14b931 First steps to model/save restore in c++
Models now save to QVariantMap, using QgsXmlUtils to save to
an xml based format (with extension .model3)
2017-06-20 17:26:57 +10:00
Alessandro Pasotti
8b98db0787 Merge pull request #4742 from boundlessgeo/browsertree-collapse-wms
Browsertree collapse network provider items
2017-06-20 09:10:11 +02:00
Nyall Dawson
179a377da0 Port more model to c++ 2017-06-20 15:31:53 +10:00
Nyall Dawson
459244126f Indentation 2017-06-20 14:45:13 +10:00
Nyall Dawson
1a4a654f8b Port more model API across to c++ 2017-06-20 14:45:13 +10:00
Nyall Dawson
f6358b2118 Begin port of modeler algorithm to c++ 2017-06-20 14:45:13 +10:00
Nyall Dawson
efe8bba006 Work on resurrecting modeler 2017-06-20 14:45:13 +10:00
Nyall Dawson
5d8f2d99ab Fix working with inputs in modeler 2017-06-20 14:45:13 +10:00
Nyall Dawson
bdc5e224a3 Small cleanups 2017-06-20 14:45:13 +10:00
Mathieu Pellerin
7fff6cf029 [atlas] move file format for image export to atlas widget
Two big wins:
- remember file format across sessions (no more accidental
.bmp atlas export!)
- use native directory picker
2017-06-20 10:53:31 +07:00
Nyall Dawson
349f6eae6e Merge pull request #4732 from nyalldawson/alg
[FEATURE] Subdivide algorithm for geometries
2017-06-20 13:40:05 +10:00
Nyall Dawson
b3da171040 Swap remaining QSharedPointer uses to std::shared_ptr 2017-06-20 13:38:36 +10:00
nirvn
61a46104ef [ui] harmonize QDialogButtonBox position in provider dialogs
This commit insures that the QDialogButtonBox widget (i.e.
help, add, build query, set filter) is always located at
the very bottom of the dialog. It helps make a better UX out
of the unified add layer dialog.
2017-06-19 15:39:04 +07:00
Sandro Mani
8c012dad28 Merge pull request #4740 from manisandro/afsshareddata
[ArcGIS REST] Introduce QgsAfsSharedData to remove dependency on QgsAfsProvider by QfsAfsFeatureSource
2017-06-19 10:18:01 +02:00
nirvn
cef089a83a [ui] vectorize and align metadata section icon 2017-06-19 14:03:33 +07:00
Nathan Woodrow
22ed48fc87 [MSSQL] Correctly raise errors to UI level 2017-06-19 15:42:35 +10:00
Alexander Bruy
a511ecddcf Merge pull request #4743 from PedroVenancio/master
[processing] change resampling methods to be like SAGA default (fix #16646)
2017-06-19 08:40:56 +03:00
nirvn
89aae4d6c9 [ui] remove background in the add db2 layer icon 2017-06-19 08:55:27 +07:00
Harrissou Sant-anna
6eab2ee133 Move buttons and menu items 2017-06-18 11:38:30 +02:00
Harrissou Sant-anna
3edc2b32e8 Reorganize the Datasource Manager tabs 2017-06-18 08:16:37 +02:00
Matthias Kuhn
c69c5963d0 New style signal/slot connections 2017-06-17 16:09:29 +02:00
Matthias Kuhn
8bfbe195ae Followup 01b4eeb: Fix crash 2017-06-17 12:39:50 +02:00
Alessandro Pasotti
28c9fee756 [bugfix] Collapse all connection item leaves in the browser a start
To prevent unwanted connections to be initiated when QGIS launches
2017-06-17 09:37:59 +02:00
PedroVenancio
b49f53bac8 Changes SAGA io_gdal RESAMPLING method to B-Spline Interpolation, as SAGA default, and add the Resampling Method parameter to SAGA Raster Calculator, as explained in https://issues.qgis.org/issues/16646 2017-06-16 20:47:18 +01:00
Alessandro Pasotti
cf0ffefc1a [bugfix] Prevent expansion of WMS connection layers when restoring the browser
This was causing unwanted connections to WMS when QGIS starts.
2017-06-16 17:39:12 +02:00
Alessandro Pasotti
d9d6872434 Removed ui_qgstablewidgetbase.h 2017-06-16 17:39:12 +02:00
Matthias Kuhn
cb1f98f020 Replace QString::null with QString()
Deprecated sind Qt 5.9
2017-06-16 16:27:45 +02:00
Matthias Kuhn
a77f791467 The nodetool only needs to consider spatial layers 2017-06-16 15:52:08 +02:00
Sandro Mani
b42bf82081 [ArcGIS REST] Introduce QgsAfsSharedData to remove dependency on QgsAfsProvider by QfsAfsFeatureSource 2017-06-16 14:33:35 +02:00
Rob Jones
f237c6cdbf Fix include for case sensitive HFS+ builds
CocoaInitializer.h != cocoainitializer.h on case sensitive filesystems
2017-06-16 11:04:21 +02:00
Matthias Kuhn
a8415a9dbc Less noise from QgsNetworkAccessManager 2017-06-15 20:28:57 +02:00
Denis Rouzaud
ae6ad5c599 make QgsMapCanvas::updateCanvasItemPositions a protected slot 2017-06-15 15:11:03 +02:00
Denis Rouzaud
40e5ddad30 fix advanced digitizing panel display issue after panning
panning would cause the rubberbands of the adv. digit. panel to be invisible.
update the canvas item is now done after each extent changes
2017-06-15 15:01:45 +02:00
Denis Rouzaud
c25744853a fix indentation 2017-06-15 11:59:10 +02:00
Denis Rouzaud
14b8435f1b fix zoomToSelected with geometry-less layer or features 2017-06-15 11:57:41 +02:00
Denis Rouzaud
7aec4d1a5f follow up 8333b71034a5018642ccfac0d9ddc7bffda508d4 QgsSnappingUtils sipify 2017-06-15 07:45:21 +02:00
Denis Rouzaud
83c440448b [sipify] allow exception to required _EXPORT macros 2017-06-15 07:39:16 +02:00
Nyall Dawson
585e9ed76e Spelling fix 'grometry'->'geometry' 2017-06-15 09:29:49 +10:00
Nyall Dawson
fbd1d00f42 Expand tests for subdivide 2017-06-15 08:18:42 +10:00
Nyall Dawson
4768025130 Update multiparts to singleparts to new processing API 2017-06-14 23:08:13 +10:00
Nyall Dawson
4dcf8d8d10 [FEATURE][processing] New algorithm for subdividing geometries
The returned geometry will be a collection containing subdivided parts
from the original geometry, where no part has more then the specified
maximum number of nodes.

This is useful for dividing a complex geometry into less complex parts,
which are better able to be spatially indexed and faster to perform
further operations such as intersects on. The returned geometry parts may
not be valid and may contain self-intersections.
2017-06-14 23:05:58 +10:00
Nyall Dawson
e74395d95b [FEATURE] Subdivide algorithm for QgsGeometry
Subdivides the geometry. The returned geometry will be a collection
containing subdivided parts from the original geometry, where no
part has more then the specified maximum number of nodes.
2017-06-14 22:57:20 +10:00
Nyall Dawson
bde0c7267e Expose GEOS clip by rect algorithm via QgsGeometry API
Performs a fast, non-robust intersection between the geometry and
a rectangle. The returned geometry may be invalid.
2017-06-14 22:02:01 +10:00
Nyall Dawson
b620b6e00e Add method to QgsGeometryFactory to create a multigeometry
from any wkb type

Eg calling QgsGeometryFactory::createCollectionOfType( QgsWkbTypes::PolygonM )
will return a new QgsMultiPolygonV2 with M values.
2017-06-14 21:15:48 +10:00
Juergen E. Fischer
a2ad980d9b fix windows build 2017-06-14 13:15:47 +02:00
Juergen E. Fischer
8333b71034 Remove unused SnapToMapMode in QgsSnappingUtils 2017-06-14 13:15:47 +02:00
Nyall Dawson
f5f0a299c2 [processing] Port transform alg to c++ 2017-06-14 20:54:30 +10:00
Matthias Kuhn
501081f863 Remove unrequired SIP_SKIP 2017-06-14 07:37:31 +02:00