352 Commits

Author SHA1 Message Date
Even Rouault
965350b3ae DBManager: fix importing a new layer in a GeoPackage (#16295) 2017-04-24 21:41:25 +02:00
Etienne Trimaille
9c832adc51 disable export button if we try to export a raster layer (#4319) 2017-04-07 09:14:36 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a update translation strings 2017-03-05 10:21:24 +01:00
Juergen E. Fischer
ecc5bb508e pep8/pyflakes3 cleanups 2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383 More QgsSettings updates:
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Nyall Dawson
92f03273f5 Correctly use QgsMapCanvas::freeze instead of setRenderFlag 2017-03-01 07:29:35 +10:00
Hugo Mercier
f56e6b9d3e [dbmanager] Fix encoding issues with virtual layers 2017-02-27 10:32:28 +01:00
rldhont
2a77ba76f4 [BUGFIX][DB Manager] Detect query layer like providers do
In postgres provider, a query layer is detected as a table starting with `(` and ending with `)`.
2017-02-02 14:21:42 +01:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
Denis Rouzaud
0a63d1f2c2 [spellcheck] properly look into various cases and add more fixes" 2017-01-16 16:39:20 +01:00
Denis Rouzaud
6c74e4ea5d spelling fixes 2017-01-12 22:01:50 +01:00
Denis Rouzaud
748be8de71 [spelling] replace behaviour by behavior 2017-01-11 11:35:19 +01:00
Harrissou Sant-anna
ef85cdcf83 Replace "eg" by "e.g." or "for example" 2016-12-30 00:03:22 +01:00
DelazJ
828e447991 More spelling fixes
* editation
* definintion
* Unabled
* capitalize QGIS
* replace algs by algorithms
* queryings
* symbo(s)
* missing space after a dot
2016-12-29 01:53:55 +01:00
DelazJ
a56f928f71 Replace unicode by Unicode 2016-12-29 01:46:18 +01:00
Martin Dobias
c49e70ea09 Fix DB manager layer preview after my QgsMapCanvas changes 2016-12-14 00:17:03 +08: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
Hugo Mercier
b7fa5400b6 [db manager] Fix virtual layer uid handling 2016-11-22 16:09:53 +01:00
Martin Dobias
d716640403 Remove usage of legendInterface() from plugins (followup e5f62e49) 2016-11-22 12:23:37 +08:00
aroche
6bfd0fd79e fix exception when selecting string function
just a typo causing an exception when selecting a string function in query builder dialog
2016-11-15 12:13:31 +01:00
Even Rouault
8b1adc5dcd Merge pull request #3635 from arnaud-morvan/processing_postgis_connect
[processing][db_manager] Fix connection to postgis
2016-11-13 18:15:57 +01:00
Nyall Dawson
fd15090521 Update identation 2016-11-08 08:51:22 +10:00
arnaud.morvan@camptocamp.com
9cd39e79dd [db_manager] Fix connection to postgis 2016-11-06 13:29:59 +01:00
Even Rouault
984ec65fcd [DBManager GPKG] Set appropriate icon for line layers 2016-10-27 15:59:57 +02:00
Even Rouault
d0da880b8c [DB Manager] Fix refresh issue when renaming GPKG table, and disable add geometry column button if already one existing 2016-10-25 15:39:27 +02:00
Even Rouault
794c8f3c85 [DB_Manager GPKG] Fix creating and changing default values of columns 2016-10-24 17:41:49 +02:00
Even Rouault
f84826d58d [DB_Manager GPKG] Fix logic inversion in GDAL 1.X vs GDAL 2.X cases 2016-10-24 17:01:58 +02:00
Even Rouault
af236c4ef8 Merge pull request #3628 from rouault/dbmanager_gpkg
[DBManager] Add dedicated GeoPackage plugin
2016-10-24 10:33:03 +02:00
Nyall Dawson
3cc9b5d962 Indentation 2016-10-22 09:03:24 +10:00
Matthias Kuhn
bb225f562b Improve db_manager README 2016-10-20 12:54:54 +02:00
rldhont
010fc7c640 Fix [DB Manager] Allow lowercase field names for homogenize PostGIS Import 2016-10-19 14:35:17 +02:00
rldhont
a9795ad8ea [DB Manager] Allow lowercase field names for homogenize PostGIS Import
PostGIS provider has an option to lowercase field names. This options is available for user in QGIS algorithm ImportIntoPostGIS and not in DB Mananger.

This commit fix it.
2016-10-19 13:03:32 +02:00
Even Rouault
2c1356cd1d [DBManager] Remove geopackage support from spatialite plugin 2016-10-18 20:08:27 +02:00
Even Rouault
3f2866c47a [FEATURE] [DBManager] Add a GeoPackage dedicated plugin 2016-10-18 20:08:27 +02:00
Even Rouault
9786fc00e2 DBManager: python3 fix in create table dialog
The setAutoCompletion() method of QComboBox was deprecated in QT 4 and
has been removed in QT 5. Auto completion is enabled by default.
2016-10-18 13:43:26 +02:00
Matthias Kuhn
576ad138a9 Fix python calls to inexistent methods 2016-10-17 09:31:31 +02:00
nirvn
20d006e101 [db manager] fix spatialite error reporting 2016-10-07 12:07:55 +07:00
nirvn
dab18e7675 [db manager] fix non-spatial import 2016-10-07 11:53:30 +07:00
Sandro Santilli
0348dd5ce7 Force use of estimated metadata upon loading topologies 2016-10-05 12:17:57 +02:00
Juergen E. Fischer
31df84aa6b run 2to3 on source 2016-09-21 23:30:04 +02:00
Mathieu Pellerin
cd1d44be9d [db manager] python3 support (#3512) 2016-09-20 09:34:36 +02:00
Sandro Santilli
91052d5496 Use nullSymbol for label-only layers in topology viewer 2016-09-16 13:41:23 +02:00
Nyall Dawson
fe65063c2b Remove many deprecated methods 2016-09-15 18:34:15 +10:00
Hugo Mercier
5c3a43e286 Fix spatialite access with python3 2016-09-05 13:43:00 +02:00
Nyall Dawson
eba6101357 Fix broken python save/open dialogs under PyQt5
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Even Rouault
8c3537bff2 [DBManager] Fix exception raised when adding a new Spatialite connection
This was accidentaly broken since 1f0fce7852e9f6a27af967d7ac7ee3989dce7b45

Fixes #15274
2016-09-01 20:51:26 +02:00
Juergen E. Fischer
a9464d7c94 db manager: don't consider added layer w/o a dataProvider
(cherry picked from commit 28aa9ebdb75eb099b83a3596b3f3c5c6e5c6f591)
2016-08-30 20:57:00 +02:00
Matthias Kuhn
3aff45cc13 Fix db_manager 2016-08-10 20:36:18 +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