39578 Commits

Author SHA1 Message Date
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
Martin Dobias
c9c42169ce Added unit tests 2017-06-19 16:37:00 +02:00
Martin Dobias
e3270edb7a Read/write also legend symbol in DDS legend, update DDS legend dialog 2017-06-19 15:55:46 +02:00
Martin Dobias
517fefe02a GUI for configuration of size-based legend for diagrams 2017-06-19 13:16:54 +02: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
Martin Dobias
ea8a2c2bf9 Added GUI for data-defined size legend (single/categorized/graduated renderer) 2017-06-16 17:00: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
Martin Dobias
8c4d5bbb95 [FEATURE] Rendering of data-defined size in legend in "collapsed" mode
Instead of having different marker sizes in legend as separate legend nodes,
the new "collapsed" mode packs all sizes into one legend node.

This commit only makes it available in the API, not exposed in GUI yet.
2017-06-15 16:47:56 +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
Nyall Dawson
ee043956b9 Astyle 2017-06-15 17:05:16 +10:00
Nyall Dawson
5f1102777b Update api break docs 2017-06-15 17:04:27 +10:00
Nyall Dawson
2640626e17 Rename addFeature member in QgsVectorFileWriter to avoid clash 2017-06-15 17:04:27 +10:00
Nyall Dawson
30d35c166d Fix grass provider compilation 2017-06-15 17:04:27 +10:00
Nyall Dawson
58026db539 Also update oracle provider for addFeatures flags 2017-06-15 17:04:27 +10:00
Nyall Dawson
f6ccdc1dd1 Small optimisations to postgres provider when using FastInsert
Although ideally we should use COPY mode in this case for best
possible speed.
2017-06-15 17:04:27 +10:00
Nyall Dawson
72ef452fbc Native processing algs use FastInsert were possible
We want maximum possible speed here
2017-06-15 17:04:27 +10:00
Nyall Dawson
0e9d94b1b3 QgsVectorLayerExporter always uses FastInsert
Since it does nothing with the features after adding them to
the provider, and we want maximum speed possible here.
2017-06-15 17:04:27 +10:00
Nyall Dawson
fc339f9ac5 Add a flag argument to QgsFeatureSink::addFeatures
Flags can be used to control how features are added to the sink.

For now, there's only a single flag available - FastInsert.
When FastInsert is set, faster inserts will be use at the cost
of updating the passed features to reflect changes made at the
provider.

This includes skipping the update of the passed feature IDs
to match the resulting feature IDs for the feature within
the data provider.

Individual sink subclasses may or may not choose to respect
this flag, depending on whether or not skipping this update
represents a significant speed boost for the operation.

QgsVectorLayer always ignores the flag - feature ids are
required for the featureAdded signal to be correctly emitted,
and it's expected that performance critical applications will
add features directly to a data provider instead of
via QgsVectorLayer's edit buffer.
2017-06-15 17:04:27 +10: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