95 Commits

Author SHA1 Message Date
DelazJ
c301369ebe Replace cellsize by cell size 2016-12-29 01:46:17 +01:00
Martin Dobias
d56a97d4fe Merge QgsMapLayerRegistry into QgsProject
All methods/signals of QgsMapLayerRegistry moved verbatim to QgsProject.
2016-12-10 15:18:12 +08:00
Nyall Dawson
0484769b7d [processing] Use subprocess.DEVNULL instead of open(os.devnull) 2016-11-07 12:13:18 +10:00
Nyall Dawson
6a99017bf0 [processing] Use with ... when opening files 2016-11-07 11:36:38 +10:00
arnaud.morvan@camptocamp.com
4184934b9a [processing] Apply 2to3 on changes 2016-10-05 12:39:01 +02:00
volaya
efd73a491f [processing] fixes for new parameters architecture
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
rldhont
37951baf45 [Processing] Uses os.path.join instead of + os.sep + (#3552) 2016-10-01 08:35:56 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Alexander Bruy
65db336eaf [processing] move some constants to the dataobjects module 2016-09-02 09:28:45 +03:00
Matthias Kuhn
bb79d13e82 Remove deprecated Qgis::WKBType and API cleanup (#3325)
* Remove deprecated Qgis::WKBType and API cleanup

Renames QgsWKBTypes to QgsWkbTypes

Replaces usage of the enums:

* Qgis::WKBType with QgsWkbTypes::Type
* Qgis::GeometryType with QgsWkbTypes::GeometryType

Their values should be forward compatible (a fact that was already
explited up to now by casting between the types)

Renames some SSLxxx to SslXxx and URIxxx to UriXxx

* Fix build warnings and simplify type handling

* Add a fixer to rewrite imports

* The forgotten rebase conflictThe forgotten rebase conflicts

* QgsDataSourcURI > QgsDataSourceUri

* QgsWKBTypes > QgsWkbTypes

* Qgis.WKBGeom > QgsWkbTypes.Geom

* Further python fixes

* Guess what... Qgis::wkbDimensions != QgsWkbTypes::wkbDimensions

* Fix tests

* Python 3 updates

* [travis] pull request caching cannot be disabled

so at least use it in r/w mode

* Fix python3 print in plugins
2016-08-04 09:10:08 +02:00
Juergen E. Fischer
3a91d92d56 translation string fixes 2016-06-15 11:43:57 +02:00
Juergen E. Fischer
e07986009f more typo fixes 2016-06-02 22:36:32 +02:00
Alexander Bruy
b312235b5f fix indentation 2016-06-02 16:52:24 +03:00
volaya
568ddb349a [processing] fixed wrong indentation 2016-06-02 16:52:24 +03:00
volaya
d46f98d4e5 [processing] lidar tools update
changes by Martin Isenburg
2016-06-02 16:52:24 +03:00
volaya
b38be6f725 [processing] made lastools additional parameters optional 2016-05-27 11:31:54 +02:00
Matthias Kuhn
abfd7740bd Fix qgis.PyQt compatibility imports 2016-04-29 14:10:41 +02:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Alexander Bruy
abda90fe0d [processing] filter items in toolbox using translated and original names (fix #13764) 2016-04-11 15:57:22 +03:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Juergen E. Fischer
c6d921729e python fixes:
* issues identified by pyflakes (star and unused imports)
* pyqtwrapper: add QtSvg
* some exceptions e.message => unicode(e)
* some translations tr("..." % foo) => tr("...") % foo
* TODO:
  python/console/console_sci.py:547 QsciScintillaCompat?
  python/plugins/db_manager/dlg_query_builder.py:304 pop_up_error?
2016-03-15 17:25:23 +01:00
Juergen E. Fischer
fb3fcfa3a0 Python3/Qt5/2to3 updates:
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Juergen E. Fischer
796b8bdf6e spelling updates 2016-02-29 10:02:00 +01:00
Nyall Dawson
9aabc289ec Indentation 2016-02-28 13:05:51 +11:00
Alexander Bruy
6800c8d9da indentation 2016-02-27 14:50:55 +02:00
Alexander Bruy
8125f61e21 indentation 2016-02-27 14:05:39 +02:00
Alexander Bruy
e289415325 [processing] new Fusion algs: ImageCreate and IntensityImage 2016-02-27 13:21:07 +02:00
Nyall Dawson
d0e595f85f Indentation 2016-02-12 20:54:25 +11:00
Alexander Bruy
8ba6149d7c [processing] make DTM2ASCII tool visible in toolbox 2016-02-11 19:45:45 +02:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
Nyall Dawson
4aafed8366 Indentation 2016-01-28 20:51:22 +11:00
volaya
7af58516bc [processing] fixed group names in lidar provider 2016-01-28 10:15:00 +01:00
volaya
73bef58470 [processing] correctly initialize lastools settings before loading algs 2016-01-25 10:12:04 +01:00
Nyall Dawson
4fb6b67bf9 astyle fix 2016-01-22 06:57:35 +11:00
volaya
eeb5daea3c [processing] updated lidar provider
forgot to add this change in a previous commit
2016-01-21 09:03:52 +01:00
volaya
858dbd2d1f [processing]do not show option for wine folder if running windows 2016-01-21 09:01:26 +01:00
volaya
a53ba16934 Merge pull request #2451 from spono/patch-5
[Processing] Update GridMetrics.py
2015-12-15 08:14:43 +01:00
volaya
9c0ee36c49 Merge pull request #2469 from spono/patch-13
[Processing] Update FilterData.py
2015-12-15 08:14:10 +01:00
volaya
7f3cc35b10 Merge pull request #2467 from spono/patch-11
[Processing] Update Cover.py
2015-12-15 08:10:57 +01:00
Alexander Bruy
584771e907 fix missed import in the Processing alg 2015-12-07 10:12:21 +02:00
Juergen E. Fischer
60ad6887c2 indentation update 2015-12-04 22:52:31 +01:00
volaya
6f26d9aeb0 Merge pull request #2514 from spono/patch-14
[Processing] Update CanopyModel.py
2015-12-03 09:54:00 +01:00
volaya
85cc1807df Merge pull request #2468 from spono/patch-12
[processing] Update ClipData.py
2015-12-03 09:53:09 +01:00
volaya
bbde581457 Merge pull request #2466 from spono/patch-10
[processing] Update GroundFilter.py
2015-12-03 09:52:03 +01:00
Nic
ec9f086222 Update CanopyModel.py
fixed some syntax errors and added an output option (ASCII)
2015-11-30 10:14:46 +01:00
Juergen E. Fischer
079029e354 indentation update 2015-11-29 17:04:56 +01:00
Nic
dd8826f372 Update GroundFilter.py 2015-11-27 15:16:48 +01:00
Nic
c622457fc5 Update ClipData.py
subprocess lines deleted because obsolete
2015-11-27 11:08:05 +01:00
Nic
41538e6dec Update FilterData.py
subprocess lines deleted and fixed syntax error
2015-11-27 11:02:12 +01:00
volaya
4b853bfa40 Merge pull request #2472 from spono/patch-8
[Processing] Update TinSurfaceCreate.py
2015-11-27 08:23:56 +01:00