40999 Commits

Author SHA1 Message Date
Nyall Dawson
076fdc9449 Port rectangles, ovals, diamonds to new API 2017-08-19 02:37:39 +10:00
Even Rouault
5481177699 [OGR provider] Avoid 'database locked' issues when editing several layers of the same GeoPackage (fixes #17034) 2017-08-18 17:58:00 +02:00
Nyall Dawson
48202165fc Port build virtual vector alg to new API 2017-08-19 01:26:55 +10:00
Nyall Dawson
f2d2777bf3 Model vector layer inputs can also be used for feature source parameters 2017-08-19 01:09:22 +10:00
Nyall Dawson
f1ac0be867 Fix processing setting to use filename as layer name 2017-08-19 00:56:18 +10:00
Nyall Dawson
7879c0a20b Fix processing rendering styles for output dialog, functionality 2017-08-19 00:47:21 +10:00
Hugo Mercier
18c1597110 Merge pull request #5043 from pblottiere/bugfix_refrel
Fixes relation reference widget by refreshing filter lists. Fixes #16400
2017-08-18 16:38:59 +02:00
Nyall Dawson
0a4a7acf58 Port set raster style alg to new API 2017-08-19 00:30:32 +10:00
Nyall Dawson
387e04974a Allow selecting wildcard filter for any file input parameter 2017-08-19 00:23:43 +10:00
Nyall Dawson
cfbc00990b Restore Set style for vector layer alg 2017-08-19 00:23:25 +10:00
Nyall Dawson
be48f17e2c Use a QgsFeedback object in QgsRelief instead of QProgressDialog 2017-08-19 00:09:12 +10:00
Nyall Dawson
f6600f23aa Port raster relief alg to new API 2017-08-19 00:01:58 +10:00
Blottiere Paul
465b27a40d Add test 2017-08-18 14:14:06 +01:00
Blottiere Paul
79d65cec88 Fix OGC test getcapabilities:style-legendurls 2017-08-18 14:10:00 +01:00
Etienne Trimaille
f0d3677865 fix opening sublayers in a group 2017-08-18 13:28:13 +02:00
Alessandro Pasotti
475998eaa2 Merge pull request #5040 from boundlessgeo/gpkg-raster-delete
Geopackage: moved delete to abstract item and implemented raster deletion
2017-08-18 11:28:22 +02:00
Blottiere Paul
a2914ff66c Add unit tests 2017-08-18 07:42:39 +01:00
Blottiere Paul
cea7bd39d8 Fixes relation reference widget by refreshing filter lists. Fixes #16400 2017-08-18 07:38:46 +01:00
Nyall Dawson
be46b756ea Port hypsometic curves to new API 2017-08-18 15:35:27 +10:00
Nyall Dawson
c4011ad337 Port oriented minimum bounds to new API 2017-08-18 15:22:13 +10:00
Nyall Dawson
86949cb2fa Merge pull request #5037 from nyalldawson/render_progress_bar
Avoid 'flashy' status bar progress widget when map renders are fast
2017-08-18 14:57:03 +10:00
Nyall Dawson
0c46ac4030 Merge pull request #5038 from nyalldawson/canvas_dock_tweaks
Canvas dock tweaks
2017-08-18 14:56:43 +10:00
Nyall Dawson
c188578186 Merge pull request #5039 from nyalldawson/fix_model_crash
Add a pure virtual clone method to processing parameter definitions
2017-08-18 13:37:38 +10:00
Alessandro Pasotti
dc6d1c135e Removed metadata table from the list of tables to be cleared 2017-08-17 23:26:30 +02:00
Alessandro Pasotti
b36ad06bc5 Use sqlite3_close instead of v2 2017-08-17 22:48:57 +02:00
Alessandro Pasotti
0eb302d5e8 Geopackage try to remove optional entries + fix build warnings 2017-08-17 20:42:34 +02:00
Alessandro Pasotti
bcd495c693 Prevent SQL injection by using sqlite3_mprintf 2017-08-17 20:31:44 +02:00
Alessandro Pasotti
b46c9c3424 Geopackge bugfix: also show single raster layers
The previous implementation only showed subdatasets
while single raster were skipped.

Now the single rasters are also showed and the name
is retrieved from GDAL metadata IDENTIFIER.

The gpkg table name is used to delete the table.
2017-08-17 19:06:34 +02:00
Alessandro Pasotti
f999897bdd Geopackage moved delete to abstract item and implement raster deletion 2017-08-17 18:03:06 +02:00
Nyall Dawson
37b899fb99 Add a pure virtual clone method to processing parameter definitions
And use it when we need to clone parameters (instead of more fragile
conversion to and from variants)

This fixes model loading which use algorithms which create python
subclasses of parameter definitions
2017-08-18 01:22:07 +10:00
Nyall Dawson
251354eaaa Merge pull request #5035 from nyalldawson/preview_tasks
Tweaks to map preview tasks
2017-08-18 00:51:02 +10:00
Nyall Dawson
7dbfc5202f Merge pull request #4210 from arnaud-morvan/processing_aggregate
[processing] [needs-docs] Add aggregate algorithm
2017-08-18 00:28:35 +10:00
Nyall Dawson
e8ad0ba5d9 Move "sync extent" canvas view option to map settings menu
This means all the settings are collected together, and the
dock toolbar just contains navigation actions.

(followup feedback from hackfest demo)
2017-08-18 00:27:34 +10:00
Nyall Dawson
2d441a8d1d Make sure new map dock views use correct icon size 2017-08-18 00:16:47 +10:00
Nyall Dawson
9bfca65ac3 Add API to enable/disable preview jobs
Disabled by default, and enabled only for main canvas (not
secondary canvases)
2017-08-18 00:04:07 +10:00
Nyall Dawson
628a1b096b Also delay initial preview job by a short timeout 2017-08-17 23:50:32 +10:00
Nyall Dawson
6c17577fbe Use a QgsMapRendererSequentialJob for rendering preview maps
Means that at most the preview jobs will use a single thread
instead of hammering all available threads.
2017-08-17 23:50:32 +10:00
Nyall Dawson
a369c9b28c Merge pull request #4760 from nyalldawson/tests
Convert processing tests to use native algs where they exist
2017-08-17 23:29:26 +10:00
mhugent
5fbd628854 Merge pull request #4939 from mhugent/wms_toplevel_browser
Show toplevel wms group in browser
2017-08-17 14:21:50 +02:00
Nyall Dawson
7b2250bb35 Convert processing tests to use native algs where they exist 2017-08-17 20:20:58 +10:00
Nyall Dawson
469eb0de25 Merge pull request #5034 from nyalldawson/exporter_api
Use const references to options instead of pointers in QgsVectorLayerExporter
2017-08-17 20:15:45 +10:00
Nyall Dawson
7a314f3cb2 Avoid 'flashy' status bar progress widget when map renders are fast
If previous canvas render took less than 0.5 seconds, delay the appearance of the
'render in progress' status bar widget by a short amount - this avoids the
status bar rapidly appearing and then disappearing for very fast renders
2017-08-17 20:00:49 +10:00
Nyall Dawson
c7affb3b70 Use const references to options instead of pointers in QgsVectorLayerExporter
The use of pointers make ownership of the argument confusing, and there's
nothing stopping us just using an empty map as the default value instead.
2017-08-17 19:26:57 +10:00
Nyall Dawson
26a911cd61 Merge pull request #4751 from nyalldawson/unique_ptr
Return std::unique_ptrs where possible
2017-08-17 18:37:35 +10:00
Nyall Dawson
e0d1ddc506 Fix failing test 2017-08-17 17:57:09 +10:00
Nyall Dawson
e4dab7c5c7 Fix intermittently failing QgsGeometry asGML tests 2017-08-17 17:53:36 +10:00
Juergen E. Fischer
fad59736b0 spelling fixes 2017-08-17 09:38:19 +02:00
Nyall Dawson
43536a66e3 Return subclasses where possible to fix build on older compilers 2017-08-17 16:43:13 +10:00
Nyall Dawson
2693c6fb91 Fix ui build warning 2017-08-17 16:30:03 +10:00
Nyall Dawson
d81a1a3b5f Return std::unique_ptrs where possible
When a class isn't exposed to Python, we should return a
std::unique_ptr whenever a returned pointer value is owned
by the caller.
2017-08-17 16:28:18 +10:00