Alexander Bruy
c3a4b1170a
Merge pull request #6309 from alexbruy/processing-enums
...
[processing] add enums support for fields and feature source parameters
2018-02-11 14:40:33 +02:00
Alexander Bruy
178509347a
[processing] add enums support for fields and feature source parameters
...
(follow up 068d74d5)
2018-02-11 14:05:09 +02:00
Nyall Dawson
367aba1766
Merge pull request #6308 from nyalldawson/multi_out
...
[processing] Add explicit output type for multiple layers
2018-02-11 18:52:22 +11:00
Nyall Dawson
dd3ba34235
Fix ui build warning
2018-02-11 12:44:34 +11:00
Nyall Dawson
db9db58e71
Fix undefined behavior when closing layout designer
2018-02-11 12:44:34 +11:00
Nyall Dawson
414c3a4bfe
Fix unavailable layer inputs for multi-layer inputs set to any map layer type
2018-02-11 11:00:49 +10:00
Nyall Dawson
54a99c27a3
[processing] Add multi layer outputs to Package Layers and Vector Split algorithms
2018-02-11 11:00:33 +10:00
Nyall Dawson
4bcc9df5b4
[processing] Add explicit output type for multiple layers
...
This was a missing capability in the processing API - while algorithms
could declare multiple layer input parameters, there was no corresponding
multi-layer output. This meant that algorithms (such as Package Layers,
Vector Split) which create a set of layers which cannot be determined
in advance had no way to pass these generated layers on for further model
processing steps.
It's also useful for algorithms which operate on a specified folder,
processing all layers found there, and allowing these generated
outputs to be utilised in other model steps (e.g. packaging
all of them, merging them, etc)
2018-02-11 10:57:44 +10:00
Salvatore Larosa
779fe1a91d
set name to feature action when shortName is not available
2018-02-10 12:10:57 +01:00
Nyall Dawson
9ce02ce4cc
Fix windows build warnings
2018-02-10 13:58:14 +11:00
Nyall Dawson
b6ad920404
Show stacktrace in debug when hitting a GEOS exception
2018-02-10 07:08:36 +11:00
Nyall Dawson
9dd81367ec
Don't show group type layers in AFS source select
...
These layers cause an error if you try to add them to QGIS.
TODO: change source select to use a nested tree and correctly
add group layers as a parent for child layers.
2018-02-10 07:08:36 +11:00
Nyall Dawson
d229ec1fa1
Fix qt warning throw by AFS provider due to invalid QString arg usage
...
And make debug message about unsupported field types more useful
2018-02-10 07:08:36 +11:00
Nyall Dawson
8bb297d554
Fix layer id sorting in ArcGIS rest source select dialogs
2018-02-10 07:08:36 +11:00
Nyall Dawson
75d88afbb6
Quieten some overlay debug noisy methods
2018-02-10 07:08:36 +11:00
Alessandro Pasotti
e1876f5392
Merge pull request #6294 from elpaso/bugfix-17845-take2
...
[bugfix] Try harder to fix raster properties color picker
2018-02-09 12:23:20 +01:00
Alessandro Pasotti
6dbd0b950e
[mxe] Better packaging and fix Qt5 plugins path
2018-02-09 12:06:36 +01:00
Nyall Dawson
2ee0bc87ca
Fix incorrect layer type icons for some geopackage layers (e.g. curve types)
2018-02-09 20:28:04 +11:00
Alessandro Pasotti
e435d79d6c
Fixes #17845 tested on Linux KDE and Win 10
2018-02-09 10:23:20 +01:00
Nyall Dawson
8f902e7796
Implement manual locks on QgsSpatialIndex
...
Since libspatialindex is not thread safe on all platforms, and
have expressed desire to remove the thread safety that they DO
have on remaining platforms, it's safer and easier for us
to manually add locks to QgsSpatialIndex and be gauranteed that
this class is thread safe on all platforms and libspatialindex
versions.
Also improve docs for the class.
2018-02-09 20:13:04 +11:00
Nyall Dawson
426c72f28a
Avoid deep copy of spatial index when features are fetched on
...
main thread
2018-02-09 20:13:04 +11:00
Nyall Dawson
50a881360a
Include job preparation time in layer rendering timer
...
This prevents layers which are slow to prepare from rendering
in map preview jobs
2018-02-09 20:13:04 +11:00
Nyall Dawson
2e5d538a7e
Fix memory layers with spatial index crash when rendering
...
Fixes #17705
2018-02-09 20:13:04 +11:00
Nyall Dawson
abcaba857f
Add method to force a detach for QgsSpatialIndex
...
Since the underlying libspatialindex is not thread safe
on some platforms (e.g. Windows), manual calls to detach()
must be made if a QgsSpatialIndex is to be accessed across
multiple threads.
Note that for platforms on which libspatialindex is thread
safe, calling detach() has no effect and does not force the
deep copy.
2018-02-09 20:13:04 +11:00
Nyall Dawson
98d43ea4e8
Fix deep copy of QgsSpatialIndexData
2018-02-09 20:13:04 +11:00
Alessandro Pasotti
2a4ab6b08c
Merge pull request #6292 from elpaso/mxe
...
Scripts for cross build QGIS for windows on Linux with mxe
2018-02-09 10:08:24 +01:00
Juergen E. Fischer
9302613f28
fix #18066
2018-02-09 09:38:04 +01:00
Alexander Bruy
603d2e6364
Merge pull request #6293 from alexbruy/processing-enums
...
[processing] allow enums values to be used in description files
2018-02-09 09:08:05 +02:00
Alexander Bruy
90cc17b934
Merge pull request #6298 from nyalldawson/fix_17231
...
[processing] Allow providers to return a different helpId() vs their unique id()
2018-02-09 09:07:37 +02:00
nirvn
bcb68dda54
[processing] fix batch input selection panel for multiple layers parameter
2018-02-09 14:05:26 +07:00
nirvn
9562b9dad2
[processing] only pass needed raster entries in QgsRasterCalculator constructor
2018-02-09 14:05:26 +07:00
nirvn
5fa5b868f8
[raster calculator] use feedback when reprojecting raster block
2018-02-09 14:05:26 +07:00
nirvn
e27847d383
[processing] make output crs optional in the raster calculator
2018-02-09 14:05:26 +07:00
nirvn
c4874b3161
[processing] use feedback object in raster calculator
2018-02-09 14:05:26 +07:00
nirvn
2ed225d5f4
[processing] ressurect raster calculator and add CRS parameter
2018-02-09 14:05:26 +07:00
Nyall Dawson
f340eecc87
[delimited] Don't reset geometry type from "No geometry" when
...
changing other settings
Fixes #17971
2018-02-09 13:33:55 +11:00
Nyall Dawson
2d1e9188f1
[processing] Allow providers to return a different helpId() vs
...
their unique id()
This is used when generating the QgsHelp url for algorithms
attached to the providers.
Implement helpId overrides for the native and 3d providers so
that they return 'qgis' helpIds, meaning that all QGIS processing
algorithm documentation can be kept within the same url path
regardless of which QGIS provider library it sits within.
This also allows us to freely move algorithms from the Python
'qgis' provider to c++ 'native' provider in future releases
without breaking the help URLs.
Fixes #17231
2018-02-09 11:26:03 +10:00
Nyall Dawson
9da5fd325e
Always save newly created features, even if no attributes are
...
modified in the form popup after feature creation
Fixes #18056
2018-02-09 11:44:48 +11:00
Alessandro Pasotti
4bd385ff39
[mxe] autopep8
2018-02-08 18:28:40 +01:00
Alessandro Pasotti
b817a3f843
[mxe] Fix typos and qt.conf
2018-02-08 18:25:32 +01:00
Alexander Bruy
068d74d51a
[processing] allow enums values to be used in description files
2018-02-08 17:22:20 +02:00
Alessandro Pasotti
1dd6db384f
[mxe] Add install instructions for mxe
2018-02-08 13:38:27 +01:00
Alessandro Pasotti
d19eef0c59
[mxe] Restore build
2018-02-08 13:38:20 +01:00
Alexander Bruy
fcb50a6857
Revert "[processing] throw error if no layers selected in raster calculator"
...
This reverts commit c09c3018035eb7a4f47acbde7f3dae405ba444db.
2018-02-08 13:25:20 +02:00
nirvn
b6ff401452
[raster calc] make use of qgsfilewidget and fix some labels
2018-02-08 17:08:33 +07:00
nirvn
a29d6d27d2
[raster calc] use active layer to setup dialog to harmonize
...
the behavior with that of processing
2018-02-08 17:08:33 +07:00
nirvn
50a103f5b8
[raster calc] use new API to save/restore geometry
2018-02-08 17:08:33 +07:00
nirvn
90e353bc1c
[raster calc] use a monospace font for the expression editor ( fixes #17556 )
2018-02-08 17:08:33 +07:00
nirvn
605bb75876
[raster calc] cancelling the process should cancel the process
2018-02-08 17:08:33 +07:00
Alessandro Pasotti
6eac6ac8cb
[cmake] MXE build changes
2018-02-08 09:30:09 +01:00