Panos Mavrogiorgos
1d8bd004a6
[grass7] Make it easier to subclass "Grass7AlgorithmProvider"
...
After @Nyalldawson suggestion [1], we've implemented a Processing plugin
that exposes a GRASS Addon [2]. In order to do this we had to subclass
`Grass7AlgorithmProvider` and override `createAlgsList()`.
`createAlgsList()` had to be overriden in order to change the
"description folder" location.
Nyall wrote:
> And if you do it right (and only import existing
> processing grass code, minimising the copy/paste of this code), then
> your provider will automatically inherit any future fixes and
> features added to the main grass provider.
With this commit we convert the `descriptionFolder` to a class attribute
and in this way, subclasses of `Grass7AlgorithmProvider` will no longer
have to override `createAlgsList()` and will be able to continue inheriting
future enhancements.
References:
1. https://lists.osgeo.org/pipermail/qgis-developer/2019-February/056155.html
2. 948820b1c0/estimap_recreation_provider.py (L40-59)
2019-02-20 05:41:47 +10:00
Etienne Trimaille
06fab90981
add some optional flags in make_polygon expression
2019-02-20 05:41:26 +10:00
Nyall Dawson
c8a4dff475
Add maximum search distance parameter to QgsSpatialIndex::nearestNeighbor
2019-02-20 05:40:02 +10:00
Nyall Dawson
67374805cb
Mark private dox as private
2019-02-20 05:40:02 +10:00
Nyall Dawson
362ba02ade
When a QgsSpatialIndex is storing feature geometry, then
...
nearestNeighbor search performs an EXACT nearest neighbour search,
instead of just a nearest-neighbour-by-bounding-box search
2019-02-20 05:40:02 +10:00
Nyall Dawson
26555358f9
Add API for QgsSpatialIndex to optionally store feature geometries
...
This potentially avoids a second expensive feature request after
building a spatial index and later needing to re-request features
which match spatial index search.
It's non-default, as it requires the index to store all feature
geometries, so it's more memory expensive.
2019-02-20 05:40:02 +10:00
Nyall Dawson
68b460277e
layer_property expression function should use proper layer metadata
...
for return values where available
...instead of the older, server-specific properties
This affects:
- layer_property(...,'title')
- layer_property(...,'abstract')
- layer_property(...,'keywords')
- layer_property(...,'attribution')
2019-02-20 05:39:30 +10:00
Nyall Dawson
b06f00d01b
Fix dox test
2019-02-20 05:39:04 +10:00
Nyall Dawson
6021683c35
Capitalization
2019-02-20 05:39:04 +10:00
Nyall Dawson
346f33544c
[processing] Expose correct expression context in Refactor fields alg
2019-02-20 05:39:04 +10:00
Nyall Dawson
521ebdc973
[processing] Wrappers built off old API can still take advantage of the full widget context
2019-02-20 05:39:04 +10:00
Nyall Dawson
f620adcbeb
Capitalization
2019-02-20 05:39:04 +10:00
Nyall Dawson
9df7b2a02c
[processing] Correctly expose full expression context to Filter Features algorithm
...
configuration widget in modeler
Allows filters to be built (in the GUI) using context related variables
and functions such as input parameter values, model variables, etc
2019-02-20 05:39:04 +10:00
Nyall Dawson
69c703141e
Auto set algorithm linked to newly created QgsProcessingAlgorithmConfigurationWidget instances
2019-02-20 05:39:04 +10:00
Nyall Dawson
eb335c3973
[processing] Set full context for QgsProcessingAlgorithmConfigurationWidget in modeler config dialogs
2019-02-20 05:39:04 +10:00
Nyall Dawson
24529b1963
[processing] Add API to set contexts for QgsProcessingAlgorithmConfigurationWidgets
2019-02-20 05:39:04 +10:00
Nyall Dawson
892224c62b
Minor refactoring
2019-02-20 05:39:04 +10:00
Juergen E. Fischer
fd15c3e5b6
dwg import: handle wrong hatch interpretation (refs #20392 )
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
d84c34e0b0
dwg import: support nested blocks (refs #20392 )
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
355deb5905
dwg import: fix exception ( fixes #21177 )
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
b8c727f1d2
dwg import: force polyline and hatch/ring continuity
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
e1562a7f13
dwg import: support dxf encoding ( fixes #15999 )
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
f12cac7cb4
dwg import: progress display
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
0f6421df5c
dwg import: use Q_DECLARE_TR_FUNCTIONS in QgsDwgImporter
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
92e7faab66
dwg/dxf import: fix angle and alignment handing of (m)texts
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
6090a932c2
dwg import: less noisy debugging
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
1a96982d3e
dwg import: fix handling of arc and splines in hatches
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
3aa2d9ff9b
dwg import: catch spline misinterpretation ( fixes #20392 )
2019-02-19 19:56:40 +01:00
Juergen E. Fischer
fec20ae0e2
dwg import: less noisy noise reduction
2019-02-19 19:56:40 +01:00
Matthias Kuhn
79490461dd
Merge pull request #9195 from m-kuhn/fix-help-button-group
...
Fix link to drag and drop designer help
2019-02-19 14:08:11 +01:00
Mathieu Pellerin
5297d83cb5
[themes] Slightly adjust padding of push buttons to match tool buttons
2019-02-19 18:49:18 +07:00
Nyall Dawson
e5a416ea11
[processing][gdal] Ensure no filename clashes occur in writeLayerParameterToTextFile
2019-02-19 12:55:15 +10:00
Nyall Dawson
342c093d91
[processing] Use text file for input file list to gdal tile index alg
...
Avoids too long command being generated with many inputs
Fixes #21296
2019-02-19 12:55:15 +10:00
Nyall Dawson
1b228bb67f
Add some missing variable help text
2019-02-19 06:14:10 +10:00
Harrissou Sant-anna
2e6005e832
Update src/app/qgsvectorlayerproperties.cpp
...
Co-Authored-By: m-kuhn <matthias@opengis.ch>
2019-02-18 18:27:05 +01:00
Matthias Kuhn
e19ba77ec5
Add links to all vector layer property pages
...
Also makes the preexisting link work when translation is enabled.
2019-02-18 17:45:22 +01:00
Luigi Pirelli
6872ce7f32
Merge pull request #9194 from wdedulle/master
...
Fix saga algorithm when QgsProcessingParameterMultipleLayers. Fixes #21264
2019-02-18 16:57:49 +01:00
Matthias Kuhn
d7c934001e
Fix link to drag and drop designer help
2019-02-18 16:41:05 +01:00
dulle droid
edbfb0a1df
#21264 bug in saga algorithm python
2019-02-18 16:15:12 +01:00
Alessandro Pasotti
377040a2a6
Merge pull request #9191 from elpaso/bugfix-21259-geomchecker-crash
...
Geom checker plugin: don't crash if feedback is 0x0
2019-02-18 14:15:26 +01:00
Alessandro Pasotti
1f08a061ed
Geom checker plugin: don't crash if feedback is 0x0
...
Fixes #21259
2019-02-18 12:18:58 +01:00
Juergen E. Fischer
13a127e609
remove QgsOgrLayerItem::setCrs (overrided deprecated now unused method)
2019-02-18 11:21:24 +01:00
Juergen E. Fischer
f8e76db19a
translate all ziputils error messages and remove log tags
2019-02-18 11:21:24 +01:00
Matthias Kuhn
9efe4c5f1c
Merge pull request #9174 from pmav99/master
...
Add support for GRASS 76 on Mac
2019-02-18 11:20:07 +01:00
Matthias Kuhn
78d835705e
Merge pull request #9177 from mbernasocchi/master
...
Give more information when errors opening zip happens
2019-02-18 10:16:59 +01:00
Nyall Dawson
5ced04e400
[ogr] Read Geopackage layer identifier and description into QGIS
...
layer metadata automatically
Fixes #21293
2019-02-18 17:56:01 +10:00
Marco Bernasocchi
a643c87ec3
Fix capitalsation
2019-02-18 07:39:56 +01:00
Matthias Kuhn
b711ef01f8
Merge pull request #9184 from cjmayo/xmlpatterns
...
Remove unused Qt5XmlPatterns dependency
2019-02-17 16:35:34 +01:00
Chris Mayo
fb798263b2
Remove unused Qt5XmlPatterns dependency
...
QtXmlPatterns includes were deleted here:
2eb82430bb
Remove code that was never enabled, introduced here:
0f7b405aa7
2019-02-16 20:01:15 +00:00
Alessandro Pasotti
6b7ba0d438
Merge pull request #9179 from elpaso/server-tiny-improvements
...
Server tiny improvements
2019-02-16 08:25:17 +01:00