11529 Commits

Author SHA1 Message Date
Salvatore Larosa
e8213b8e41
Merge pull request #5757 from slarosa/pyconsole_ui_improvements
[pyqgis-console][ui] move find text tools to toolbar widget
2017-11-29 14:30:03 +01:00
Alexander Bruy
e0290a9f23
Merge pull request #5745 from alexbruy/processing-cleanup
Processing cleanup
2017-11-29 09:44:55 +02:00
Blottiere Paul
6d87c2b28f Update sip binding 2017-11-29 07:31:26 +00:00
Nyall Dawson
e4ce62342c
Merge pull request #5758 from nyalldawson/leftof
Geometry "leftOf" improvements
2017-11-29 15:51:22 +11:00
Nyall Dawson
62dbf4ce26 GML is too fragile, but shapefiles, you've never let me down... 2017-11-29 15:50:58 +11:00
Nyall Dawson
f8bad4977d [processing] Make split with lines output single part features
instead of keeping parts collected into a single multipart feature
2017-11-29 15:50:58 +11:00
Nyall Dawson
3341a3e91e Unify behavior of various geometry API leftOf tests
Now instead of mixing bools/numeric returns, we always use
ints, where:
-1 = left
0 = test failed, e.g. point on line
1 = right

Also fix a bunch of extra issues identified with left of tests
as a result of these changes
2017-11-29 10:04:20 +10:00
Radim Blazek
2f43deb9da closestSegmentWithContext() doc and test fix 2017-11-29 09:14:11 +10:00
Radim Blazek
07fd713647 fixed closestSegmentWithContext() paramas in Python 2017-11-29 09:14:07 +10:00
Salvatore Larosa
77f5959a7a [pyqgis-console][ui] move find text tools to toolbar widget 2017-11-28 23:40:29 +01:00
Salvatore Larosa
5652501cc6 [pyqgis-console] update api files and qsci_apis/generate_console_pap.py script 2017-11-28 21:14:19 +01:00
Salvatore Larosa
52efa5c36e [pyqgis-console] fix missing import for pap file compiler 2017-11-28 21:05:11 +01:00
Nyall Dawson
e34d7fb636 Fix left of test for linestrings
The test was returning invalid results for certain geometries
2017-11-29 06:45:33 +11:00
Salvatore Larosa
8b454ea38c [pyqgis-console] prepared APIs file updated
included APIs are:
* PyQGIS3
* PyQt5
* Python3.6
* GDAL-2.2.3
* GEOS-3.6.3
2017-11-28 20:12:34 +01:00
Alexander Bruy
d65c036781 [processing] remove old params from wrappers 2017-11-28 12:27:45 +02:00
Alexander Bruy
3d4a59bb8b [processing] cleanup files from unused code and remove some files 2017-11-28 12:27:45 +02:00
Alexander Bruy
ee8435a789 [processing] remove unused files 2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692 [processing] remove Python 2 compatibility layer 2017-11-28 12:27:45 +02:00
Nyall Dawson
7a09f0890e
Merge pull request #5727 from nyalldawson/sublayer
Fix ogr sublayer handling of names containing ":"
2017-11-28 14:47:34 +11:00
Alessandro Pasotti
346ab6099c [hidpi] Auto-scale cursors based on DPIs
This should work well on different DPI screens.

Still needs some testing on the various platforms.
2017-11-27 15:37:50 +01:00
Alessandro Pasotti
7ae8e16427 [bugfix][hidpi] Scalable SVG theme cursors
Add support for SVG cursor:

      ZoomIn,
      ZoomOut,
      Identify,
      CrossHair,
      CapturePoint,
      Select,
      Sampler,

Icons are provisional: they need some love from
a decent graphics designer.

Fixes #12671
2017-11-27 11:51:48 +01:00
Nathan Woodrow
b2c396fdfd Fix #17510 - Better scoping of QgsProjectionSelectionDialog inside QgsProjectionSelectionWidget 2017-11-27 14:00:15 +10:00
Nyall Dawson
c0e732b799 [processing] Add QGIS 3d provider
Adds a new QGIS processing provider for 3d algorithms, available
only when QGIS is built WITH_3D

Currently includes only a single algorithm for tesselating geometries,
which exposes the functionality of QgsTesselator to processing.

Like the native c++ algorithm provider, algorithms in the 3d
provider are transparently merged with the other QGIS providers
(i.e. they aren't separated into their own group)
2017-11-27 06:54:29 +11:00
Nyall Dawson
bb63a83e04 Add missing output from package algorithm 2017-11-27 06:38:21 +11:00
Nyall Dawson
4b9986eb8c [processing] Add a generic map layer output type
For occasions when an algorithm creates a map layer, but the type
is not known in advance (i.e. could be raster OR vector)
2017-11-27 06:38:21 +11:00
Nyall Dawson
a95aecafd6 Fix tests 2017-11-26 16:28:59 +10:00
Nyall Dawson
144e9a2e45 Fix handling of ogr sublayers with ':' in their name
Unlikely to happen, but it does occur with some layers coming
from processing models. In any case we want QGIS to be super-tolerant
of corner cases like this!
2017-11-26 12:23:32 +10:00
Nyall Dawson
7451422069 Fix package layers algorithm can't take the outputs from models
Fixes #17544
2017-11-26 12:01:41 +10:00
Alessandro Pasotti
72553a60a9
Merge pull request #5710 from elpaso/api-code-cleaning-int-2-enums
QgsVectorLayer code cleaning use enums instead of int
2017-11-24 16:16:26 +01:00
Matthias Kuhn
916c9c4cdb Open heart surgery on expression context for processing sources 2017-11-24 16:09:05 +01:00
Matthias Kuhn
abe1a9b661 Expression context creation for processing improvements
Hiding away the implementation directly in QgsProcessingFeatureSource

See discussion ec97102bc6 (r152903378)
2017-11-24 16:09:05 +01:00
Etienne Trimaille
cf685f0f5f add missing import operator (#5724) 2017-11-24 22:03:19 +07:00
Nyall Dawson
14531964a8
Merge pull request #5719 from nyalldawson/translate_z
geometries: translate Z/M
2017-11-24 22:12:11 +11:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
(fixes #17421)
2017-11-24 18:04:50 +07:00
Mathieu Pellerin
c2b3ac5624
[processing] order 3rd party provider groups (#5723) 2017-11-24 17:58:43 +07:00
Alessandro Pasotti
7a63a07f7f Add return cases to the docs and fully qualified enums 2017-11-24 11:53:49 +01:00
nirvn
a477ea3ae4 [processing] move grass & saga version number to tooltips 2017-11-24 17:16:25 +07:00
Nyall Dawson
b786ed03b2 Add a unit test 2017-11-24 16:26:41 +10:00
Nyall Dawson
cc29f0ee36 Fix some doxygen warnings 2017-11-24 16:25:49 +10:00
Nyall Dawson
ff900c0b05 [processing] Make translate algorithm native
And add option to translate z/m values
2017-11-24 16:18:13 +10:00
Nyall Dawson
3268b778ed Sipify 2017-11-24 16:16:40 +10:00
Nyall Dawson
dd223d9b08 Allow transform methods in QgsAbstractGeometry/QgsGeometry to also
transform z/m values via scale/translate arguments
2017-11-24 15:34:35 +10:00
Mathieu Pellerin
1fcadb72ff
[processing] fix for import into spatialite and execute sql algorithms 2017-11-24 12:22:19 +07:00
Nyall Dawson
03ec2d8a98
Merge pull request #5702 from nyalldawson/dxf_improve
[dxf] Add option to export labels as text elements, instead of mtext
2017-11-24 15:58:46 +11:00
Nyall Dawson
32834e9bf1 Update indentation 2017-11-24 14:57:39 +10:00
Nyall Dawson
6ec96d6d8e [layouts][FEATURE] Port arrow functionality to polyline item
Instead of a separate (badly behaved) item type for arrows, instead
add the arrowhead options to the much nicer polyline item.

There's still a dedicated toolbar action for creating arrows, but
all this does is create a polyline with the arrowhead enabled
by default.
2017-11-24 14:36:02 +10:00
Nyall Dawson
f76ed223eb Port ui for attribute table 2017-11-24 11:05:56 +10:00
Nyall Dawson
2b5aca5518
Merge pull request #5689 from nyalldawson/gpkg_alg
[processing] Fixes to non flat-file exports
2017-11-24 11:54:44 +11:00
Nyall Dawson
f29eb7b19e Port and fix unit tests 2017-11-24 10:24:36 +10:00
Nyall Dawson
f90c5003ca Port table subclasses 2017-11-24 10:24:36 +10:00