5285 Commits

Author SHA1 Message Date
Denis Rouzaud
47ab9b89e7 remove const for QgsReadWriteContext to allow bringing up error messages 2018-02-28 13:43:10 -04:00
Denis Rouzaud
78e2259add
[Travis] bump Qt to 5.9 (#6355)
* bump Qt to 5.9 and SIP to 4.19.7 by using coming Bionic as base Docker image for dependencies
* automatically build QGIS Docker image on cron jobs
2018-02-27 09:16:02 -09:00
Denis Rouzaud
f7220c89c6 more test masks 2018-02-27 08:29:20 -09:00
Denis Rouzaud
eb6a216325 update test masks 2018-02-27 05:47:51 -09:00
Alessandro Pasotti
91b9a69d3e
Merge pull request #6470 from elpaso/template-convert
[layout] Automatic conversion of 2.x composition templates to layouts
2018-02-27 09:14:03 +00:00
Alessandro Pasotti
27ab59c628 Fixed mask image and docs 2018-02-27 08:46:30 +00:00
Denis Rouzaud
cc6e2d46e7 update test masks 2018-02-26 17:26:39 -09:00
Alessandro Pasotti
5fbcb8e5ed Update mask images 2018-02-26 19:37:10 +00:00
Alessandro Pasotti
02e75a7347 Update control images 2018-02-26 19:04:11 +00:00
Alessandro Pasotti
3bdb6c2890 [layout] Automatic conversion of 2.x composition templates to layouts 2018-02-26 18:01:13 +00:00
Denis Rouzaud
03edc407b1 rename QgsSettings::enumSettingValue to enumValue
no python API break
2018-02-26 02:32:44 -09:00
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Nyall Dawson
033e2e6436 Add unit test for calculator filter 2018-02-25 07:30:26 +11:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Blottiere Paul
46eb6e34b2 Update mask image 2018-02-23 15:42:00 +00:00
Blottiere Paul
42ca67e3fd Add test 2018-02-23 13:51:39 +00:00
Martin Dobias
64aa400ffc Respect selection in layers in vertex tool (fixes #17782) (#6421)
This fixes issues in situations when there are multiple vertices in one location:

1. when clicking a location, if there are selected features,
   the closest vertex from a selected feature will be used with priority.

2. when dragging a rectangle, if there is a selected feature,
   only vertices from selected features will be used.

If there is selection in any editable layers, but away from the location where
user clicked to pick vertex (or dragged rectangle to pick multiple vertices),
the existing vertex tool behavior is not affected (so it cannot happen that
vertex tool suddenly appears to have stopped working just because there is
selection somewhere possibly outside of the current map view).
2018-02-23 14:33:40 +10:00
Nyall Dawson
3e86804d64
Merge pull request #6395 from lbartoletti/advanced_shape_digitize_toolbar
Make Regular Shape Digitizing Toolbar disabled by default / renamed Shape Digitizing Toolbar
2018-02-23 11:42:12 +11:00
Alessandro Pasotti
81d8625f73
Merge pull request #6407 from elpaso/bugfix-18099-wfs-operations-xref-2
[bugfix] Support Distributed Computing Platform (DCP) for WFS
2018-02-22 15:01:18 +00:00
Alessandro Pasotti
3ce8dc12be Fix port for WFS server integration tests 2018-02-22 12:14:28 +00:00
Loïc Bartoletti
5d5927aca4 Add shapeDigitizeToolbar to acceptable missing doc 2018-02-21 22:34:32 +01:00
Alessandro Pasotti
31428242da Cosmetic fixes 2018-02-21 21:58:58 +01:00
Alessandro Pasotti
f1b5987634 [bugfix] Support Distributed Computing Platform (DCP) for WFS
Implement the possibility to specify different endpoints
for different WFS operations.

With tests.

Fixes #18099 WFS Capabilities handling problem
2018-02-21 21:48:01 +01:00
Nyall Dawson
f8c3f39670 [processing] Fix dependency calculation for model child algs 2018-02-21 20:34:40 +11:00
Denis Rouzaud
b7194414b6
Qt 5.7 dropped pyqtWrapperType (#6393)
version would need double check though
2018-02-20 02:40:22 -09:00
Nyall Dawson
5145b2c2a3 [afs] Add unit test for metadata 2018-02-20 14:32:08 +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
1c8c461a2a [afs] Add unit test for non OBJECTID named id fields 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
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
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
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
10ceac60ac Exempt AFS provider from certain provider tests 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
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
Juergen E. Fischer
f14b729e3b fix some references to PROJ.4 2018-02-19 22:12:09 +01:00
Denis Rouzaud
4d6b0e6aea extend QgsSettings::enumSettingValue to handle flags (with test) 2018-02-19 05:55:09 -09: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
Nyall Dawson
0e3af9c6a9 [layouts] Remove use of QStyleOptionGraphicsItem from QgsLayoutItem API
Turns out the useful methods in QStyleOptionGraphicsItem were deprecated
in Qt 5.10. To future protect our API this replaces all public
use of QStyleOptionGraphicsItem, so that we're free to revise
the internals of how we use QStyleOptionGraphicsItem without breaking
the public QGIS API.
2018-02-19 19:18:24 +11:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Blottiere Paul
323e75c029
Merge pull request #5823 from pblottiere/bugfix_curvedstrings_z
[bugfix] Fixes #17576 and #17574 Add Z support and fixes crashes
2018-02-18 10:58:09 +00:00
Denis Rouzaud
b0bc2b20c7 improve test for QgsSettings::enumSettingValue 2018-02-17 09:33:35 -09:00
Denis Rouzaud
f31ba78ccd
Merge pull request #6364 from 3nids/setting_enum_value
[settings] add method to get value for a setting associated to an enum
2018-02-17 06:28:35 -09:00
Denis Rouzaud
bda67ada90 add test for QgsSettings::enumSettingValue 2018-02-17 10:46:01 -04:00