Juergen E. Fischer
53c84915e9
indentation update
2015-09-06 01:24:09 +02:00
Giuseppe Sucameli
80a13e3852
[DBManager] fix add new SL/GPKG connection from "New connection" context menu entry
2015-09-04 00:32:49 +02:00
Giuseppe Sucameli
03916d549a
[DBManager] add SL/Geopackage connection by drag&drop (follow b11f67b4f5), improve GPKG support:
...
- recognize tables with geometry,
- load GPGK layers to canvas from context menu,
- disable table editing
2015-09-03 01:22:54 +02:00
Giuseppe Sucameli
a2ce73aec0
[DBManager] retrieve and store columns not null value when editing table ( fix #13089 )
2015-08-25 00:46:28 +02: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
Matthias Kuhn
d32f3340ae
Fix typo
2015-08-12 21:38:14 +02:00
Juergen E. Fischer
4984cae78d
db_manager: enable oracle plugin only when oracle support is available
2015-07-26 18:58:57 +02:00
Juergen E. Fischer
b165875fa6
spelling fixes
2015-07-26 14:39:30 +02:00
Médéric RIBREUX
bda76e5750
Fix CMakelist for oracle
2015-07-25 16:51:38 +02:00
Médéric RIBREUX
3768d04d3d
Oracle Spatial support for DBManager
2015-07-25 16:31:11 +02:00
Juergen E. Fischer
48e4fb85c8
Revert "use triple quoting with st_estimatedextent in postgres provider and db_manager ( fixes #12478 )"
...
As it seems to address a meanwhile reverted behavior change in PostGIS 2.1
before it was released (see also https://trac.osgeo.org/postgis/ticket/2834 ).
This reverts commit 048aff01bb9cf42e2c1c17eb0ddbd81537443e19.
2015-07-13 11:15:40 +02:00
Juergen E. Fischer
a6c3de3047
db_manager: properly parse sqlite version (followup 5b86e38)
2015-07-11 23:42:46 +02:00
Juergen E. Fischer
5b86e38676
db_manager: only try isgpkg on spatialite plugin and sqlite version parsing
2015-07-11 23:24:13 +02:00
Sandro Santilli
b9b6257eb7
DBManager TopoViewer: zoom on topology if first load
...
Fixes #13064
2015-07-02 23:57:54 +02:00
Sandro Santilli
fcc51bcd8c
DBManager topoviewer: don't be fooled by srid=-1 in topology.topology
...
Fixes #12802
2015-07-02 11:02:04 +02:00
Cedric Christen
4420b3bf99
Drag&Drop support for GeoPackage layers
2015-06-26 16:35:31 +02:00
Juergen E. Fischer
048aff01bb
use triple quoting with st_estimatedextent in postgres provider and db_manager ( fixes #12478 )
2015-06-24 18:08:26 +02:00
Hugo Mercier
2e86d54b27
Merge pull request #2025 from mhugo/db_manager_dev
...
db manager SQL window enhancements
2015-05-25 16:29:40 +02:00
radosuav
27f1d9fb3e
Fix drag & drop for PG rasters in DB Manager
2015-05-19 14:56:17 +02:00
Hugo Mercier
e440dee1bd
[DBManager] Add a 'create view' button
2015-05-04 17:19:21 +02:00
Hugo Mercier
4876e7a2be
[DBManager] Integrate QSpatialite's query builder
2015-05-04 17:19:09 +02:00
Hugo Mercier
d684c8c749
[DBManager] Allow to load a layer without primary key
2015-05-04 17:19:03 +02:00
Juergen E. Fischer
12d7cfca03
indentation update
2015-04-07 14:27:39 +02:00
Juergen E. Fischer
be12c19e66
db manager: fix setting of contrast enhancement for spatialite rasters ( fixes #12497 )
2015-04-04 23:38:14 +02:00
Nathan Woodrow
297a94fc58
Fix formatting of db manager python code
2015-03-21 20:35:29 +10:00
Juergen E. Fischer
ca459ee4e8
dbmanager: fix import (followup 956c155e8f)
2015-02-02 12:23:18 +01: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
62b2c1fcab
db manager: request credentials directly when connection failed ( fixes #11886 )
2015-01-25 00:33:35 +01:00
Giuseppe Sucameli
46da379c48
Merge pull request #1705 from marcel-dancak/db_manager-spatialite-index-tables
...
db_manager: do not display index tables when browsing SpatiaLite databases
2014-12-29 22:53:45 +01:00
Anita Graser
09400d15d8
small grammar fix
2014-12-21 10:52:46 +01:00
Juergen E. Fischer
f8f7842108
db_manager: fix error message on table vacuum
2014-12-03 16:18:32 +01:00
Marcel Dancak
b9f8176e66
db_manager: do not display index tables when browsing SpatiaLite databases
2014-11-28 10:12:26 +01:00
Sandro Santilli
93864ce55c
Remove workaround for layergroup bug #6938 , now fixed
2014-10-21 12:42:42 +02:00
Sandro Santilli
1ff2ad3cc3
[TopoViewer] fix layer visibility after QgsLegendInterface API changes
...
It was broken with 2.4, whereas QgsLegendInterface::moveLayer started
forcing layer visibility on (undocumented behaviour).
Fixes #11382
2014-10-14 23:43:40 +02:00
Salvatore Larosa
a778e265a7
[dbmanager] followp 1646f67: fixes some string and changes more messageboxes
2014-09-26 07:18:19 +10:00
Salvatore Larosa
5fc78bfe59
[dbmanager] messagebox => messagebar
2014-09-26 07:18:19 +10:00
Sandro Santilli
dd78876636
Allow loading pgraster tables with non-default raster field name
...
Before this change you could only load tables where the raster
field was named "rast".
2014-09-04 13:14:39 +02:00
Sandro Santilli
e91141cb2a
Allow loading PostGIS Rasters from partially configured connections
...
Partially configured connection are those for which an hostname
or username or port etc. are not specified, relying on libpq defaults.
It was already fixed for geometries but rasters needed more love.
See #9037 .
2014-09-04 12:36:59 +02:00
Juergen E. Fischer
1949fd7585
dbmanager: fix adding views to canvas ( fixes #10688 )
2014-06-24 18:26:44 +02:00
Sandro Santilli
39b3e5fa10
Allow db_manager use of connections with no parameters
...
Fixes 'Error: database "" does not exist' message.
Closes bug #9037
2014-06-16 12:06:18 +02:00
Juergen E. Fischer
85ce67624c
db_mananger: fix loading geometryless tables ( fixes #10566 )
2014-06-12 17:32:56 +02:00
Juergen E. Fischer
272ac2ec55
db_manager: replace toPyObject() (old sip api; fixes #9991 )
2014-06-01 15:36:17 +02:00
Giuseppe Sucameli
d522059524
Merge pull request #1348 from imincik/db_manager_connection_holding
...
db manager: fix connection holding - idle in transaction (QGIS bug #7162...
2014-05-19 12:31:58 +02:00
Ivan Mincik
90e4a5fd18
db manager: fixed quoting of table name when schema is empty string
2014-05-13 16:26:15 +02:00
Ivan Mincik
0d3e5e4b07
db manager: fix connection holding - idle in transaction (QGIS bug #7162 )
2014-05-13 14:29:14 +02:00
Juergen E. Fischer
5cd53dd28e
dbmanager versioning: use lower case 'sql' language ( fixes #9434 )
2014-02-18 17:45:20 +01:00
Sandro Santilli
0d4968c80a
Fix type of "face_seed" layer in TopoViewer
2014-02-09 21:42:12 +01:00
Juergen E. Fischer
780443e200
indentation update
2014-02-09 11:26:56 +01:00
Sandro Santilli
02409e9901
Pass extent of loaded views to the provider via URI
...
Completes the speed up loading of view layers in TopoViewer.
Finally and definitely fixes #9510 .
NOTE: the commit also adds a layer for face's MBR, which serves
the purpose (among others) to allow for easy computing extent.
2014-02-08 19:25:04 +01:00