31 Commits

Author SHA1 Message Date
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02: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
Nyall Dawson
1a2231f10c Rename QGis class to Qgis, for capitalisation consistency 2016-07-21 22:01:38 +10:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Juergen E. Fischer
9db908ccbc GdalTools: new style signals 2016-03-21 17:00:24 +01:00
Alexander Bruy
a4a658a657 restore GdalTools plugin until we will have multithreading support in Processing 2016-03-01 15:57:32 +02:00
Alexander Bruy
5df0ce04e8 [processing] replace fTools and GdalTools plugins with Processing 2016-03-01 15:57:32 +02:00
Juergen E. Fischer
f996c54776 indentation update 2015-10-30 23:30:16 +01:00
Giuseppe Sucameli
22aea3201b [GdalTools] minor changes to ui and code (follow 32be4756) 2015-10-25 16:39:05 +01:00
PedroVenancio
5057f761fa Adds the -crop_to_cutline parameter as optional to fix the gdalwarp deviation described in #4530. Option added to Clipper tool from GdalTools and Processing. It also adds the -tr xres yres parameter to GdalTools Clipper tool. Also get the original raster resolution. 2015-10-23 01:24:08 +01:00
Juergen E. Fischer
b39055b39c indentation update (now including autopep8) 2015-08-22 14:29:41 +02:00
Matthias Kuhn
9fc1b48bf3 Replace str() with unicode() and some PEP 8 2015-08-16 20:58:43 +02:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Juergen E. Fischer
ef56c53cc6 GDAL tools: put tif back to top for save file dialog formats (fixes #11507) 2014-10-29 23:54:44 +01:00
Juergen E. Fischer
e9e1530b16 GdalTools: use int to compare versions (fixes #8323) 2013-07-19 23:10:16 +02:00
Matthias Kuhn
4386860998 [gdaltools] More SIP API update 2013-06-17 15:52:59 +02:00
Etienne Tourigny
edfa0fc09c fixes for gdaltools info and clipper - raster file dialog filters needs fixing 2013-06-03 23:42:12 -03:00
Giuseppe Sucameli
693a1fe860 gdaltools: move clipper dialog on top when the user ends to define a new extent (fix #7783) 2013-05-20 00:52:42 +02:00
Juergen E. Fischer
9721736fd8 remove trailing blanks 2012-12-10 00:12:07 +01:00
Juergen E. Fischer
e7f40bdea4 add more copyrights 2012-10-06 13:32:08 +02:00
Juergen E. Fischer
c25ae5635c even more font propagation 2012-01-26 00:54:56 +01:00
Giuseppe Sucameli
0e5baf4c13 crop to mask layer extent 2011-05-26 11:58:18 +02:00
Alexander Bruy
cd8ecd6a6e add checkbox for "-dstalpha" option in GDALTools Clipper tool 2011-05-22 21:12:04 +03:00
brushtyler
8a3a5a528d avoid changes of the input layer when layers in canvas changed
git-svn-id: http://svn.osgeo.org/qgis/trunk@15713 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-15 18:30:10 +00:00
brushtyler
adbcbcbb76 add cutline option to clipper to fix #3066
git-svn-id: http://svn.osgeo.org/qgis/trunk@15712 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-15 17:58:00 +00:00
brushtyler
4d3cdecac8 fixed #3662 and #3663
git-svn-id: http://svn.osgeo.org/qgis/trunk@15698 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-13 22:15:37 +00:00
brushtyler
351703b2a2 fixed bug in gdaltools clipper
git-svn-id: http://svn.osgeo.org/qgis/trunk@15556 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-22 00:04:36 +00:00
brushtyler
6d06ec30b3 make gdaltools clipper working with the raster provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@15470 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-13 23:46:37 +00:00
brushtyler
6129ea5086 fixed #3449 making sure the clipping result has the layers order as in TOC
git-svn-id: http://svn.osgeo.org/qgis/trunk@15125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-03 23:18:42 +00:00
brushtyler
1650e86b10 define extent for grid analisys, to fix #3332
git-svn-id: http://svn.osgeo.org/qgis/trunk@14976 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-27 16:55:17 +00:00
brushtyler
9e19090f10 added GdalTools plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@13639 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-04 00:31:48 +00:00