Nyall Dawson
fe78611cf5
Simplify interpolation API
...
Don't require both pixel size and row/col count in constructor,
since we can calculate the pixel size from the extent and row/column
count.
2017-11-03 14:00:07 +10:00
Nyall Dawson
b36dd121d3
Fix build
2017-11-03 11:02:27 +10:00
Nyall Dawson
8631472089
QgsTINInterpolator->QgsTinInterpolator
2017-11-03 10:49:33 +10:00
Nyall Dawson
e94733f22c
Remove redundant interpolation classes
2017-11-03 10:45:36 +10:00
Nyall Dawson
e91ee5b71c
More flexible API for interpolation
...
E.g. adds API support for interpolating by m value
2017-11-03 09:18:45 +10:00
Nyall Dawson
f200d9c89a
Cleanup interpolation code
2017-11-03 07:42:32 +10:00
Nyall Dawson
8a68a410bf
Simplify overly complex code
2017-10-31 16:00:19 +10:00
Nyall Dawson
ab05fe7603
Fix extremely confusing network graph API naming
...
Since names of api calls were backwards to expectations
2017-10-31 16:00:19 +10:00
Nyall Dawson
7455c2f912
More gdal scoped pointer types
2017-10-26 08:12:11 +10:00
Nyall Dawson
e92e20e613
Move native c++ processing algorithms from core library to analysis
...
And split into separate files for each algorithm
2017-10-16 20:10:37 +11:00
Martin Dobias
ca0aa72bf1
[needs-docs] Remove OpenStreetMap integration in analysis lib + app
...
- unmaintained and barely working anymore
- clunky GUI
- not supporting .pbf
- there are other python plugins doing the same thing better
- nobody is using it anymore
https://lists.osgeo.org/pipermail/qgis-developer/2017-October/050103.html
2017-10-13 09:39:47 +02:00
Denis Rouzaud
6e14854f90
[sipify] remove redundant private sections
2017-10-09 09:51:40 +02:00
Nyall Dawson
49b426d951
Make doxygen_space script convert multiline //! comments
...
Because:
- the /** format is much more prevalent throughout QGIS
- sipify works correctly with /**
2017-10-06 07:55:52 +10:00
Nyall Dawson
92af1dacaf
Replace default constructors/destructors with = default
2017-10-01 06:52:14 +10:00
Nyall Dawson
01d34ede9d
Sip sync
2017-09-25 17:12:03 +10:00
Nyall Dawson
9b04589ce7
More missing docs
2017-09-11 21:55:20 +10:00
Nyall Dawson
ea09aa92a3
Remove QgsTransectSample
...
Because:
- it's unused in master, and is more code to maintain
just for possible use by plugins
- it's unmaintained, and has had no work done (beside compilation
fixes) in the recent past
- there's no unit tests or detailed documentation to show
how the class should be used
2017-09-04 09:05:38 +10:00
Nyall Dawson
e6203847d3
Update sip include
2017-08-29 21:46:35 +10:00
Nyall Dawson
9ca57bd62c
Use a QgsFeatureSink instead of path to shapefile in QgsTinInterpolator
...
Instead of just forcing writing the triangulation to a shapefile (boo!)
change the parameter to use a QgsFeatureSink, so that anything
which implements the QgsFeatureSink interface can be used for
storing the triangulation.
2017-08-29 21:46:35 +10:00
Nyall Dawson
eb7ad7aebe
Swap final uses of QProgressDialog in analysis lib to QgsFeedback
2017-08-29 21:46:35 +10:00
Nyall Dawson
04fec09c3e
Remove interpolation internal classes from stable API
...
These classes still need a lot of cleanup (e.g. use of proper
3d geometry classes instead of their own 3d line classes, etc)
and we don't want them locked into the 3.0 API.
Better to remove them from the API and reintroduce them after
they have been cleaned up (in >3.0). They are mostly implementation
details anyway, and unlikely to be used outside of the high
level interpolation classes.
2017-08-29 21:46:35 +10:00
Nyall Dawson
9e962054fe
Exclude MathUtils from sip bindings
...
We don't want these part of stable API - this namespace really shouldn't
exist, as it mostly contains code which is duplicated in other
parts of the API (with better maintained and tested versions).
2017-08-29 21:46:35 +10:00
Nyall Dawson
94987918ef
Rename .cc files to .cpp for consistency
2017-08-29 21:46:35 +10:00
Nyall Dawson
090bb9bba4
Use QgsFeedback instead of QProgressDialog in tin interpolator
2017-08-19 05:05:40 +10:00
Nyall Dawson
356588abf0
Use QgsFeedback in QgsGridFileWriter instead of QProgressDialog
2017-08-19 04:08:04 +10:00
Nyall Dawson
be48f17e2c
Use a QgsFeedback object in QgsRelief instead of QProgressDialog
2017-08-19 00:09:12 +10:00
Nyall Dawson
0227bdc376
Remove QgsGeometryAnalyzer, QgsOverlayAnalyzer, QgsPointSample
...
These classes are unused in the master QGIS code, and are
unmaintained and with no unit tests or other QA, and
have inflexible API (e.g. always requiring writing outputs
to shapefiles)
They all have equivalent algorithms available via Processing
(where the algorithms are unit tested and maintained). We should
be pushing all QGIS api users to use the Processing algorithms
instead.
2017-08-11 04:48:11 +10:00
Alexander Bruy
09bb55a895
initialize QgsFeedback with nullptr by default
2017-07-16 17:02:20 +03:00
Alexander Bruy
f3d42a2cda
[network analysis] use QgsFeedback for progress reporting and
...
cancelation
2017-07-16 14:36:04 +03:00
Alexander Bruy
126a27425a
[network analysis] use QgsFeatureSource instead of QgsVectorLayer in
...
QgsVectorLayerDirector
2017-07-16 14:31:52 +03:00
Nyall Dawson
d9e29b9742
Use QgsFeatureSource instead of QgsVectorLayer for QgsKde
...
Allows generation of heatmaps from feature sources instead
of requiring vector layer inputs
2017-07-13 20:07:33 +10:00
Matthias Kuhn
875a5d6d9d
Merge pull request #4818 from DelazJ/spelling
...
Fix some spelling issues
2017-07-08 10:20:40 +02:00
Nyall Dawson
3601138d2a
Use a feature source instead of vector layer for QgsGeometrySnapper
2017-07-07 09:28:19 +10:00
Harrissou Sant-anna
6fab688298
Use SpatiaLite right spelling when needed
2017-07-07 01:26:38 +02:00
Harrissou Sant-anna
59e9f79658
ok is spelled OK
2017-07-03 08:49:50 +02:00
nirvn
58f6f93cb6
[zonal statistics] add variance statistic
2017-06-29 11:53:04 +07:00
Nyall Dawson
144d733b12
Use a QgsFeedback instead of QProgressBar for QgsNineCellFilter
...
Gives progress reports and allows cancelation of processing
aspect algorithm
2017-06-29 08:03:57 +10:00
Denis Rouzaud
54c6291378
script to write include SIP files
2017-06-28 10:45:51 +02:00
Mathieu Pellerin
a6b14a0b40
[processing] restore zonal statistics (qgis) alg ( #4784 )
2017-06-27 18:09:44 +07:00
Nyall Dawson
2b7b0db747
Allow keyword arguments for all arguments in PyQGIS bindings
...
Previously this was only enabled for optional arguments (i.e.
those with default values). Enabling them for all arguments
allows for more readable PyQGIS code, and there seems no
downside given that we already have this support partly enabled.
The consequence of this change is that when 3.0 API is frozen
the freeze must also include the naming of function arguments,
since that's effectively now part of public API.
2017-06-25 20:07:14 +10:00
Denis Rouzaud
e40f92cc1b
sipify analysis interpolation ( #4757 )
2017-06-22 20:25:19 +02:00
Denis Rouzaud
2bf92f34f3
sipify analysis raster
2017-06-21 12:08:25 +02:00
Denis Rouzaud
537ef07c10
sipify analysis vector
2017-06-21 10:27:23 +02:00
Matthias Kuhn
0f2a49d9b5
Remove Point3D
...
... in favor of QgsPoint
Reference https://github.com/qgis/qgis3.0_api/issues/71
2017-06-03 08:20:30 +02:00
Matthias Kuhn
a9d7630a69
Rename QgsPointV2 to QgsPoint and QgsPoint to QgsPointXY
...
Because 3D coordinates should be the default.
References https://github.com/qgis/qgis3.0_api/issues/36
2017-06-02 19:53:37 +02:00
Etienne Trimaille
b17b36efc9
sipify OSM classes
2017-06-01 14:55:27 +02:00
Nyall Dawson
b2ba450d46
Fix build warning
2017-05-30 08:48:38 +10:00
Denis Rouzaud
88a6d2ba2f
include gdal_version and add private constructor
2017-05-29 13:50:37 +02:00
Etienne Trimaille
9b46d9dd00
sipify
2017-05-29 13:50:37 +02:00
Denis Rouzaud
3d43f639d5
add missing signals
2017-05-04 08:59:45 +02:00