55976 Commits

Author SHA1 Message Date
Nyall Dawson
4ff8429f7a [processing] Port "Points along geometry" to QgsFeatureBasedAlgorithm
(and c++), allow distance/start/end offset to be dynamic, avoid
algorithm "hangs" when inappropriately small (or 0) distances
are used
2019-06-12 10:08:51 +07:00
Jorge Gustavo Rocha
38c8e757aa References to issues.qgis.org updated 2019-06-12 00:10:43 +01:00
Nyall Dawson
e0eedc5fa1 [processing] Make batch processing HTML report more useful
Include the input parameter values in the report, otherwise the
results are just a meaningless list of values which can't be
associated with any particular set of inputs

Also correctly handle boolean and other output types
2019-06-12 07:03:57 +10:00
Nyall Dawson
d10db05b5a [processing] Nicer strings, default values for select/extract by attribute 2019-06-12 07:03:30 +10:00
Nyall Dawson
43904df6c4 [processing] Fix exception in select by expression using not equal to operator
Fixes #30135
2019-06-12 07:03:30 +10:00
Nyall Dawson
06a25df107 Write error in red 2019-06-12 07:02:56 +10:00
Nyall Dawson
46f364a431 Use a custom proj error handler to collect descriptive coordinate
operation creation errors, and report these back to users

Because these errors contain useful information for users to debug,
e.g. "Source and target ellipsoid do not belong to the same celestial
body"
2019-06-12 07:02:56 +10:00
Nyall Dawson
d35197f317 Silence some clazy warnings 2019-06-12 07:02:56 +10:00
Nyall Dawson
296bfde4d0 Don't create a provider registry instance only to delete it
Clears up more debugging noise in crssync
2019-06-12 07:02:56 +10:00
Nyall Dawson
5855204581 Silence noisy crssync under proj 6 2019-06-12 07:02:56 +10:00
Nyall Dawson
56f16ace6b Fix unnecessary proj transform construction under proj 6 in certain circumstances 2019-06-12 07:02:56 +10:00
Nyall Dawson
d2961af452 Fix datum transform prompt is not always showing after adding new layers
to a project

Fixes #29306
2019-06-12 07:02:11 +10:00
Matthias Kuhn
2283c97633 Fix takeRubberBand 2019-06-11 21:15:23 +02:00
Matthias Kuhn
635582e89e Use QObjectUniquePtr 2019-06-11 21:14:40 +02:00
Matthias Kuhn
e422aa68e7 RAII 2019-06-11 21:12:19 +02:00
Matthias Kuhn
40b3e82886 Add missing sip file 2019-06-11 21:12:19 +02:00
Matthias Kuhn
ddc93419df Simplify code 2019-06-11 21:12:19 +02:00
Matthias Kuhn
3fcb085c49 Keep rubberband while attribute dialog is open
Fix #30118
2019-06-11 21:12:19 +02:00
Matthias Kuhn
1628f85c9a Code style 2019-06-11 21:12:19 +02:00
Matthias Kuhn
b34539ad6f
Merge pull request #30155 from m-kuhn/qobjectuniqueptr
QObjectUniquePtr
2019-06-11 21:07:34 +02:00
Matthias Kuhn
a9e3950841
Merge pull request #30079 from olivierdalang/fix_cad_graphical_glitches
[cad] fix graphical glitches
2019-06-11 17:38:46 +02:00
Matthias Kuhn
3f136b8920 Use QgsApplication for test 2019-06-11 15:37:59 +02:00
Matthias Kuhn
b55f22119e Add deleteLater test 2019-06-11 11:21:21 +02:00
Alessandro Pasotti
e740688faa
Merge pull request #30151 from elpaso/bugfix-gh30115-value-relation-widget-match-name-if-id-fails
When loading a QLR, try to match the layer name if id does not
2019-06-11 11:20:30 +02:00
Alessandro Pasotti
2d45ba8d68 Move the QgsProject singleton problem one step up 2019-06-11 09:22:31 +02:00
Alessandro Pasotti
6bd5c51dfc Store data provider type and layer source in the widget config 2019-06-11 09:09:48 +02:00
Alessandro Pasotti
fc20e31fa3 Add resolveByIdOrNameOnly and use it (with a test) 2019-06-11 08:50:08 +02:00
Harrissou Sant-anna
502e18fa24 Update tests for gdal warp 2019-06-11 13:43:38 +10:00
Harrissou Sant-anna
1e2b59afc4 Make the target crs optional in gdal warp algorithm [needs-docs] 2019-06-11 13:43:38 +10:00
Matthias Kuhn
0c3540c66a QCompare is not that flexible 2019-06-10 21:06:37 +02:00
Matthias Kuhn
0319476743 Compile fixes 2019-06-10 20:36:30 +02:00
Matthias Kuhn
0bd8df5945 Fix tests and docstrings 2019-06-10 19:52:00 +02:00
Matthias Kuhn
d790ab2a89 Add more tests 2019-06-10 19:31:02 +02:00
Matthias Kuhn
8f598ece69 Add some docstrings 2019-06-10 19:22:56 +02:00
Matthias Kuhn
590f654f3f Add get() and operator bool() to QObjectUniquePointer 2019-06-10 19:19:23 +02:00
Etienne Trimaille
8849cd9886 Fix label Feature request is not applied automatically 2019-06-11 03:02:02 +10:00
Alessandro Pasotti
103ef762ca Factor out generateId for layers and fix QLR mutiple layers id import 2019-06-10 17:58:22 +02:00
Matthias Kuhn
8197e00c7b Add some docs 2019-06-10 17:51:54 +02:00
Matthias Kuhn
01f2ba9e4f Add QObjectUniquePtr 2019-06-10 17:29:02 +02:00
Alessandro Pasotti
a45a82e8d7 Less autos more consts 2019-06-10 15:58:03 +02:00
Alessandro Pasotti
a295701023 ResolveLayer returns a layer instance instead of an ID 2019-06-10 15:39:52 +02:00
Alessandro Pasotti
13099cc4fa
Merge pull request #30137 from elpaso/bugfix-gh30131-postgres-json
Fix json hanlding of bools and complete json(b) PG support
2019-06-10 14:22:14 +02:00
Alessandro Pasotti
f9b50b5b38 Move layer resolver into a static method 2019-06-10 14:10:11 +02:00
Alessandro Pasotti
dcc779a62d Added a test and fix layer config in the wrapper too 2019-06-10 12:32:30 +02:00
Alessandro Pasotti
f02b1ee1d1 When loading a QLR, try to match the layer name if id does not
Fixes #30115
2019-06-10 11:47:19 +02:00
Alessandro Pasotti
ef6dd4ede6
Update src/core/qgsjsonutils.h
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-06-10 11:04:47 +02:00
Alessandro Pasotti
660e451f07 More tests for json values, fix boolean representation 2019-06-10 09:15:00 +02:00
Alessandro Pasotti
114affc549 Handle strings with chars that require escaping 2019-06-10 08:33:16 +02:00
Nyall Dawson
5201151c1c [needs-docs] Reorganise Zoom to Native action to sit next to
other layer-related zoom actions

Instead of sitting next to global map based zoom actions
2019-06-10 14:19:04 +10:00
Nyall Dawson
f00da6170f "Zoom to native resolution" action is a layer-based zoom, so add the
layer rectangle to the background of the icon to give a visual hint of this

Otherwise it's easy to mistake the action as a full map-based action
2019-06-10 14:19:04 +10:00