Alexander Bruy
27f4d42b23
[processing] remove unused code
2017-08-01 14:52:25 +03:00
Alexander Bruy
14435907f6
[processing] adopt algs to use new API call to retrieve GDAL driver
2017-08-01 14:52:25 +03:00
Alexander Bruy
0476d4e2da
[API] method to retrieve corresponding GDAL driver from a file
...
extension
2017-08-01 14:52:25 +03:00
Alexander Bruy
fef93fc751
[processing] limit pixel size values
2017-08-01 14:52:25 +03:00
Alexander Bruy
1f276a12bf
[processing] port raster layer statistics
2017-08-01 14:52:25 +03:00
Alexander Bruy
fa0bb2e6dc
[processing] improve Create constant raster algorithm
2017-08-01 14:52:25 +03:00
Nyall Dawson
0328b7af48
Merge pull request #4943 from nyalldawson/exp_layer_rel
...
Add items for project map layers and relations to expression builder
2017-08-01 19:30:58 +10:00
Blottiere Paul
86c63a15b6
Set an attribute as private instead of protected
2017-07-31 11:09:15 +01:00
Blottiere Paul
74b3823278
Update sip binding
2017-07-31 11:09:15 +01:00
Blottiere Paul
d551f9b90d
Update documentation for QgsProjectArchive
2017-07-31 11:09:15 +01:00
Blottiere Paul
a7959b777a
Update sip binding
2017-07-31 11:09:14 +01:00
Blottiere Paul
1d8574e436
Temporary .qgs files are deleted
2017-07-31 11:09:14 +01:00
Blottiere Paul
576afe5aa3
Add a QgsProjectArchive class to keep QgsArchive generic
2017-07-31 11:09:14 +01:00
Blottiere Paul
75811ef76b
Update documentation and sip binding
2017-07-31 11:09:14 +01:00
Blottiere Paul
f155030e63
[FEATURE] Add the possibility to save/open a project in .qgz
2017-07-31 11:09:14 +01:00
Blottiere Paul
86389d185c
[FEATURE] Project may be zipped/unzipped
2017-07-31 11:09:14 +01:00
Blottiere Paul
7c85b200e6
Add utilities functions for zip support
2017-07-31 11:09:14 +01:00
Matthias Kuhn
1da9c607c9
[MetaSearch] Make dialog element size dynamic
2017-07-31 10:09:03 +02:00
Matthias Kuhn
3dc6daaffa
Fix typo
2017-07-31 09:35:28 +02:00
Nyall Dawson
917263a9a3
Allow setting project for QgsExpressionBuilderWidget
...
(still defaults to QgsProject::instance())
2017-07-31 08:18:09 +10:00
Nyall Dawson
e79bf3fb94
Add some unit tests for QgsExpressionBuilderWidget
2017-07-31 08:08:18 +10:00
Matthias Kuhn
b262604f7a
Add missing import
2017-07-30 22:42:57 +02:00
Matthias Kuhn
3ce6fcd31d
Even more endless hourglass avoidance
2017-07-30 22:36:51 +02:00
Matthias Kuhn
8473df562f
More endless hourglass protection
2017-07-30 22:18:25 +02:00
Matthias Kuhn
4b6b8434f4
Avoid endless wait cursors in console
2017-07-30 21:53:41 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors
2017-07-30 21:51:22 +02:00
Nyall Dawson
e8290928dd
Port Variable distance buffer to new API
...
Improvements:
- add cap style/join style/ miter limit setting from fixed distance buffer
2017-07-28 14:10:48 +10:00
Nyall Dawson
5763381cbd
Port fixed distance buffer to new API
2017-07-28 13:58:52 +10:00
Nyall Dawson
e53a14a23e
Port Convex Hull alg to new API
...
Improvements:
- slight optimisation to feature requests - don't request attributes
which are not used
- Remove "method" param. Now the decision to group by field or
not is made only on whether a class field was selected or not
2017-07-28 13:27:52 +10:00
Nyall Dawson
c5cb3df15b
Port singlepart to multipart to new API, fix disabled test
2017-07-28 12:42:40 +10:00
Nyall Dawson
2a6f51218a
Port points along line to new API
2017-07-28 12:05:05 +10:00
Nyall Dawson
becf6904b1
Port extract specific nodes algorithm to new API
...
Improvements:
- keep Z/M values if present in geometries
2017-07-28 11:50:16 +10:00
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
Alessandro Pasotti
c0c18cd466
Added missing \param to ctor documentation
2017-07-27 19:22:01 +02: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
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