46097 Commits

Author SHA1 Message Date
Nyall Dawson
277e06ec28 [processing] Fix some message box titles 2018-02-22 06:44:17 +11:00
Nyall Dawson
f8c3f39670 [processing] Fix dependency calculation for model child algs 2018-02-21 20:34:40 +11:00
Felis Pimeja
76c21ea369 Updated and vectorized several icons (#6382) 2018-02-21 15:39:25 +07:00
Chris Crook
cb17e22596
Merge pull request #6400 from ccrook/delim_text_ui_crs
Delim text ui crs
2018-02-21 19:37:12 +13:00
Chris Crook
6759993742 Fixing up code indentation and removing spacer in dialog 2018-02-21 19:07:41 +13:00
Nyall Dawson
bb08b64a03
Merge pull request #6398 from DelazJ/QMessageBoxTitles
Updating some dialogs caption
2018-02-21 16:29:46 +11:00
nirvn
6573eb30e7 [processing] small fix in the MultipleLayerWidgetWrapper wrapper 2018-02-21 12:00:32 +07:00
Harrissou Sant-anna
ed99ba9d08 Updating some dialogs caption 2018-02-21 03:35:22 +01:00
Nyall Dawson
585a4d3782 [processing] Split multiparts and explode are feature based algorithms 2018-02-21 09:16:43 +11:00
Nyall Dawson
43cd62b62f [processing] Tweak api for QgsProcessingFeatureBasedAlgorithm
Instead of returning a single QgsFeature from processFeature, we now
return a list of features.

This allows feature based algorithms which return multiple features
per input feature, e.g. "explode" type algorithms which split a
single input feature into multiple output features.
2018-02-21 09:16:43 +11:00
Juergen E. Fischer
34553d3624 fix warning 2018-02-20 20:40:35 +01:00
Jürgen Fischer
4eef948bc3
Merge pull request #6394 from neteler/patch-75
Add grass74 support
2018-02-20 20:40:20 +01:00
Chris Crook
25c4fe7c83 Clear delimited text source fields after adding to show something has happened 2018-02-21 07:07:16 +13:00
Chris Crook
3e9ce1a5bc Add CRS to delimited text source select. Fixes #11520 2018-02-21 07:07:16 +13:00
Martin Dobias
348b0cf884
Warn user when trying to move or delete selected features outside of map view (#6092)
Sometimes users may inadvertently move/delete features they are not aware
of being selected. If that is the case, extra warning message box will be shown
for confirmation.

Does not apply for deletion from attribute table - it is assumed that features
do not need to be visible when deleting from attribute table.

In QgisApp::deleteSelected() method the last argument was not used anymore,
so I have replaced it by the "checkFeaturesVisible" argument.
2018-02-20 17:55:14 +01:00
rldhont
1582073011 [BUGFIX][Server] WFS GetFeature GML: segfault with geometry null 2018-02-20 14:19:43 +01:00
Denis Rouzaud
b7194414b6
Qt 5.7 dropped pyqtWrapperType (#6393)
version would need double check though
2018-02-20 02:40:22 -09:00
Markus Neteler
2dece58b67
Add grass74 support
GRASS GIS 7.4 is the current stable version, support added
2018-02-20 12:30:24 +01:00
Denis Rouzaud
713bfd3452 add Q_ENUM for QgsRasterProjector::Precision 2018-02-20 02:00:57 -09:00
Denis Rouzaud
3d3a2dabca Revert "fix build with grass"
This reverts commit e5c9092a4cc5f4ddc0e424294a6e8b3fc44ed589.
2018-02-20 02:00:57 -09:00
Nyall Dawson
5c061668f7 Fix memory leak in task manager widget 2018-02-20 19:26:48 +11:00
Nyall Dawson
64369f8099
Merge pull request #6370 from nyalldawson/afs
ArcGIS feature server: implement provider test suite and fix issues
2018-02-20 17:24:01 +11:00
Nyall Dawson
7980f307eb Spelling 2018-02-20 14:48:06 +10:00
Nyall Dawson
5145b2c2a3 [afs] Add unit test for metadata 2018-02-20 14:32:08 +10:00
Nyall Dawson
f7559d3022 [afs] Auto populate layer metadata from provider metadata 2018-02-20 13:49:29 +10:00
Nyall Dawson
6a9f9869da Fix links are doubled in metadata widget 2018-02-20 13:46:27 +10:00
Nyall Dawson
56b1edecfa [afs] Use faster bounding box checks where possible 2018-02-20 13:20:38 +10:00
Nyall Dawson
3ffbd84f5f Add a bounding box intersection test to QgsGeometry
We only previously had methods for exact intersections - this
commit adds a new QgsGeometry.boundingBoxIntersects() method
which can be used to test if just the bounding boxes of
geometries/rectangles intersect.

It's fast, and doesn't care about invalid geometries (unlike
the exact intersects checks)
2018-02-20 13:20:38 +10:00
Nyall Dawson
9471c5d9ab [afs] More responsive cancelation for feature requests 2018-02-20 13:20:38 +10:00
Nyall Dawson
668af8ccb5 Avoid redundant error 2018-02-20 13:20:38 +10:00
Nyall Dawson
c0d4ce70f2 [afs] Don't request intersecting features from server if all
features are already locally cached
2018-02-20 13:20:38 +10:00
Nyall Dawson
a818953c93 [afs] Correctly advertise SelectAtId capability
Big speedup for attribute table loading with provider
2018-02-20 13:20:38 +10:00
Nyall Dawson
3aaf35ad30 [afs] Support interruption requests on feature iterator
Results in a huge increase in responsiveness when working with
large AFS layers
2018-02-20 13:20:38 +10:00
Nyall Dawson
1c8c461a2a [afs] Add unit test for non OBJECTID named id fields 2018-02-20 13:20:38 +10:00
Nyall Dawson
e3f55dc549 [afs] Handle layers where the id field is not named "objectid" 2018-02-20 13:20:38 +10:00
Nyall Dawson
93920d2985 [afs] Don't list layers with no Query capability in AFS source select
Since these layers cannot be queried or added to the map and should
be added as mapserver layers instead.
2018-02-20 13:20:38 +10:00
Nyall Dawson
9e023bdab2 [afs] Fix/optimise handling of filter rect feature requests
Before a filter rect request would usually force fetching every
single feature from the server before the request could be
complete.

Instead, if a filter rect is passed we first obtain a list
from the server of matching features within this rect, and
then iterate only over those.

Fixes broken (multi-minute hang) identify tool use on AFS
layers.
2018-02-20 13:20:38 +10:00
Nyall Dawson
45ded37f62 Try to fix test which fails only on Travis 2018-02-20 13:20:38 +10:00
Nyall Dawson
706266804e [afs] Don't lock shared data whilst fetching remote data
Since the fetch can be slow, there's no need to lock other
afs threads while we wait for a particular set of results to
be fetched.
2018-02-20 13:20:38 +10:00
Nyall Dawson
7307650862 Fix accidental test change 2018-02-20 13:20:38 +10:00
Nyall Dawson
4af24bf878 More provider check handling of extra fields 2018-02-20 13:20:38 +10:00
Nyall Dawson
7711f1335a [afs] Ensure that null attributes are correctly mapped for PyQGIS 2018-02-20 13:20:38 +10:00
Nyall Dawson
7d620e28f1 Make feature source/provider test handle additional fields 2018-02-20 13:20:38 +10:00
Nyall Dawson
922776bf14 [afs] Fix crash when requesting invalid feature ID 2018-02-20 13:20:38 +10:00
Nyall Dawson
87207dde79 [afs] Fix provider ignores FilterFids requests and returns
incorrect features
2018-02-20 13:20:38 +10:00
Nyall Dawson
394e1a1bb1 [afs] Remove unused code 2018-02-20 13:20:37 +10:00
Nyall Dawson
1e95433ac3 Better geometry memory management for afs provider 2018-02-20 13:20:37 +10:00
Nyall Dawson
8b0b826df9 [afs] Correctly convert attribute values to field type
Avoids AFS provider returning double values for integer
and long field types
2018-02-20 13:20:37 +10:00
Nyall Dawson
d87738be22 Avoid some detaches in AFS iterator 2018-02-20 13:20:37 +10:00
Nyall Dawson
258527ccd2 Don't try to run provider tests which require subsetStrings on providers which don't support them 2018-02-20 13:20:37 +10:00