Alessandro Pasotti
5614df4b6e
Merge pull request #5164 from boundlessgeo/browser_shared_model
...
[bugfix] Browser shared model
2017-09-12 17:20:13 +02:00
Alessandro Pasotti
850fed557f
Const getter and api break docs
2017-09-12 15:12:37 +02:00
Alessandro Pasotti
151cd080c9
Typo delayied -> delayed
2017-09-12 15:01:45 +02:00
Alessandro Pasotti
22bd2a35f8
Browser: removed redundant refresh signals
2017-09-12 15:01:45 +02:00
Alessandro Pasotti
3dba091b86
Share QgsBrowserModel among browser instances
2017-09-12 15:01:45 +02:00
Alexander Bruy
4115d06fba
remove context help popup on console opening
2017-09-12 15:47:25 +03:00
Alexander Bruy
999d93ad6e
[console] return home directory as string instead of QDir instance ( fix #17106 )
2017-09-12 15:47:25 +03:00
Nyall Dawson
b26b8d9789
Merge pull request #5165 from Gustry/save_metadata
...
write metadata with XML
2017-09-12 20:32:08 +10:00
Nyall Dawson
457709d3d8
Merge pull request #5173 from nyalldawson/model_crash_win
...
[processing] Fix crash in modeler on Windows
2017-09-12 20:13:01 +10:00
Nyall Dawson
cf16a82419
Fix indentation
2017-09-12 19:23:37 +10:00
Martin Dobias
220b58d0c9
Fix vertex+segment vs segment snapping type
...
When user picked snapping to current layer / all layers, snapping to
vertex+segment vs segment were working the other way around
(advanced configuration was working correctly though)
2017-09-12 09:25:11 +02:00
Nyall Dawson
6bd37cc506
[processing] Fix crash when editing models on Windows ( fix #17028 )
2017-09-12 17:12:13 +10:00
Nyall Dawson
4a974eab18
Cleanup model algorithm parameter definition dialog
2017-09-12 17:12:13 +10:00
Etienne Trimaille
814ef78732
write metadata with XML
2017-09-12 07:28:54 +02:00
Nyall Dawson
8fcad6aed9
[processing] List 'All files (*.*)' option last in save as dialogs
...
See https://ux.stackexchange.com/questions/111689/file-dialog-formats-list-should-all-files-be-listed-first-or-last for discussion:
- for 'file open' dialogs, wildcard options should be listed first
- for 'file save' dialogs, wildcard options should be listed last
2017-09-12 10:20:52 +10:00
Juergen E. Fischer
3d3b6d1a25
Fix windows build
2017-09-12 00:48:40 +02:00
Nyall Dawson
9b04589ce7
More missing docs
2017-09-11 21:55:20 +10:00
Nyall Dawson
6166d21289
Add missing docs
2017-09-11 21:43:15 +10:00
Nyall Dawson
2716127969
Remove more unnecessary destructors, flip empty constructors to =default
2017-09-11 21:25:29 +10:00
Nyall Dawson
2a33844416
Pass by const ref where possible
2017-09-11 21:19:22 +10:00
Nyall Dawson
07e12e2832
Replace reimplemented default methods by = default
...
Using clang-tidy modernize-use-equals-default
2017-09-11 17:10:31 +10:00
Alessandro Pasotti
32dee4480c
Merge pull request #5156 from boundlessgeo/gpkg_tab
...
[feature][needs-docs] Gpkg tab in source select dialog
2017-09-11 08:15:55 +02:00
Nyall Dawson
a650681061
Merge pull request #5131 from nyalldawson/location_algs
...
Rework Select by Location algorithm
2017-09-11 15:50:43 +10:00
Nyall Dawson
7f5bd00cbf
Merge pull request #5154 from nyalldawson/stats
...
[processing] Improve Stats by Categories algorithm, remove duplicate algs
2017-09-11 15:50:16 +10:00
Nyall Dawson
cf8afc1e5b
Merge pull request #5159 from alexbruy/fix-filter
...
[processing] fix file filter construction for output files
2017-09-11 11:37:59 +10:00
Martin Dobias
f938b60f12
Handle mouse events of adv.digitizing map tools in the map tool base class
2017-09-10 16:34:13 +02:00
Martin Dobias
ae713b4c81
Move snapSegment() from map mouse event to private area of CAD dock
2017-09-10 16:34:13 +02:00
Martin Dobias
22ad67295b
More advanced digitizing dock widget cleanups
...
- CaptureMode enum has been moved back to QgsMapToolCapture where it belongs
- map tools that need clearing of CAD points do so explicitly when needed
2017-09-10 16:34:13 +02:00
Martin Dobias
2f8afc02ab
Remove some workarounds for advanced digitizing from node tool
2017-09-10 16:34:13 +02:00
Martin Dobias
a2b2567ca3
Better control of CAD dock widget operation from map tools
2017-09-10 16:33:02 +02:00
Nyall Dawson
02e8f1e6fa
Fix tests
2017-09-10 14:07:52 +10:00
Nyall Dawson
cea7eb8be5
Merge pull request #5119 from nyalldawson/layout_next3
...
[layouts] Undo/redo framework
2017-09-10 11:38:59 +10:00
Nyall Dawson
6a760ef3df
More tests for Extract by Location
2017-09-10 10:50:55 +10:00
Nyall Dawson
e0026609bb
Fix missing geometries/attributes in Extract by Location
2017-09-10 10:45:34 +10:00
Nyall Dawson
640a27b4ea
Drop python Select/Extract by Location algs
2017-09-08 20:34:52 +10:00
Nyall Dawson
f4b9bbd8ab
Swap unit tests to use native algorithms
2017-09-08 20:32:12 +10:00
Nyall Dawson
f799d3afc8
Move allFeatureIds from QgsVectorLayer to QgsFeatureSource
2017-09-08 20:09:29 +10:00
Alexander Bruy
1fb48f456c
[processing] fix file filter construction for output files
2017-09-08 11:56:23 +03:00
Alessandro Pasotti
f0e021c2fd
Merge pull request #5000 from jgrocha/add-default-layers
...
[FEATURE][needs-docs] Add XYZ connection to provide default OpenStreetMap tiles
2017-09-08 10:40:45 +02:00
Nyall Dawson
a9f4540081
Remove 'precision' option from spatial relation processing algs
...
Rationale:
- the correct use for this option is unclear, and users are
mistakenly using it as a 'tolerance' option
- it's very likely to generate invalid geometries as a result
of the snapping, causing unreliable results
Given these substantial issues, it's safer to remove this
option and require that users who need the snap to grid
precision change explicitly do this via an extra model
step before running the algorithm.
2017-09-08 16:48:59 +10:00
Nyall Dawson
24a4ab7f0d
Rework Select by Location algorithm
...
Changes:
- handle different CRS transparently
- don't build a spatial index on the selection layer. Instead
only use feature requests to fetch features which are within
the desired bounds, and rely on the presence of an appropriate
spatial index at the provider's backend. Otherwise, we force
every user of this algorithm to have a full iteration of the
source table, regardless of how large the table is. That means
that trying to select a set of addresses which fall within
a specific locality from a table which contains the addresses
for a whole state will FORCE every address in the state to
be initially read before any calculation begins. With this
change only those features within the bounding box of the
selected localities will ever be fetched from the provider,
resulting in huge speed improvements for the algorithm.
- use prepared geometries for the spatial relation tests.
This dramatically speeds up the algorithm in the case
where the intersection layer features cover multiple
features from the 'selection' layer.
- Add a 'select within current selection' mode
- Optimise feature requests for efficiency (especially
with respect to the 'disjoint' selection mode)
2017-09-08 16:48:59 +10:00
Nyall Dawson
4ca972a2ff
Fix stats by categories tests on Travis
2017-09-08 16:35:18 +10:00
Nyall Dawson
e9fd409552
Allow multiple primary key fields to be specified for processing tests
...
`
2017-09-08 16:33:55 +10:00
lbartoletti
5c3a72014a
fix qgsgeometry sip
2017-09-08 08:06:21 +02:00
lbartoletti
629f46d308
add overload methods
2017-09-08 08:06:21 +02:00
Nyall Dawson
c750cb2154
Fix existing unit test, add new tests
2017-09-08 09:21:02 +10:00
Nyall Dawson
9a091651bc
[FEATURE] Drop 'Frequency analysis' and 'Number of unique values in classes' algs
...
The functionality of both these algorithms is available in 'stats by
categories'
2017-09-08 08:52:42 +10:00
Nyall Dawson
ea2e537cd7
Make value field in 'Stats by category' optional
...
If not set, only the feature counts for each category will
be calculated
2017-09-08 08:52:42 +10:00
Nyall Dawson
30c663eaef
Fix calculation with null strings
2017-09-08 08:52:42 +10:00
Nyall Dawson
30866190e9
[FEATURE] Allow multiple category fields in 'stats by category'
2017-09-08 08:52:42 +10:00