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
Nyall Dawson
c6f7a07f88
Simplify QgsVectorDataProvider::fillMinMaxCache()
2018-02-20 13:20:37 +10:00
Nyall Dawson
10ceac60ac
Exempt AFS provider from certain provider tests
2018-02-20 13:20:37 +10:00
Nyall Dawson
5f12bd5c27
[afs] Correctly return an invalid feature from closed iterators
2018-02-20 13:20:37 +10:00
Nyall Dawson
b434ab10eb
Start implementing the provider test suite for ArcGIS Feature Server provider
2018-02-20 13:20:37 +10:00
Nyall Dawson
227689aced
[afs] Fix provider incorrectly overrides provider name and description
...
with layer name and description
2018-02-20 13:20:37 +10:00
Nyall Dawson
e3fbb4cbe8
Merge pull request #6390 from nyalldawson/provider_metadata
...
Support reading layer metadata from data provider
2018-02-20 14:09:20 +11:00
Nyall Dawson
1da2da219a
Fix build
2018-02-20 11:31:33 +10:00
Nyall Dawson
3d4f6f82bb
Followup 0548f4, fixes to layer metadata and metadata widget
...
Address outstanding review requests so that this PR can be merged
2018-02-20 11:10:55 +10:00
mj10777
0548f4267e
Added QgsLayerMetadata logic to QgsDataProvider. Added setMetadata in QgsVector/RasterLayer::setDataProvider. Corrections in QgsMetadataWidget with added get/setMetadata and hasChanged functions plus checking for set mLayer pointer before use.
2018-02-20 11:06:57 +10:00
Nyall Dawson
2571de37bb
Fix some undersized widgets on hidpi win builds
2018-02-20 11:01:21 +11:00
Nyall Dawson
206f22b9c7
[processing] Fix algorithm help link in modeler
...
Fixes #18147
2018-02-20 10:03:27 +11:00
Nyall Dawson
fdebddd13a
[processing] Fix raster layers shown as inputs for certain vector algs
...
Fixes #18148 , #18149
2018-02-20 10:03:27 +11:00
Nyall Dawson
c07f37a5cb
[processing] Select by expression/attribute can run on geometryless layers
2018-02-20 10:03:27 +11:00
Nyall Dawson
da7ccf7d1f
Merge pull request #6369 from slarosa/fix_18118_crash
...
[welcomepage] fixes #18118 remove last item causes a crash
2018-02-20 09:52:41 +11:00
Juergen E. Fischer
39cb0fbfd0
proj5: show proj version qgis was built with and the version it's running with
2018-02-19 22:12:09 +01:00
Juergen E. Fischer
e5c9092a4c
fix build with grass
2018-02-19 22:12:09 +01:00
Juergen E. Fischer
f14b729e3b
fix some references to PROJ.4
2018-02-19 22:12:09 +01:00
Nyall Dawson
23dc1c8f69
Use first feature in layer to generate symbol preview icon in widget
...
Uses the first feature found in a layer in order to create a better
preview for the symbol in the symbol selector dialog. This allows
data defined settings to be evaluated correctly (at least, for the
first feature) and avoids missing previews due to missing
attribute values when data defined settings are present.
Fixes #17061
2018-02-20 07:25:33 +11:00
Denis Rouzaud
7701ea6c9a
[delete part] use snapping index to find part
2018-02-19 09:11:14 -09:00
Denis Rouzaud
42908ebbe9
Qt 5.5 prefers Q_FLAG over Q_FLAGS
...
this also allow to use QMetaEnum for flags
2018-02-19 05:55:09 -09:00
Denis Rouzaud
1a1b197ced
use Qgsettins::enumSettingValue where possible
2018-02-19 05:55:09 -09:00
Denis Rouzaud
4d6b0e6aea
extend QgsSettings::enumSettingValue to handle flags (with test)
2018-02-19 05:55:09 -09:00
Denis Rouzaud
d468e5bb6a
[sipify] fix Q_FLAG declaration
2018-02-19 05:55:09 -09:00
Juergen E. Fischer
4caf96f4e1
api doc: 2.18 is also LTR
2018-02-19 15:48:56 +01:00
Juergen E. Fischer
1364b6b431
api doc: add link to python version
2018-02-19 15:48:12 +01:00
Denis Rouzaud
fdada84bb7
[offset] warn user when layer has Z/M geometries
2018-02-19 05:14:26 -09:00
Denis Rouzaud
5b499f2428
[offset] meter limit min to 1, quadrant segments min to 1
2018-02-19 05:14:26 -09:00
Sandro Mani
b47eb87edb
Merge pull request #6301 from manisandro/qt5.10
...
Initial workaround for Qt5.10 instability
2018-02-19 14:49:22 +01:00
Sandro Mani
ea9480ef0a
Don't set focusProxy in QgsCollapsibleGroupBoxBasic when compiled against Qt5.10+, it causes crashes
2018-02-19 12:57:52 +01:00
Denis Rouzaud
a7ca742d30
fix double/int comparison
2018-02-19 02:08:36 -09:00
Denis Rouzaud
3f9963e248
tweak match from nearestEdge to return an Area type
...
also make that VisitorArea return the given point as the match point
2018-02-19 02:08:36 -09:00
Denis Rouzaud
1d0043edd7
add test for QgsPointLocator::nearestArea
2018-02-19 02:08:36 -09:00
Denis Rouzaud
9e2e99fe42
snapToCurrentLayer correctly handles Area type
2018-02-19 02:08:36 -09:00
Denis Rouzaud
965a4e87aa
revert adding tolerance to QgsSnappingUtils::snapToCurrentLayer
...
since it already uses digitizing settings
2018-02-19 02:08:36 -09:00
Nathan Woodrow
337fa7b152
Merge pull request #6379 from NathanW2/browser_sort_order
...
Better sort order for browser node
2018-02-19 20:46:30 +10:00
Nathan Woodrow
19328dda92
Change order of XYZ tiles
2018-02-19 20:43:09 +10:00