374 Commits

Author SHA1 Message Date
Alvaro Huarte
3b6ed3bfc8 #8725-R: PostgresProvider simplifies on provider side
PostgresFeatureIterator implements simplification on provider side
2014-01-15 11:00:00 +01:00
Juergen E. Fischer
190c0511bc fix most cppcheck warnings and implement suggestions
also update and sync some sip interfaces
2014-01-05 16:11:36 +01:00
Juergen E. Fischer
1215d0b016 postgres provider:
- fix connection cleanup from threads
- fix disconnection of style functions

fixes #9280 (adapted PR#1051)
2014-01-03 21:01:43 +01:00
Juergen E. Fischer
f665ddc81d indentation update 2013-11-24 16:31:00 +01:00
Juergen E. Fischer
99cee10cf9 postgres: use st_estimatedextent with postgis >= 2.1 (fixes #9011) 2013-11-18 00:39:26 +01:00
Juergen E. Fischer
03a60d3b89 postgres provider: support materialized view (implements #8791) 2013-10-18 11:38:13 +02:00
Matthias Kuhn
0c90f32007 QgsFeatureRequest: New filters FilterExpression and FilterFids 2013-09-18 18:57:52 +01:00
Denis Rouzaud
70841a84f3 [postgres] do not update feature count if it was not set before 2013-09-03 14:56:00 +02:00
Matthias Kuhn
8c4c57b154 [postgres] some more precision/length fixes 2013-08-29 17:36:31 +02:00
Matthias Kuhn
a9c05d77cf Fix some postgres field precision and length inconsistencies 2013-08-29 16:23:02 +02:00
Juergen E. Fischer
6d48f11e57 wfs server: fix multilinestring parsing 2013-07-14 20:30:05 +02:00
Juergen E. Fischer
f203105387 postgres provider: set length and precision of native floating point types to -1 (fixes #8145) 2013-07-09 10:22:28 +02:00
Juergen E. Fischer
4a37805a80 postgres provider: remove attribute in reverse order (fixes #8142) 2013-06-29 18:30:38 +02:00
Matthias Kuhn
55135d6007 const-correctness for QgsGeometry 2013-06-25 12:16:36 +02:00
Juergen E. Fischer
3747c2bb02 vector providers: allow multiple iterators - testing required 2013-06-21 21:35:49 +02:00
Juergen E. Fischer
f990886b61 fix #4470 and #7889 2013-05-25 01:18:24 +02:00
Juergen E. Fischer
65d3535fc5 - Quantum GIS => QGIS update
- integrate PythonConsole help into main translation
- allow referencing QGIS images in context help(viewer)
2013-05-20 16:48:51 +02:00
Matthias Kuhn
5009aad255 [Fix #7806] Be more verbose in "invalid layer" dialog 2013-05-17 14:14:30 +02:00
Juergen E. Fischer
0caf6650c1 postgres provider: fix b85af12c 2013-05-14 14:26:31 +02:00
Juergen E. Fischer
38d63d1acf postgres provider: avoid noise when layer_style table doesn't exist 2013-05-14 11:01:31 +02:00
Juergen E. Fischer
b85af12cdf postgres provider:
- move available table detection to thread
- more progress messages
2013-05-12 23:23:24 +02:00
Juergen E. Fischer
576102b260 reapply some cleanup to 'styles_to_db' 2013-05-09 21:36:52 +02:00
Emilio Loi
a905b55183 Solved errors made using diff tool in last merge 2013-05-09 21:05:34 +02:00
Emilio Loi
1b43de3111 Ask for confirmation before overwrite a layer style 2013-05-09 21:05:16 +02:00
Juergen E. Fischer
d9fe8937b1 more translation string cleanups 2013-05-03 01:22:56 +02:00
Juergen E. Fischer
ea1aaeae01 cleanup style to db:
- add sip bindings to new methods
- table name, sql queries and constants should not be translated
- replace QVector<QString> with QStringList
2013-05-03 00:25:39 +02:00
Juergen E. Fischer
d4542feedf another indention update 2013-05-03 00:25:39 +02:00
Emilio Loi
280922a383 [FEATURE] Load and Save SLD & QML styles to DB
Work done for ARPA Piemonte - Dipartimento Tematico Geologia e Dissesto
2013-04-26 11:56:22 +02:00
Emilio Loi
b4b779cdf4 Merge branch 'master' of git://github.com/qgis/Quantum-GIS into styles_to_db
Conflicts:
	src/ui/qgsvectorlayerpropertiesbase.ui
2013-04-22 12:20:17 +02:00
Emilio Loi
ea382d1af2 Now if style the style already exists on the db it will be updated (Same layer, same style name) 2013-04-17 15:12:45 +02:00
Emilio Loi
6e9de00189 Now also "Restore Default Style" works 2013-04-17 14:38:08 +02:00
Emilio Loi
37e3035a3a Now "Save as Default" button ask where to save the style 2013-04-17 12:50:07 +02:00
Emilio Loi
ef2d5320c8 Added controls on style table consistency and named style validity 2013-04-16 12:17:31 +03:00
Emilio Loi
fcb27d2d4a Loading from db now works. Still missing a lot of controls and info about errors 2013-04-14 12:35:50 +03:00
Emilio Loi
002eb0d537 First attempt to create a load style ui 2013-04-13 17:50:46 +03:00
Emilio Loi
8694c19f23 Now you can add ui files 2013-04-13 16:14:19 +03:00
Juergen E. Fischer
3a7a8972e8 fix #7560 2013-04-13 15:02:17 +02:00
Emilio Loi
4e52a8a355 Added QMenu on loadStyle button with 2 options (load from filesystem, load from db) 2013-04-13 13:03:16 +03:00
Emilio Loi
e21ace654f Added feature to save vector layers styles to postgis (when provider is postgre$ 2013-04-12 19:05:37 +03:00
Emilio Loi
c3bbfeecaa Added feature to save vector layers styles to postgis (when provider is postgres) and load one of them adding a new postgis vector layer 2013-04-12 19:05:37 +03:00
Emilio Loi
41f7418fe2 Added new option for saving styles on db for vector layers with postgres provider 2013-04-12 19:05:37 +03:00
Juergen E. Fischer
04d1611eb4 [FEATURE] allow non-numeric keys in postgres and oracle views 2013-03-31 21:15:07 +02:00
Juergen E. Fischer
2c4ac0807b [FEATURE] attribute editing extension
- allow resetting of fields to NULL by button
- use user defined date formats in forms, identify results and attribute table
- add support for date type in postgres provider
2013-03-13 23:35:07 +01:00
Denis Rouzaud
8176da04f2 added hstore and inet fields to postgres provider 2013-02-21 17:02:40 +01:00
Sandro Santilli
314c783b21 Revert "Enable topological editing on first TopoGeometry layer creation"
This reverts commit edecf385fddd7d166e134023057998612af6ad58.

The correct way to do this is by hooking on the editingStarted slot
(thanks jef for pointing that out)
2013-02-19 12:09:54 +01:00
Sandro Santilli
edecf385fd Enable topological editing on first TopoGeometry layer creation
I'm not sure this is an acceptable behavior, but I'm sure users
do want to edit TopoGeometry layers in a topological way.
The problem with this implementation is that topological editing
is enabled for editing of every layer, not just the TopoGeometry
one.
2013-02-19 11:10:57 +01:00
Larry Shaffer
fbf999190c Update QgsPalLabeling to work with new vector api
- Switch data defined properties from field index- to name-based
- Add routine to migrate properties to new keys:  labeling/dataDefined/[enum name]
- Add QHash containing old-style data provider mapping of index to name for use in properties migration
- Update QgsLabelingGui, QgsMapToolLabel, QgsLabelPropertyDialog to work with name-based properties
2013-02-07 14:49:56 -07:00
Juergen E. Fischer
f00d004104 fix attribute mapping in vector layer import 2013-01-30 23:20:37 +01:00
Martin Dobias
985468e461 Merge remote-tracking branch 'jef/oraclespatial-nva' into new_vector_api
Conflicts:
	doc/TRANSLATORS
	i18n/qgis_de.ts
	src/app/qgisapp.cpp
	src/core/qgis.cpp
	src/core/qgsvectorlayerimport.cpp
	src/providers/oracle/CMakeLists.txt
	src/providers/oracle/qgsoracleprovider.cpp
	src/providers/oracle/qgsoracleprovider.h
2013-01-24 00:45:01 +01:00
Martin Dobias
5f304b34a1 Merge remote-tracking branch 'origin/master' into new_vector_api
Conflicts:
	python/core/qgsvectordataprovider.sip
	src/app/legend/qgslegendlayer.cpp
	src/app/qgisapp.cpp
	src/app/qgsmergeattributesdialog.cpp
	src/core/qgsvectordataprovider.cpp
	src/core/qgsvectordataprovider.h
	src/core/qgsvectorlayer.cpp
	src/gui/qgssearchquerybuilder.cpp
	src/providers/postgres/qgspostgresprovider.cpp
	src/providers/wfs/CMakeLists.txt
2013-01-23 23:46:56 +01:00