103 Commits

Author SHA1 Message Date
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
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
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
Juergen E. Fischer
aa7c428775 QgsCredentials: fix sip bindings
dbmanager: QgsCredentials is in core (fixes #8345)
2013-07-22 18:06:29 +02:00
Juergen E. Fischer
3b6146fc9c dbmanager: fix column renaming 2013-07-10 15:21:20 +02:00
Matthias Kuhn
8dc28f2be4 PostgreSQL not working in DB Manager (Fix #8191) 2013-06-28 17:34:12 +02:00
Giuseppe Sucameli
49970b0413 DBManager: more SIP API update (fix #8132) 2013-06-23 00:03:26 +02:00
Salvatore Larosa
8cd8969a14 [DB Manager] fix for PostGIS Raster Layer 2013-06-11 14:21:59 +02:00
Juergen E. Fischer
f0c605e0fa dbmanager: add i18n 2013-06-09 18:51:47 +02:00
Giuseppe Sucameli
80b5a07e55 DBManager: updated to new SIP API 2013-06-04 07:20:54 +02:00
Giuseppe Sucameli
f5aef0f549 DBManager: better handle for not supported constraint types (fix #7544) 2013-05-27 02:01:30 +02:00
Sandro Santilli
a9ff3cfccd Quality topology layer names
... so you can recognize them in the snapping option dialog
2013-01-08 16:18:41 +01:00
Sandro Santilli
103942391d Mark topology group visibility off
This is really a workaround to http://hub.qgis.org/issues/6938
2013-01-02 14:32:55 +01:00
Sandro Santilli
2b80d638b1 Reorganize topoviewer layers into subgroups 2013-01-01 14:08:25 +01:00
Alexander Bruy
e742d5e63e fix python plugins after API cleanup 2012-12-24 11:48:08 +02:00
Sandro Santilli
c87f9c574c Add QgsAppLegendInterface::setLayerExpanded method
.. and use it from the db_manager plugin
2012-12-17 21:53:25 +01:00
Sandro Santilli
051fe31e22 TopoViewer: make topology group start as collapsed 2012-12-14 20:15:27 +01:00
Giuseppe Sucameli
c203990ceb fix #6842 2012-12-10 01:32:31 +01:00
Juergen E. Fischer
9721736fd8 remove trailing blanks 2012-12-10 00:12:07 +01:00
Sandro Santilli
9dd4a92524 Properly encode direction symbols in style templates (#6812)
NOTE: this commit does NOT fix the project save operation,
      but only an output of that operation
2012-12-03 15:42:29 +01:00
Giuseppe Sucameli
3542b0897d dbmanager: fix #5812,
move PG informations to postgis/info_model.py
2012-11-29 01:16:33 +01:00
Giuseppe Sucameli
796a15ac9d dbmanager: use a default value for varchar limit (follow a4484b217ed) 2012-11-29 01:16:32 +01:00
Sandro Santilli
3f4f5f0215 Set max number of labels to 100 for edge label layer (topoviewer) 2012-11-14 23:19:51 +01:00
Sandro Santilli
a4e621d924 Limit max number of node labels to 100, and candidate positions to 1
Also set layer transparency to 100% (there's a separate layer with the dots)
2012-11-14 23:03:01 +01:00
Sandro Santilli
98658ef29b Use ASCII direction arrows 2012-11-12 21:48:20 +01:00
Sandro Santilli
4195eaf72a TopoViewer: add direction symbol for "next_right_edge" layer 2012-11-12 18:16:02 +01:00
Sandro Santilli
1dacbd63fe Fix next edge label direction arrows
Basically uses direction indicator for the next_left but omits
it for the next_right (would require backward direction)

Also this commit sets the line color, even if fully transparent,
for the sake of showing a color which corresponds to the label
color (would be better to have support for a "label" kind of icon
in the legend..)
2012-11-08 23:13:40 +01:00
Sandro Santilli
8414ff909d Split edge layer into "edge" and "edge label"
Mind you: you may need to re-run cmake as a filename changed
2012-11-08 19:33:29 +01:00
Sandro Santilli
b5a12d3a7d Split node layer into "node" and "node label" 2012-11-08 01:17:31 +01:00
Sandro Santilli
44753cbc3b Fix layer visibility settings 2012-11-07 23:14:21 +01:00
Sandro Santilli
cd69be6e1d Start all topology layers as invisible (it may cost really a lot to visualize...) 2012-11-05 11:10:09 +01:00
Sandro Santilli
bbedc4e00f TopoViewer: add layer for full faces 2012-11-01 17:44:39 +01:00
Sandro Santilli
a5553b7e54 TopoViewer: only use queries for layers when really needed 2012-11-01 17:44:39 +01:00
Sandro Santilli
8ca2236134 Add a PLUGIN_INSTALL cmake macro and use it from db_manager plugin
One step forward toward closing http://hub.qgis.org/issues/5879
Next all pugins should be converted to use of the macro...
2012-10-20 01:17:37 +02:00
Giuseppe Sucameli
e9907cdf25 refresh the canvas at the end of the process,
handle unicode strings,
escape sql ids and strings,
fix minor errors
2012-10-09 13:40:04 +02:00
Giuseppe Sucameli
0796871efc Merge pull request #281 from strk/db_manager_addlayer
dbmananger topoviewer: addlayer instead of creating a new project
2012-10-09 13:39:29 +02:00
Giuseppe Sucameli
1796178e74 dbmanager: delete auto-generated files 2012-10-09 12:49:32 +02:00
Sandro Santilli
cb2230e3d1 Install style templates 2012-10-08 23:38:37 +02:00
Sandro Santilli
2e74722fb3 Add topoview layers to existing project 2012-10-08 15:49:45 +02:00
Juergen E. Fischer
e7f40bdea4 add more copyrights 2012-10-06 13:32:08 +02:00
Giuseppe Sucameli
99876ccb45 db_manager: get fields' size from formatted type string (fix #6402) 2012-10-03 01:25:35 +02:00
Giuseppe Sucameli
bcb038504e identifiers (schemas, tables, fields) added to DBManager sql windows completer list.
Thanks Silvio Grosso for the sponsorship.
2012-08-27 17:17:45 +02:00