40399 Commits

Author SHA1 Message Date
Nyall Dawson
ecaee1a3f2 QgsGeometry::vertexAt now returns QgsPoint, not QgsPointXY
Since it's easy to convert from a QgsPoint to a QgsPointXY,
but impossible to recover the Z/M values lost by only
returning a QgsPointXY.
2017-07-28 11:48:50 +10:00
Nyall Dawson
620d4e0bcd Port delete duplicate geometries to new API 2017-07-28 11:04:12 +10:00
Nyall Dawson
5b6696fce3 Port equivalent num field algorithm to new API 2017-07-28 10:54:35 +10:00
Juergen E. Fischer
fbff452e5c run t2tdoc 2017-07-28 01:09:11 +02:00
Jürgen Fischer
adeef36ac8 Merge pull request #4935 from johanvdw/patch-1
update INSTALL: only GRASS 7 is supported
2017-07-28 01:03:06 +02:00
Johan Van de Wauw
0a4a76ec9b update INSTALL: only GRASS 7 is supported
INSTALL has to be updated as only GRASS7 is now supported (
#4847 )
2017-07-27 22:47:52 +02:00
Alessandro Pasotti
c0c18cd466 Added missing \param to ctor documentation 2017-07-27 19:22:01 +02:00
Hugo Mercier
ce223160d2 Merge pull request #4932 from pblottiere/bugfix_chainfilter2
Fixes relation reference widget when filters are reset
2017-07-27 16:40:33 +02:00
Blottiere Paul
5a62029478 Add tests 2017-07-27 13:12:52 +01:00
Blottiere Paul
497662a40c Fixes relation reference widget when filters are reset 2017-07-27 13:09:40 +01:00
Nyall Dawson
5c82a856bf Merge pull request #4929 from nyalldawson/algs
Restore some more processing algorithms...
2017-07-27 21:08:54 +10:00
Nyall Dawson
82182040ab Port Create Constant Raster to new API and add test 2017-07-27 16:02:52 +10:00
Nyall Dawson
e23617a83d Port split with lines to new API
Improvements:
- handle transparent reprojection if layer and lines are in different CRS
2017-07-27 15:38:55 +10:00
Nyall Dawson
516249cea7 Port Explode algorithm to new API
Improvements:
- Keep Z/M values if present
- Add unit tests
2017-07-27 15:21:56 +10:00
Ismail Sunni
4aaecb95ba Add bash version checking for sip_include.sh. 2017-07-27 07:01:43 +02:00
Nyall Dawson
9b3f8a8b09 Port Polygonize to new API 2017-07-27 14:56:39 +10:00
Nyall Dawson
504cc1f390 Port Truncate alg to new API 2017-07-27 14:43:42 +10:00
Nyall Dawson
856125d366 Port create spatial index algorithm to new API 2017-07-27 14:30:40 +10:00
Nyall Dawson
f7b25a17b1 Allow setting layer type filter for QgsProcessingParameterVectorLayer
Turns out this is required for some algorithms
2017-07-27 14:30:04 +10:00
Nyall Dawson
558580588c Port merge lines algorithm to new API 2017-07-27 12:30:38 +10:00
Nyall Dawson
95be6d17b5 Restore text to float algorithm
And add test
2017-07-27 12:14:28 +10:00
Nyall Dawson
ab70e050a6 Port export geometry info to new API 2017-07-27 11:21:24 +10:00
Nyall Dawson
6ae2ddaa87 Remove some unrequired iface usage from processing algs
Flip to context.project().crs() use instead
2017-07-27 10:54:02 +10:00
Nyall Dawson
2e8d940f2d Use context.project() instead of QgsProject.instance() 2017-07-27 10:49:52 +10:00
Nyall Dawson
18dd09762b Remove vector.simpleMeasure
It's quite a confusing function - instead use optimised versions
of the measurement calculations in its place
2017-07-27 10:46:53 +10:00
Nyall Dawson
6cb9fa80f6 Astyle 2017-07-27 10:17:45 +10:00
Nyall Dawson
82936997bd Temporarily disable spelling and sip uptodate tests on Travis
Tests are timing out for an unknown reason, causing valid commits
to fail
2017-07-27 09:54:32 +10:00
Nyall Dawson
3e3f1d42d9 Fix some unhandled db errors in user profiles (thanks to Coverity) 2017-07-27 09:47:04 +10:00
Nyall Dawson
687adbf669 Fix tiny svg preview size on hidpi displays 2017-07-27 09:00:44 +10:00
Nyall Dawson
db2968601f Fix typo causing undefined behavior warnings 2017-07-27 08:09:02 +10:00
Nyall Dawson
ce4a2519c1 Merge pull request #4924 from SrNetoChan/dialog_titles
Making dialog titles use Book Style Capitalization [needs-docs]
2017-07-27 06:27:27 +10:00
Alexandre Neto
8d4dec5c3f Making dialog titles use Book Style Capitalization [needs-docs] 2017-07-26 15:16:36 +01:00
rldhont
a3af69a44d [BUGFIX][SERVER] GetFeatureInfo not evaluated for maptip context when using FILTER param
fixed #16670
2017-07-26 15:20:36 +02:00
Tom Kralidis
783e4540dd Merge pull request #4923 from GeoCat/closeXmlTag
Close unmatched xml tag
2017-07-26 07:16:25 -04:00
Nyall Dawson
cf042dc5dd Merge pull request #4838 from aaime/textsymbolizer_sc
SLD label exports. fixes #8925
2017-07-26 21:09:19 +10:00
doublebyte1
a7693d9076 - closed unmatched xml tag. 2017-07-26 12:38:42 +02:00
Hugo Mercier
1b9dea9ea1 Merge pull request #4904 from pblottiere/bugfix_chainfilter
Fixes relation reference widget when chain filter option is activated, fixes #16903
2017-07-26 11:57:35 +02:00
Andrea Aime
5cfed129b5 Ading all other labelling options supported by SLD. fixes #8925 2017-07-26 11:38:29 +02:00
Blottiere Paul
58ea88715d Add tests 2017-07-26 09:56:37 +01:00
Blottiere Paul
8642e88867 Fix relation reference widget when 'Chain Filters' is activated. Fixes #16903 2017-07-26 09:55:29 +01:00
Hugo Mercier
d19b4aa2bf Merge pull request #4905 from pblottiere/bugfix_scrolllocked
Fixes value relation widget to keep scrollbar activated, fixes #16654
2017-07-26 10:52:55 +02:00
Nyall Dawson
f0a6376adb Merge pull request #4910 from nyalldawson/layout_next
Layouts, chapter III
2017-07-26 17:03:36 +10:00
Nyall Dawson
11dd4170de Try to balance UI element sizes on windows builds 2017-07-26 14:46:30 +10:00
Nyall Dawson
a48c146916 Fix vector file formats show in processing options for raster output
extension (fix #16894)
2017-07-26 10:22:57 +10:00
Nyall Dawson
a95cbe9d2f Move 'Run as batch' button to bottom of algorithm dialog
Inserting it into the tab widget doesn't work well cross
platform/between hidpi/lowdpi displays. So instead add
it as a normal button in the button box.

Also fix capitalization of button text

Fixes #16767
2017-07-26 09:45:27 +10:00
Nyall Dawson
06374a6782 Merge pull request #4921 from nyalldawson/fix_deleted_algs
Fix "wrapped object has been deleted" errors in Processing
2017-07-26 07:37:51 +10:00
Nyall Dawson
383422f069 Fix "wrapped object has been deleted" errors in Processing
Ownership of Python subclass algorithm instances was getting
mangled due to passing through multiple functions with /Factory/
annotations.

As per Phil Thomson's advice on
https://www.riverbankcomputing.com/pipermail/pyqt/2017-July/039450.html:
"
/Factory/ is used when the instance returned is guaranteed to be
new to Python. In this case it isn't because it has already been
seen when being returned by createInstance(). (However for a different
sub-class implemented in C++ then it would be the first time it was seen
by Python so the /Factory/ on create() would be correct.)

You might try using /TransferBack/ on create() instead - that might be
the best compromise.
"

Changing to /TransferBack/ indeed fixes the error for me.
2017-07-26 07:03:16 +10:00
Andrea Aime
59d8b18ed8 Porting Raymond Nijssen FOSS4G 2016 labeling work onto latest version of master, with basic support for testing. fixes #8925 2017-07-25 17:05:47 +02:00
Hugo Mercier
1b9c5be10d Merge pull request #4839 from pblottiere/joinconstraints
[FEATURE] Constraints are resolved for joined fields
2017-07-25 16:36:21 +02:00
volaya
c5371b64cb added new SAGA descriptions
(cherry picked from commit a3bb3f13902638ee38f85c25c57d68b34b33bfbc)
2017-07-25 14:01:06 +03:00