15221 Commits

Author SHA1 Message Date
Alexander Bruy
1d1d2ca703 Revert "[processing] populate batch interface with rows when multiple layers"
This reverts commits f8890d8f047cd2bb934eaad83e1057814927adb5,
f085f5527658c0a81b9a065a6fcee4d654d16bb6 and 5844a0fc906c744327139e137642f0ec97ae240a
2019-05-30 12:05:52 +03:00
Nyall Dawson
7213030ad9 [labeling] Fix missing labels when multilinestring features are used in
conjunction with the "merge connected lines" setting

Refs #12173
2019-05-30 17:27:00 +10:00
Nyall Dawson
788ee78d74 Sip update 2019-05-30 06:28:32 +10:00
Nyall Dawson
dac7259b46 [needs-docs] Rework new project CRS handling
The previous approach was severely broken, because the default
CRS for new projects setting was ignored as soon as a layer
was added to the project.

Instead, refine the setting to add options
- "Use CRS from first layer added": same as previous behavior,
the project CRS is set to match the first layer added to a new
project
- "Use a default CRS": CRS for a new project is set to a preset
default CRS, and is left unchanged when adding layers to the
project

Also update qgis_global_settings.ini to reflect these changes.

Fixes #27516
2019-05-30 06:28:32 +10:00
Alexander Bruy
f8d0ecc7ee [processing] add default value to user filter matrix (fix #29999) 2019-05-29 13:43:18 +03:00
saber
169e246fdc fixes issue with db lock when writing mbtiles 2019-05-27 14:45:16 +02:00
Alessandro Pasotti
3f1ba81b7e Address PR comments (minor changes) 2019-05-27 09:20:34 +02:00
Alessandro Pasotti
564fd50e43 Fix spatialite handling of JSON arrays
Fixes #21986

plus:

- fix multiple string keys with commas in value relation widget
- more robust JSON and array (un)marshalling
- uniform array representation in value relation widgets
- lot of test coverage
- automatic QVariant type conversions in JSON utils
2019-05-27 09:20:34 +02:00
Denis Rouzaud
d7fa0286c4
do not insert layers in embedded groups (#10004)
fixes #29678
2019-05-26 23:25:15 -05:00
Denis Rouzaud
09126ded98
make flashing independent from panning/zooming in attribte table in attribute editor mode (#29955) 2019-05-26 22:21:10 -05:00
Nyall Dawson
85e207897b Add API to retrieve avaiable coordinate operations between a source
and destination QgsCoordinateReferenceSystem on proj >= 6 builds
2019-05-27 08:26:34 +10:00
Nyall Dawson
b4d18f8e0c Mark older datum transform methods as deprecated - they don't work under proj 6 2019-05-27 08:26:34 +10:00
Nyall Dawson
bed77bbfa8 Add method to retrieve underlying PJ object from a QgsCoordinateReferenceSystem
proj 6 only
2019-05-27 08:26:34 +10:00
volaya
943b992ed3 [processing] fixed method name in gui wrapper after API renaming 2019-05-26 01:01:09 +02:00
Alexander Bruy
121a92df7d
Merge pull request #10074 from alexbruy/grass-r-sun
[processing] split GRASS r.sun algorithm into two (fix #21637)
2019-05-25 07:59:19 +03:00
Mathieu Pellerin
a888986567
[needs-docs][processing] Avoid field collision via optional prefix in overlay algorithms (#10092)
Makes for a more predictable collision avoidance, which
can be neccessary for some models.
2019-05-24 19:00:28 +07:00
Alexander Bruy
dc6780a8fd
Merge pull request #10082 from alexbruy/postgis-comment
[db_manager] apply comment to the correct column when altering table column (fix #21425)
2019-05-24 11:32:08 +03:00
Alexander Bruy
e8a74f4537 [processing][needs-docs] allow to switch from batch dialog to single UI
(fix #16893)
2019-05-24 08:51:34 +10:00
volaya
94e13289b8 [processing] do not export sdat files provided as part of a multiple raster input
fixes #22131
2019-05-24 07:32:59 +10:00
Denis Rouzaud
f0f0790777
move QgsHighlight style setting in a static method (#10064) 2019-05-23 07:56:49 -05:00
Alexander Bruy
03abf0e42b [db_manager] apply comment to the correct column when altering table
column (fix #21425)
2019-05-23 15:43:14 +03:00
Alessandro Pasotti
1802c529de
Merge pull request #10077 from elpaso/bugfix-22033-dbmanager-wrong-shp-import
db-manager: Update input layer and table names
2019-05-23 12:04:47 +02:00
volaya
83e6dd3efe [processing] fixed description of SAGA gaussian filter algorithm
Fixes #21797
2019-05-23 11:46:56 +02:00
Alessandro Pasotti
3df7f897f6 db-manager: Update input layer and table names
when selecting an external file

Fixes #22033 - wrong shapefile import
2019-05-23 10:58:01 +02:00
Alessandro Pasotti
d16e693c18
Merge pull request #10063 from elpaso/bugfix-22035-processing-pg-camel-case-schema
Bugfix 22035 processing pg camel case schema
2019-05-23 09:58:02 +02:00
Alexander Bruy
6009070502 update tests 2019-05-23 10:54:16 +03:00
Alessandro Pasotti
bb567cd5b8 Processing importintopostgis: Do not transform table name to lowercase 2019-05-23 09:14:59 +02:00
Alexander Bruy
ab646c4d75 [processing] split r.sun into two algorithms as it has mutually
exclusive options (fix #21637)
2019-05-23 10:13:50 +03:00
nirvn
f9810a4534 [effects] Fix blur radius not taking dpi into account (fixes #14885) 2019-05-23 11:34:15 +07:00
Nyall Dawson
7e78874807 Fix rule based label/symbol renderers reset max scale for rules to
1:100000

And improve dox

Fixes #21845
2019-05-23 12:55:33 +10:00
Alexander Bruy
88647ff5a6 [processing] use correct parent layer parameter in v.net.distance
algorithm (fix #22013)
2019-05-23 09:45:22 +10:00
Alexander Bruy
dd8c5c1611 [processing] move "Split RGB bands" algorithm inside "Raster tools"
group to maintain consistency (fix #21849)
2019-05-23 09:45:05 +10:00
Alexander Bruy
bef58ac6a7 [processing] use correct file extension in r.in.lidar.info (fix #21910) 2019-05-23 09:44:39 +10:00
Alessandro Pasotti
fd4895b9fb processing postgis connector quote indexes names 2019-05-22 18:28:35 +02:00
Alessandro Pasotti
ad24b87601 Add missing error class and quote identifiers
Fixes #22035 - case sensitive schema
2019-05-22 18:15:19 +02:00
Alessandro Pasotti
86f35e8beb
Merge pull request #10047 from elpaso/bugfix-22071-relation-reference-identify-on-map
Fix identify on map in relation reference widget
2019-05-22 11:01:44 +02:00
Nyall Dawson
d8a5dfef06 Add missing dox to QgsRenderContext 2019-05-22 07:12:06 +10:00
Nyall Dawson
e23ceaa806 Mark render features methods as throwing QgsCsException, to allow it to be nicely caught in Python 2019-05-22 07:12:06 +10:00
Nyall Dawson
60deffbfa8 Add method to QgsRasterBlockFeedback to collect error messages
And append raster errors to rendering errors whenever encountered
2019-05-22 03:46:00 +10:00
Alessandro Pasotti
2b14dacd51 Fix identify on map in relation reference widget
Fixes #22071 - Relation reference widget wrong feature when "on map identification"
2019-05-21 19:09:18 +02:00
Nyall Dawson
289e72dc07 Adjust precision of some processing tests to allow them to pass under proj 6 2019-05-21 19:14:55 +10:00
nirvn
20ed28da29 [processing] Move the new XYZ algorithms under the raster tools group 2019-05-21 12:19:20 +07:00
nirvn
7132cf3b2e [ui] Improve UX by adding an original source label when changing / updating layer data source 2019-05-20 14:25:55 +07:00
Juergen E. Fischer
ac5e945742 translation string fixes 2019-05-20 01:05:56 +02:00
Harrissou Sant-anna
94cb85490a Title case the options 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
4c41819eb3 Fix option label for GDAL ADDO resampling method 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
6e5976e640 Title case the resampling options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
bd2fc75f2e [needs-docs] Harmonize display of GDAL build vrt options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
491ca3315f Make data type option translatable in GDAL algorithms dialog 2019-05-20 08:51:38 +10:00
Matthias Kuhn
d03714b0c7 Use SIP_FORCE 2019-05-19 09:47:55 +02:00