Nyall Dawson
0455b6600d
[processing] Fix multipart to singlepart handling of null geometry
2016-08-02 11:53:11 +10:00
Nyall Dawson
ccfd4c36be
[processing] Add test for dissolve using field values
2016-08-02 11:52:37 +10:00
Nyall Dawson
30fcaed634
[FEATURE][processing] New algorithm for merging connected lines
...
This algorithm joins all connected parts of MultiLineString
geometries into single LineString geometries.
If any parts of the input MultiLineString geometries are not
connected, the resultant geometry will be a MultiLineString
containing any lines which could be merged and any non-connected
line parts.
2016-08-02 11:51:44 +10:00
Nyall Dawson
b7ca001c9c
Add __nonzero__ and __bool__ methods to QgsGeometry
2016-08-02 08:39:58 +10:00
Nyall Dawson
bd7d913379
Refine QgsFeature geometry getters/setters
...
All pointer based methods have been removed.
Now we have only:
void setGeometry( const QgsGeometry& geom )
and
QgsGeometry geometry() const
Benefits include avoiding a whole lot of tricky pointer lifetime
issues, potential memory leaks, and finally closing #777 , which
has survived for over 9 years!...
Impacts on PyQGIS code:
- no more need for the messy
g = QgsGeometry( feature.geometry() )
workaround, just use g = feature.geometry() instead
- IMPORTANT: you can no longer test whether a feature has geometry
using `if f.geometry():`, since QgsFeature::geometry() will
*always* return an object. Instead, use
`if not f.geometry().isEmpty():`, or preferably the new method
`if not f.hasGeometry():`
Fix #777
2016-08-01 16:25:46 +10:00
Alexander Bruy
2fbb617d61
[processing] also fix case without dissolving
2016-07-22 15:43:04 +03:00
Alexander Bruy
9976c30c9a
[processing] fix buffer tool
2016-07-22 15:37:16 +03:00
Nyall Dawson
1a2231f10c
Rename QGis class to Qgis, for capitalisation consistency
2016-07-21 22:01:38 +10:00
Matthias Kuhn
143cfab104
[processing] Difference: don't ignore invalid geometries by default
...
Fix #9297
2016-07-04 00:43:36 +02:00
Alexander Bruy
1b60b088a2
[processing] support more field types
2016-06-27 14:18:31 +03:00
Alexander Bruy
87fea73647
[processing] add support for longlong fields in spatial join alg ( fix #15072 )
2016-06-24 15:10:49 +03:00
Alexander Bruy
e0c9733f64
[processing] speedup Hub distance algorithm ( fix #15012 )
2016-06-21 16:56:21 +03:00
Alexander Bruy
aa9fe9ecd0
Merge pull request #3118 from arnaud-morvan/processing_gdal_postgis_credentials
...
[processing] support postgis service parameter and credentials input
2016-06-14 15:19:03 +03:00
Alexander Bruy
0553f7b33b
[processing] allow 2.5D geometries ( fix #14929 )
2016-06-13 11:44:08 +03:00
Alexander Bruy
48949d642f
[processing] improve error message text (refs #14929 )
2016-06-10 15:30:03 +03:00
nirvn
14342ce65a
[processing] fix missing quotes to field name in refactor fields
2016-06-05 09:32:51 +07:00
arnaud.morvan@camptocamp.com
8ddae27130
[Processing] Support authentication with postgis
2016-06-03 17:09:31 +02:00
Nyall Dawson
3a005cda36
Indentation
2016-06-02 08:50:27 +10:00
Alexander Bruy
57b16187e6
[processing] move spatialite and postgis utils into tools package
2016-06-01 14:15:46 +03:00
Alexander Bruy
cc7eb27a27
[processing] drop WebView dependency (follow up 38f6ace4c0)
2016-05-27 20:38:51 +03:00
volaya
f4ca847660
[processing] do not exit loop in intersect if there are errors
...
fixes #14908
2016-05-27 11:27:24 +02:00
Alexander Bruy
33977d16dd
[processing] add option to force singlepart geometry type to postgis import ( fix #14889 )
2016-05-27 11:25:22 +03:00
Alexander Bruy
d783635a40
[processing] homogenize spatial index name with DB Manager ( fix #14899 )
2016-05-26 16:13:46 +03:00
Alexander Bruy
322da8b2cf
Merge pull request #3105 from volaya/processing_cleanup
...
[processing] cleanup and improvements
2016-05-25 20:42:17 +03:00
Alexander Bruy
dadc9d2057
fix typo
2016-05-24 19:59:07 +03:00
Alexander Bruy
8ad1e3c8bc
[processing] add ability to choose encoding when importing into PostGIS ( fix #14687 )
2016-05-24 19:32:58 +03:00
volaya
2eebe0d314
[processing] additional mechanism to add scripts from 3rd party plugin
2016-05-23 19:36:16 +02:00
Alexander Bruy
6207412bf7
[processing] restore CreateConstantRaster algorithm ( fix #14860 )
2016-05-23 12:41:45 +03:00
Nyall Dawson
1767d3b073
[processing] Use QgsVectorLayer::selectByExpression for select by expression alg
2016-05-19 10:40:18 +10:00
volaya
f001ac11f7
[processing] fixed repaint in set vector style algorithm
2016-05-18 14:24:45 +02:00
arnaud.morvan@camptocamp.com
7847f971d4
Processing - Adapt RefactorFields to work on tables as well as vector layers
2016-05-17 14:16:16 +02:00
Matthias Kuhn
0d165e5621
Merge pull request #3058 from arnaud-morvan/processing_postgis_errors
...
Processing - Fix unicode/str error in postgis_utils
2016-05-11 12:30:14 +02:00
arnaud.morvan@camptocamp.com
66b1416dfe
Processing - Fix unicode/str error in postgis_utils
2016-05-11 11:27:58 +02:00
Harrissou Sant-anna
cf45742fe8
use same icons as in other dialogs for this task
2016-05-09 07:02:30 +02:00
Harrissou Sant-anna
af73c3dd58
replace icon
2016-05-02 17:22:47 +02:00
Matthias Kuhn
abfd7740bd
Fix qgis.PyQt compatibility imports
2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Alexander Bruy
77d95b0d65
[processing] don't write NaN's to attribute table ( fix #14639 )
2016-04-26 20:44:53 +03:00
Alexander Bruy
9a05558aff
fix formatting
2016-04-26 15:22:52 +03:00
volaya
5cc2dcd2a4
[processing] fixed wrong call to addToLog
2016-04-26 12:47:54 +02:00
Matthias Kuhn
59522582bf
[processing] Improve error message when clipping fails due to 2.5D
2016-04-21 17:11:16 +02:00
Alexander Bruy
b7a4e20627
[processing] add Rectangles, Ovals, Diamonds algorithm ( fix #11575 )
...
This is direct port of abandoned "Rectangles, Ovals and diamonds" plugin.
There are two algorithms: one uses fixed values and second — variable
values from attribute table. Test for fixed distance version included.
2016-04-13 12:33:08 +03:00
Nyall Dawson
ae59b733c3
[processing] Use unary union in dissolve (much faster for many
...
complex geometry inputs)
2016-04-10 12:58:01 +10:00
Alexander Bruy
3ab6db168f
[processing] fix looping over features in Join Attributes alg ( fix #14428 )
2016-04-04 11:52:02 +03:00
Alexander Bruy
428ec00e5b
fix typo
2016-03-25 16:21:06 +02:00
Alexander Bruy
660bb27388
[processing] replace some raster icons with SVG to improve HiDPI support (refs #14474 )
2016-03-25 15:19:52 +02:00
Alexander Bruy
6f7961044f
[processing] refactor Virtual vector layer algorithm
...
Add support for unioned layers (fix #12991 )
2016-03-25 15:19:52 +02:00
Alexander Bruy
70e2696be5
Merge pull request #2936 from sept-en/master
...
[processing] fix filter in Processing settings dialog. Add ability to specify mininal required number of items for MultipleInput parameter (fix #11469 , fix #12580 )
2016-03-23 17:23:08 +02:00
volaya
48104d5737
Merge pull request #2891 from csandor/patch-1
...
Table names in postgresql can be max 63 characters long
2016-03-23 10:41:40 +01:00
Septen
8c9eddcdc6
Some PEP8 fixes.
2016-03-23 00:55:36 +03:00