141 Commits

Author SHA1 Message Date
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
DelazJ
0bfd5fbf64 Default srid value to use in new geom column : 0 2014-08-21 13:09:34 +02:00
DelazJ
57c901712a Default srid value to 0 in new table geom column 2014-08-21 13:07:07 +02:00
DelazJ
8164f4b253 set default srid value to 0 in new geom column 2014-08-21 13:05:47 +02:00
Sylvain Maillard
76c1bb5311 fix typos: extra spaces 2014-08-14 14:54:38 +02:00
Juergen E. Fischer
1949fd7585 dbmanager: fix adding views to canvas (fixes #10688) 2014-06-24 18:26:44 +02:00
Juergen E. Fischer
c8375f5a63 debian packaging update: include LICENSE (fixes #8712) 2014-06-22 02:09:06 +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
61dc4debfe db manager: fix import of geometryless files (fixes #8970) 2014-06-12 23:36:13 +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
Jürgen Fischer
0f3158a5fb Merge pull request #1349 from imincik/db_manager_quoteid
db manager: fixed quoting of table name when schema is empty string
2014-05-17 23:54:15 +02:00
Juergen E. Fischer
7c75ffa3b0 spelling fixes 2014-05-17 22:02:03 +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
Salvatore Larosa
d0bf3dbfe1 [db manager] shows vertical scrollbar as needed and set focus to the query editor after clearing 2014-04-28 10:30:36 +02:00
Juergen E. Fischer
480ae45f94 remove QgsMapCanvas.useImageToRender in db_manager (fixes #9942) 2014-03-29 15:40:13 +01:00
Radim Blazek
748ff8b2b9 missing python plugins menu/actions objectName 2014-03-28 13:31:41 +01:00
Juergen E. Fischer
5cd53dd28e dbmanager versioning: use lower case 'sql' language (fixes #9434) 2014-02-18 17:45:20 +01:00
Juergen E. Fischer
57dd8779ac dbmanager: fix 'load as new layer' (fixes #9548) 2014-02-13 00:00:25 +01:00
Martin Dobias
6b74feed5c [db manager] Also removed completer.py file and its imports 2014-02-11 19:26:44 +07:00
Alexander Bruy
83baa914bd [db manager] use QScintilla for SQL window 2014-02-11 13:10:15 +02: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
Sandro Santilli
56bebb193b Pass wkbType and SRID of loaded views to the provider via URI
Slighly speeds up loading of view layers in TopoViewer (#9510).
Unfortunately there's no way to also pass in the Extent, so loading
is still slow.
2014-02-08 17:05:47 +01:00
Sandro Santilli
188b373bad Fix loading of face layers after breaking it with 73b49867
Fix #9510 again
2014-02-08 14:31:29 +01:00
Sandro Santilli
6dd0cbe542 Update TopoViewer style templates to 2.2.0 version
Fix #9512
2014-02-08 14:11:24 +01:00
Sandro Santilli
73b4986747 Speed up topology loading
When loading topology viewer on a PostGIS-2.0+ database, it includes
type and srid typmod in the view layers, avoiding a full scan of
the datasets.

Fix #9510
2014-02-08 12:26:19 +01:00
Juergen E. Fischer
5397dfe538 update qgis.org links 2014-02-07 21:02:11 +01:00
Denis Rouzaud
0ca7316371 DB Manager: remove text under icons 2014-01-15 13:54:35 +01:00
C. Daniel Sanchez R
7050265f38 Patch for issue 8920. 2013-12-27 15:00:20 -05:00
Juergen E. Fischer
a4c365c7cf dbmanager: include materialized views (implements #9127) 2013-12-03 22:21:59 +01:00
Giuseppe Sucameli
5f5cd4cca9 dbmanager: be sure to close db cursors (fix #7679) 2013-10-24 23:26:02 +02:00
Sandro Santilli
24e53f4bfb Replace AlArabiya font family with Sans, more likely to be found 2013-10-07 18:44:48 +02:00
Salvatore Larosa
770feee4f5 fix qml file for directed edge layer in topoviewer plugin 2013-09-22 22:43:54 +02:00
Salvatore Larosa
3ac0759b04 [dbmanager] Replace DropRasterTable func (deprecated) with DROP TABLE: fixes #8521 2013-09-01 12:55:10 +02:00
Salvatore Larosa
86d5ab24ef [dbmanager] small fix for import/export layer UI 2013-09-01 01:02:50 +02:00
Juergen E. Fischer
e8b954537e indentation update 2013-08-25 10:48:41 +02:00
Salvatore Larosa
fc2a4a14fa [dbmanager] skip RuntimeError: fixes #6892 2013-08-22 18:30:33 +02:00
Juergen E. Fischer
40fff7caa1 followup b9b8a039: wthh? 2013-08-20 18:56:03 +02:00
Juergen E. Fischer
b9b8a03905 fix #8488: use QgsMimeDataUtils to decode uris when dropping into db_manager 2013-08-20 17:33:23 +02:00
Salvatore Larosa
1a18fba2f8 [dbmanager] set columns tab as default in edit table widget (before was indexes tab) 2013-08-08 09:38:11 +02:00
Larry Shaffer
3df3463e77 [dbmanager] Add missing InvalidDataException import 2013-08-03 16:17:32 -06:00
Larry Shaffer
e1927522a4 [dbmanager] Fix settings default and Python type for connection with postgis plugin
- Saved connections with empty password raised a QPyNullVariant parameter error due to lack of str default
2013-08-03 16:17:32 -06:00
Larry Shaffer
a773be2837 [dbmanager] Fix non-clickable checkbox in Null column when creating table (on Mac)
- Switch from checkbox delegate to Qt::CheckStateRole for column
- Enable all triggers for table view
2013-08-03 16:17:32 -06:00
Salvatore Larosa
65f9ec7201 [dbmanager] avoid double extension when exports to file a table 2013-08-02 17:37:36 +02:00
Salvatore Larosa
efd84bd022 [dbmanager] set focus to SQL query TextEdit and change to ScrollToPixel the result query area 2013-07-31 23:11:33 +02:00