Matthias Kuhn
d902575f58
Sipify
2017-04-08 23:42:55 +02:00
Nathan Woodrow
f450b98b26
sip skip on ColumnConfig == for now
...
Fails on Windows build for some reason
2017-04-08 21:59:34 +10:00
Nyall Dawson
bfd37e1122
[sipify] Add return types for functions in docstrings
...
and change \return -> :return: in docystrings
2017-04-08 09:48:48 +10:00
Matthias Kuhn
58d2d6d7f9
sipify_all
2017-04-07 12:26:30 +02:00
Matthias Kuhn
c65f76266c
QgsAttributeEditorElement is an abstrat class
2017-04-07 12:26:30 +02:00
Matthias Kuhn
cd3528a109
Sipification
2017-04-07 12:26:30 +02:00
Matthias Kuhn
f82997c4aa
[sipify] Force newlines after sip commands
2017-04-07 12:26:30 +02:00
Nyall Dawson
69c31a2d71
Always return const algorithms, since algorithms should not be modified
2017-04-07 13:28:42 +10:00
Nyall Dawson
1aa7ca3452
Update sip
2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3
Remove activation control from AlgorithmProvider
...
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
fb1cf1e185
Remove processing algList
...
All functionality has been moved to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5
Move more algList functionality to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
2a1a71574a
Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm
2017-04-07 13:21:28 +10:00
Nyall Dawson
950ed680bd
Don't try to deepcopy QgsProcessingAlgorithm class
2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf
Move provider algorithm handling to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
ca8e1d343d
[sipify] Replace nullptr with None in docstrings
...
Since nullptr has no meaning to Python devs
2017-04-07 09:21:26 +10:00
Nyall Dawson
5ccc6cccef
Update api break docs, sipify QgsRasterFileWriter
2017-04-07 09:21:26 +10:00
Nyall Dawson
110828feab
[FEATURE] Background saving of raster layers
...
Use the task manager framework to handle saving of raster layers
in the background
2017-04-07 08:18:57 +10:00
Mathieu Pellerin
25d9936df8
[OGR] fix feature count issue for OSM datasets ( fixes #16402 ) ( #4322 )
2017-04-06 16:04:48 +07:00
Nyall Dawson
377b181c4e
Port more processing dataobjects methods to c++
...
Also
- simplify and add tests
- remove large memory leak (persistant store of all non-project layers)
- remove broken support for direct loading postgres/virtual layers
by string (Python version was very broken and would never match
a postgres/virtual layer)
2017-04-05 19:50:46 +10:00
Nyall Dawson
8ffdb362cc
Port some processing dataobjects routines to c++
2017-04-05 15:27:17 +10:00
Nyall Dawson
d5f930adad
Allow storing QgsCoordinateReferenceSystem in QVariants
2017-04-05 10:55:36 +10:00
Nyall Dawson
5718abd4e1
Spell check "condtion" -> "condition"
2017-04-05 10:36:04 +10:00
Nyall Dawson
4eeacb8fdf
[sipify] Replace :: with . during doxygen->docstring conversion
...
e.g.
You can use QgsXmlUtils::writeVariant to save it to an XML document
->
You can use QgsXmlUtils.writeVariant to load it from an XML document
2017-04-05 10:32:27 +10:00
Nyall Dawson
d2a242aa95
Move format handling flags to QgsAlgorithmProvider
2017-04-04 08:15:54 +10:00
Nyall Dawson
e40389a41c
Sipify QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
e506ceb1f8
Move flags (hide from toolbox, etc) to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a
Move algorithm group handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2
Move algorithm icon handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
28e75731e1
Move tag handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
52cc002990
Simple c++ base class for processing algorithms
2017-04-03 21:17:45 +10:00
Nyall Dawson
26495dbd81
[processing] Move dataobjects.getSupportedOutputVectorLayerExtensions
...
to QgsVectorFileWriter
2017-04-03 15:41:32 +10:00
Nyall Dawson
e1e1f0d514
Strip \a from doxygen comments in sipify
2017-04-03 13:18:36 +10:00
Nyall Dawson
9b3539ab07
Update sip files
2017-04-03 13:18:36 +10:00
Nyall Dawson
e8ef91ce98
Cleanup QgsRasterDataProvider/QgsRasterLayer progress reporting
...
Instead of progress changed signals on the provider/layer level,
instead use QgsFeedback arguments for methods which previously
emitted progress changed signals
2017-04-03 12:08:08 +10:00
Nyall Dawson
e400ab6249
Allow cancelation of raster stats/histogram operations
2017-04-03 12:08:08 +10:00
Nyall Dawson
d03844d24e
[FEATURE] Allow classifying paletted renderer using unique values
...
from a raster layer
Adds an easy way to style discrete rasters such as landuse classes
using the Paletted renderer. Just select the Paletted renderer,
pick a band, then hit the "Add Unique Values" button. The unique
pixel values will be fetched from the layer and a color assigned
to each using the currently selected color ramp.
Fix #14845
Sponsored by
- Stéphane Henriod
- Satelligence (http://satelligence.com/ )
- Bird's Eye View (https://www.birdseyeviewgis.com/ )
- + other anonymous backers
2017-04-03 12:08:08 +10:00
Nyall Dawson
c8b728a361
No lies!
2017-04-03 12:08:07 +10:00
Nyall Dawson
7eb63d99dc
[FEATURE] Implement saving paletted raster renderer color tables
...
Use the .clr/gdal file format, but add the labels on the ends of
the lines. Seems other importers like ArcMap just ignore these.
2017-04-03 12:07:50 +10:00
Nyall Dawson
d542a1a442
Add method to load paletted renderer classes from file
2017-04-03 12:07:50 +10:00
Nyall Dawson
a6d3af7c26
Add method to read paletted color data from string
2017-04-03 12:07:50 +10:00
Nyall Dawson
93cfde0c09
Enable reordering of paletted raster entries
2017-04-03 12:07:50 +10:00
Nyall Dawson
bfe96214b2
[FEATURE] Add a color ramp combo to paletted raster renderer
...
Allows rapid recoloring of palette to match a color ramp
2017-04-03 12:07:50 +10:00
Nyall Dawson
b7cd9dcb56
Rework paletted raster renderer widget
...
- Switch to a real model
- Allow adding new rows and deleting multiple selected rows
- Allow changing colors inline in style dock (no modal color picker)
2017-04-03 12:07:50 +10:00
Nyall Dawson
a157db7627
Refactor QgsPalettedRasterRenderer to allow "gaps" in pixel values
...
Previously the renderer required that pixel values followed
sequential numerical order. This refactor allows values to
be skipped, so that only certain color index will be rendered.
2017-04-03 12:07:50 +10:00
Matthias Kuhn
beb185a72e
Update sipify to use the "\since" tag
2017-04-03 01:31:44 +02:00
Matthias Kuhn
50ca79ef43
Add some remaining \since tags
2017-04-03 01:28:50 +02:00
Matthias Kuhn
fb91ed7395
Use "\since" instead of "@note added in"
2017-04-03 01:06:33 +02:00
Nyall Dawson
b55e4b9abd
Add qgsi->qgis to spell check
2017-04-03 08:55:07 +10:00