312 Commits

Author SHA1 Message Date
Matthias Kuhn
b87798cd8f
Make travis even happier 2018-12-22 16:40:27 +01:00
Matthias Kuhn
cb766d7f72
Make travis happy 2018-12-22 15:29:26 +01:00
Matthias Kuhn
929df96e20
Remaining docs 2018-12-22 12:17:13 +01:00
Matthias Kuhn
d3f64deb80
Further doc improvements 2018-12-22 11:54:43 +01:00
Matthias Kuhn
525a3da3ab
More doxygen 2018-12-22 10:57:53 +01:00
Matthias Kuhn
07ab092fb1
Some doc fixes 2018-12-22 10:35:30 +01:00
Matthias Kuhn
65f6e7ba5d
Doxymenation for gap checks 2018-12-22 10:03:22 +01:00
Denis Rouzaud
166e952c33 run sipify 2018-12-19 08:04:27 -04:00
Denis Rouzaud
edfb7e1465 run sipify 2018-12-18 17:17:25 -04:00
Alessandro Pasotti
50e5414232 Coding style and SIP_DEPRECATED 2018-11-30 09:03:28 +01:00
Alessandro Pasotti
49da1c3be9 Return a vector instead of a list and deprecate rasterEntries 2018-11-29 12:46:30 +01:00
Alessandro Pasotti
80c12b590a Extend documentation 2018-11-29 12:35:09 +01:00
Alessandro Pasotti
18854dc7b6 Do not add duplicates in raster calc layers list
Related to #20601
2018-11-29 12:26:57 +01:00
Alessandro Pasotti
e01cb7c46f Fix docstring for findNodes 2018-11-28 11:07:33 +01:00
Alessandro Pasotti
e329fb5b97 Scanline implementation 2018-11-28 10:11:33 +01:00
Nyall Dawson
8ae1880d38 Rename method for consistency, fix dox 2018-11-13 07:13:36 +10:00
Nyall Dawson
8703fb219b [FEATURE][API] New class QgsExifTools
Contains utilities for retrieving the geotag from images and
for setting an image's geotag.

Working with geotags (before this class!) is super-annoying
and fiddly and relies on either parsing command line tools
or depending on non-standard Python libraries which are
not available everywhere, and often very difficult for users
on certain platforms to get installed and working correctly.

With this class we have stable methods for geotag getting/setting
which are universally available and can be used safely
by plugins and scripts.
2018-11-13 07:13:36 +10:00
Matthias Kuhn
02ec785e1b
Fix deadlock in geometry validation
Fix a deadlock in geometry validation. This happens when the mainthread "waits for finished" of a checker thread.

What happened in this case was, that the main thread canceled the feedback and waited for any jobs to finish.
If a job was waiting for a feature source (or something else to be executed on the main thread) this resulted in a mighty deadlock.

What we do here is that we regularly check if we ought to cancel while waiting for our slot on the main thread and can bail out if we should cancel before the main thread gets around to take care of our function.
The difference is, we still execute the code on the background thread and make sure that the main thread is not doing anything during this time to avoid working on the same data structures in parallel.
2018-10-29 15:05:51 +01:00
Matthias Kuhn
3d31d72442
Fix python bindings 2018-10-15 16:05:59 +02:00
Matthias Kuhn
36e83f31c0
Tag geometry check classes as technology preview 2018-10-15 14:29:00 +02:00
Denis Rouzaud
d4ac9a7c00
do not zoom to feature if no extent 2018-10-15 14:28:04 +02:00
Matthias Kuhn
6df73d6d07
QgsVectorLayerFeaturePool needs to be aware of geometry changes 2018-10-15 14:28:03 +02:00
Matthias Kuhn
6a94033487
Make feedback a required parameter for geometry checks 2018-10-15 14:28:02 +02:00
Matthias Kuhn
4607930ece
Allow resolving errors 2018-10-15 14:27:59 +02:00
Denis Rouzaud
550de156c5
make context const 2018-10-15 14:27:58 +02:00
Denis Rouzaud
3817df69b2
Revert "QgsGeometryCheckError class requires context in constructor (not inherited classes yet)"
This reverts commit 73c89aee8c2f5ca6d2ce5a621b1ffad9f08bba02.
2018-10-15 14:27:57 +02:00
Denis Rouzaud
b0810b180d
QgsGeometryCheckError class requires context in constructor (not inherited classes yet) 2018-10-15 14:27:57 +02:00
Denis Rouzaud
711ec1de47 forward declaration of QgsProject 2018-10-08 13:01:16 -08:00
Juergen E. Fischer
e3e9297633 sip fix for xenial 2018-10-05 01:37:32 +02:00
Juergen E. Fischer
2a974e304c fix build on xenial & stretch 2018-10-04 17:03:12 +02:00
Matthias Kuhn
10b83d68fb
Make use of implicitly shared geometry 2018-09-30 16:54:54 +02:00
Matthias Kuhn
6c5f978b97
Make QgsGeometryCheck::CheckType available in factory 2018-09-30 16:21:16 +02:00
Matthias Kuhn
9a19ba3c28
Dox and bindings 2018-09-30 10:42:11 +02:00
Matthias Kuhn
113edccaa2
Cleanup 2018-09-30 10:42:11 +02:00
Matthias Kuhn
f0ddef4bed
Dox 2018-09-30 10:35:45 +02:00
Matthias Kuhn
7ba19dd05f
Cleanup leftover file 2018-09-28 15:26:08 +02:00
Matthias Kuhn
0e52074e58
Remove duplicate flags and rename is valid check 2018-09-28 14:53:11 +02:00
Matthias Kuhn
903e94331f
Doxygen 2018-09-28 13:59:42 +02:00
Matthias Kuhn
bee5470e10
Python bindings for QgsGeometryCheck and co
Adds

 - python bindings
 - geometry check factory
 - geometry check registry
 - QgsFeedback for geometry checks (lots of potential still)
 - An IsValid geometry check
 - Splits classes into their own files
 - Decouples feature pools from the configuration context
2018-09-28 13:33:24 +02:00
Nyall Dawson
f29c48b99b Dox 2018-09-26 04:27:08 +10:00
Nyall Dawson
fd1d6c1037 Add more descriptive error messages for raster calculation failure
With unit tests
2018-09-26 04:27:08 +10:00
Nyall Dawson
f4bbb147b2 Dox++ 2018-09-26 04:27:08 +10:00
Martin Dobias
1af35b294e Moved new snapping alg as another mode of "Snap geometries" processing alg 2018-09-13 16:24:37 +02:00
Alessandro Pasotti
6ecf16e69f [opencl] Fix doxy comment 2018-08-08 13:26:04 +02:00
Alessandro Pasotti
4af52f221c [opencl] Update CMakeList and sipify 2018-08-08 11:18:05 +02:00
Alessandro Pasotti
44adfe53df [opencl] Final rebase before merge 2018-08-08 10:08:14 +02:00
Alessandro Pasotti
e79f6d1a1c Fix documentation for ninecell filters 2018-08-08 09:40:02 +02:00
Alessandro Pasotti
8689c401a2 [opencl] Fix small OpenCL alg issues
From comparison tests with CPU results

+ some minor speed improvements
2018-08-08 09:39:40 +02:00
Alessandro Pasotti
be21ea8e5a Bindings for 9cell filter 2018-08-08 09:38:43 +02:00
Alessandro Pasotti
583c7ae287 More updates for opencl 2018-08-08 09:29:33 +02:00