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
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
Juergen E. Fischer
e32589599a
packaging updates after helpviewer removal (followup 55cdc89a1)
2017-08-17 07:58:10 +02:00
Denis Rouzaud
a7cef8708d
add docker shield
2017-08-17 07:55:37 +02:00
Nyall Dawson
f88ddcb543
Remove startup tips
2017-08-17 15:55:06 +10:00
Nyall Dawson
5abbab1a11
Merge pull request #4993 from nyalldawson/remove_analyzer
...
Remove QgsGeometryAnalyzer, QgsOverlayAnalyzer, QgsPointSample
2017-08-17 15:54:43 +10:00
Nyall Dawson
6d388942ad
Merge pull request #5024 from nyalldawson/build-vrt
...
Restore gdal build vrt alg, plus improvements
2017-08-17 14:05:26 +10:00
Alessandro Pasotti
fdee6ea2a5
Merge pull request #5031 from boundlessgeo/gpkg-drag-n-drop
...
[feature][needs-docs] Geopackage handle drops in the browser
2017-08-16 22:50:33 +02:00
Alessandro Pasotti
11fb601a98
Merge pull request #5027 from boundlessgeo/gpkg-vector-delete
...
[feature][needs-docs] Adds delete layer context action to ogr and geopackage items
2017-08-16 22:50:09 +02:00
Nyall Dawson
8139786605
Allow adding manual layers in modeler multi layer alg parameters
...
This allows creation of models with child algorithms which do
things like merge a selected layer with a predefined static
layer, or create a vrt with a mix of static and user selected
layers.
2017-08-17 06:00:28 +10:00
Nyall Dawson
aefd5cce30
Fix exception when editing multi layer parameter in model
2017-08-17 05:18:33 +10:00
Nyall Dawson
b318aff6ff
Fix multi layer parameters in models not giving all options for inputs
2017-08-17 05:12:11 +10:00
Nyall Dawson
c54667c3b1
Handle mixed lists of values and lists when evaluating multilayer
...
parameters
This can happen when running models with mixed input types
for multilayer parameters
2017-08-17 05:00:47 +10:00
Nyall Dawson
e1b0f78619
Fix default layer sometimes inserted into multi layer parameter values
2017-08-17 04:38:36 +10:00
Alessandro Pasotti
e6814bca2c
[feature] Geopackage handle drops in the browser
...
It is now possible to drag and drop from any vector
layer onto a gpkg node layer and import a layer.
Overwrites are protected by a confirmation dialog.
2017-08-16 20:23:21 +02:00
Nyall Dawson
48eccc379d
Default to vrt extension for build vrt alg output
2017-08-17 04:11:53 +10:00
Nyall Dawson
0a7bb4869b
Allow selecting multiple items in processing multi layer input dialog
...
And selecting/deselecting only these items. Otherwise it can be quite
cumbersome to manually select complex sets of items (e.g. try needing
to select ~50% of the layers in a large project - there's currently
no quick way to do this.) With this change you can at least
ctrl/shift click to create selections quicker.
2017-08-17 03:52:40 +10:00
Nyall Dawson
1f2ea024f2
Allow adding layers which aren't open in the project to processing
...
parameters which accept lists of multiple layers
E.g. build vrt alg, merge vector layers alg
Otherwise you may need to load 100's of layers temporarily into
a project to perform algs on them
2017-08-17 03:52:40 +10:00
Nyall Dawson
a5a4d3b7e1
Port gdal build vrt to new API
2017-08-17 03:52:40 +10:00
Matthias Kuhn
f610ffaf52
Remove ParameterDataObject
2017-08-16 19:12:12 +02:00
Matthias Kuhn
ac1decd107
[travis] Install libzip for macos
2017-08-16 19:12:12 +02:00
Matthias Kuhn
7764cd9108
[travis] no longer any need for patching qsci
2017-08-16 19:12:12 +02:00
Etienne Trimaille
855f840fac
always set a default name in the QGS project to avoid discrepancies with GetCapabilities
2017-08-16 18:39:23 +02:00
Matthias Kuhn
55cdc89a11
Merge pull request #5004 from jgrocha/helpviewer
...
[needs-docs] Refactoring of all help calls, deprecating QgsContextHelp+Helpviewer
2017-08-16 18:30:59 +02:00
Jorge Gustavo Rocha
32c81a0311
Update sip files
2017-08-16 16:20:38 +02:00
Jorge Gustavo Rocha
7dd37b39da
Added documentation comments on new methods
2017-08-16 15:00:45 +02:00
Alessandro Pasotti
497d4a808f
Shows a warning and abort deletion if the layer is in the current project
2017-08-16 14:50:29 +02:00
Martin Dobias
0be0a4e30c
Always use snapping configuration from the project in adv.digitizing dock
...
It was slightly confusing to have another override for snapping while it is possible
to configure "no snapping" or "all layers" snapping mode in project anyway.
And with the nice snapping toolbar it can be also done very quickly.
2017-08-16 14:37:19 +02:00
Martin Dobias
42933a279b
Remove class members that were never used
2017-08-16 14:37:19 +02:00
Alessandro Pasotti
cc14619090
Added 'datasource' and 'GeoPackage' to the delete confirm message
2017-08-16 14:10:10 +02:00
Denis Rouzaud
d03f599093
add Dockerfile for automated build on docker cloud
2017-08-16 11:37:58 +02:00
Alessandro Pasotti
162339d3d0
Different messages for file and table layer deletion
2017-08-16 10:12:03 +02:00
Alessandro Pasotti
2ffa7ba3a1
Translate GDAL error codes
2017-08-16 08:59:12 +02:00
Mathieu Pellerin
a9d8d395d2
[processing] restore near black and hillshade gdal algs ( #5028 )
2017-08-16 11:26:10 +07:00
Jorge Gustavo Rocha
fe59a19e17
Change all ocurrences on_buttonBox_helpRequested to showHelp
...
Add help button to 3 dialogs
Fix missing QStringLiteral
Fix CMakeLists.txt indentation
Fix qhelp.h and qgis_sip.h includes with <>
2017-08-15 23:51:03 +02:00
Alessandro Pasotti
da6049ea38
Adds delete layer context action to ogr and geopackage items
...
TODO: decide what to do if the layer to be deleted was
added to the canvas: block the deletion?
Current implementation just ignores the fact with
no apparent serious consequences beside that
obviously the layer is not drawn anymore.
2017-08-15 23:26:06 +02:00
Denis Rouzaud
19efee8a61
alog:along typo ( #5025 )
2017-08-15 18:21:35 +02:00
Larry Shaffer
83aa1adf1e
Add support for finding zipconf.h in separate location; use include dirs
...
LIBZIP_INCLUDE_DIRS could end up with duplicate entries, but seems to be
the simplest way of supporting headers installed to multiple locations.
2017-08-15 09:13:05 -04:00
Nyall Dawson
755980fe03
Merge pull request #5023 from nyalldawson/gdal_test
...
Unblacklist Processing GDAL tests
2017-08-15 21:51:20 +10:00
Nyall Dawson
aece517c50
Avoid duplicate geometry columns, invalid geometry column name in gdal points along lines alg
2017-08-15 20:58:08 +10:00
Nyall Dawson
3d1be95ad2
More comprehensive updating of gdal command when parameters change
2017-08-15 20:57:27 +10:00
Nyall Dawson
f88e62fb4a
Unblacklist Processing GDAL test
2017-08-15 17:50:12 +10:00