51970 Commits

Author SHA1 Message Date
Nyall Dawson
ac781fac50 Add more debugging to auth db opening 2018-11-02 04:35:37 +10:00
Denis Rouzaud
8ea02e9655
fix qgsDoubleString printing -0 (#8363) 2018-11-01 08:29:57 -08:00
Alessandro Pasotti
105455ca2c Layout fixes 2018-11-01 17:29:51 +01:00
Even Rouault
6d4935803b
Merge pull request #8397 from rouault/fix_20308
[BUGFIX] [OGR provider] Make filter by id(s) requests work again on OSM datasets (fixes #20308)
2018-11-01 14:32:01 +01:00
Nyall Dawson
fa71e4d3d7 Move to vector general group 2018-11-01 21:47:28 +10:00
Nyall Dawson
4dd3e211e2 Unit tests for reomve duplicates by attribute 2018-11-01 21:47:28 +10:00
Nyall Dawson
4e9da6f190 [FEATURE][processing] New algorithm "Remove duplicates by attribute"
Allows for removal of duplicate features, identified using the values
in one (or more) field values from the input features.

Optionally any discarded (duplicate) features can be saved to a separate
sink.
2018-11-01 21:47:28 +10:00
Juergen E. Fischer
1151639f9d fix news 2018-11-01 12:42:41 +01:00
Juergen E. Fischer
a826c56445 verify that projecta actually delivers a changelog 2018-11-01 12:39:53 +01:00
Even Rouault
986e11b6bb
[BUGFIX] [OGR provider] Make filter by id(s) requests work again on OSM datasets (fixes #20308) 2018-11-01 12:37:37 +01:00
Alessandro Pasotti
083208c1eb QgsDataSourceSelectDialog: a simple browser-based reusable data source select dialog 2018-11-01 12:02:38 +01:00
Nyall Dawson
3195c82ec1 Fix memory leak 2018-11-01 20:41:08 +10:00
Nyall Dawson
09c2daa1c1 [FEATURE] Allow exploration of QGS project file contents directly
within browser

Allows QGIS project file items inside the browser to be expanded,
showing the full layer tree (including groups) contained within
that project. Layers are shown as normal layer items, allowing
them to be easily added to the current project via drag and drop
or double click. Additionally, because they are treated just
the same as any other layer items in the browser, they can be
drag and dropped within the browser to e.g. directly copy the
layer to a geopackage file!

TODO: apply layer symbology from project file when adding a
layer from a different project to the current project
2018-11-01 20:41:08 +10:00
Nyall Dawson
f0436df618 [browser] Allow data item providers a chance to implement QGIS project
item creation and override default project file handling

If no provider is registered which handles QGIS project files,
then the default behavior is used as a fallback
2018-11-01 20:41:08 +10:00
Nyall Dawson
850eae1606 [browser] Avoid expanding/collapsing nodes if the double click
was specifically handled by an item itself
2018-11-01 20:41:08 +10:00
Nyall Dawson
5c5f2ed7e3 Add method to get QgsLayerItem::LayerType from a map layer 2018-11-01 20:41:08 +10:00
Nyall Dawson
f65c845f86 [processing][GRASS] Correctly handle input vector layers with |layername= param
Fixes #20277
2018-11-01 18:36:53 +10:00
Nyall Dawson
82ac04d6f7 [processing][GRASS] Give some more feedback when trying to use
v.external for reading inputs, and if we can't, advise why not
2018-11-01 18:36:53 +10:00
Nyall Dawson
676238b28f [processing][grass] Highlight GRASS error messages and warnings in log
And catch segmentation faults from GRASS commands and show a nice
helper text advising user that QGIS isn't at fault here ;)

Also add a tip to try disabling the v.external option if that setting
is enabled and a GRASS segfault occurs
2018-11-01 18:36:53 +10:00
Nyall Dawson
484895e267 [processing] Fix incorrect html used when pushing console command feedback to dialog
And make color less dominant (not bright blue!). We want other more critical
messages the be more attention grabbing then the noisy console outputs.
2018-11-01 18:36:53 +10:00
Nyall Dawson
e83aa5a200 Hidpi friendly message bar icon sizes 2018-11-01 17:40:16 +10:00
Nyall Dawson
26c3dd30a9 Hidpi friendly welcome page sizes 2018-11-01 17:40:16 +10:00
Nyall Dawson
187f74148c [FEATURE] Show QGIS style xml libraries in browser and support
drag and drop of style .xml files to main QGIS window

Double clicking the databases or dragging them to QGIS
triggers the import from style dialog with the corresponding
input file already selected
2018-11-01 15:57:31 +10:00
Nyall Dawson
620643e254 [browser] Unify layer name in properties for raster/vector layers 2018-11-01 15:55:57 +10:00
Nyall Dawson
17447e4b5c [FEATURE][browser] Restore preview functionality from old 2.x standalone
browser into inbuilt browser dock panel layer properties widget
2018-11-01 15:55:57 +10:00
Nyall Dawson
7f332fb7a6 [browser] Remove redundant name/uri/provider labels from top
of layer properties widget

All this information is already shown in the scrollable metadata
section below that, so we're wasting precious space in this
valuable widget with a lot of duplicate information
2018-11-01 15:55:57 +10:00
Nyall Dawson
ab4601820c [browser] Don't try to open links within the browser properties widget
Instead open them externally. Fixes clicking on the path link
within metadata tries to open layer files instead the text
widget instead of showing them in the desktop file browser.
2018-11-01 15:55:57 +10:00
William Kyngesburye
3f72e0cd41 don't run GRASS commands in shell, that's not working 2018-10-31 20:55:56 -05:00
Nyall Dawson
15435ad56e Fix crash on opening options on debug builds where open CL is not enabled
Fixes #20295
2018-11-01 06:22:20 +10:00
Nyall Dawson
41c31b44ba Fix build warning 2018-11-01 05:56:38 +10:00
Björn Harrtell
4ab377b92f Remove meaningless conditional and improve user input handling 2018-10-31 17:11:25 +01:00
Matthias Kuhn
429cd0bacd
Merge pull request #8240 from m-kuhn/mergeVectorLayersDuplicateFid
Ignore FID field when merging vector layers to geopackage
2018-10-31 13:47:12 +01:00
Alessandro Pasotti
467fae8e26
Merge pull request #8388 from elpaso/bugfix-20271-wms-null-styles
[wms] Do not pass null QStrings to QgsWmsProvider::setQueryItem
2018-10-31 13:34:47 +01:00
Rifa'i M. Hanif
116fcc453c Fix symbol selector dialog overflows the screen on small resolution 2018-10-31 18:23:25 +07:00
Matthias Kuhn
c55b4eb4c8
Make sip a bit happier 2018-10-31 12:15:43 +01:00
Alessandro Pasotti
9f2fb2d4cf Skip kw check 2018-10-31 11:42:54 +01:00
Matthias Kuhn
87c126323c
Regenerate fids for "multipart to singlepart algorithm" 2018-10-31 10:27:56 +01:00
Matthias Kuhn
2df0cae8e3
Regenerate fids for "join attributes by location", pt2 2018-10-31 10:27:56 +01:00
Matthias Kuhn
0a2b0f4115
Regenerate fids for "Join attributes by field value" 2018-10-31 10:27:55 +01:00
Matthias Kuhn
d0eeffbecb
Regenerate fids for "points along geometry"
Fix #19998
2018-10-31 10:27:55 +01:00
Matthias Kuhn
f8d873c7cb
Regenerate fids for "join attributes by location"
Fix #19708
2018-10-31 10:27:55 +01:00
Matthias Kuhn
432bec17fc
Add test for QgsVectorLayerExporter with RegeneratePrimaryKey 2018-10-31 10:27:55 +01:00
Matthias Kuhn
71590bb859
Case insensitive file extension check 2018-10-31 10:27:55 +01:00
Matthias Kuhn
a4d4c55c82
Parameter name harmonization 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2e1c5e6103
Skip path checking 2018-10-31 10:27:55 +01:00
Matthias Kuhn
6fe832b984
Add missing param doc 2018-10-31 10:27:55 +01:00
Matthias Kuhn
99b246dd78
Add comment for semi-broken control file 2018-10-31 10:27:55 +01:00
Matthias Kuhn
2c4abdf70d
Fix test for merging layers to gpkg 2018-10-31 10:27:55 +01:00
Matthias Kuhn
79e63d8922
Make doxygen a bit happier 2018-10-31 10:27:55 +01:00
Matthias Kuhn
08c2002d10
Use decodeUri instead of string parsing 2018-10-31 10:27:54 +01:00