387 Commits

Author SHA1 Message Date
Juergen E. Fischer
38e694713a allow setting geometry empty in postgres and spatialite provider (applies PR#1343) 2014-05-09 14:31:10 +02:00
Juergen E. Fischer
6d5df6b8fd postgres provider: retrieve srs from postgis 2014-05-06 00:05:57 +02:00
Juergen E. Fischer
18ac13c922 postgres provider: fix lookup of aliased columns 2014-05-05 21:14:54 +02:00
Carl Simonson
665f0a32fe Replace WFlags with WindowFlags
It has long been in Qt 4 that the WFlags window flags argument has been
renamed to WindowFlags. In fact, WFlags is just a typedef to WindowFlags.
In Qt 5, this will go away, so we can change this now to make transition
easier in the future.

This should not have any affect on API or ABI, as the symbol names already
have WindowFlags in them anyway.

This change concentrates on the sources in the src directory. There are
a few more places in the python directory that can be done later.
2014-03-27 10:43:11 +01:00
Nyall Dawson
013f9e96a2 Make PostGIS provider correctly use time and datetime formats, instead of converting them to character 2014-03-26 09:12:51 +11:00
Nyall Dawson
748d261d21 [processing] Add option for converting field names to lowercase for Import to PostGIS algorithm 2014-03-25 14:00:57 +11:00
Juergen E. Fischer
5a25570b7e indentation update 2014-02-23 23:27:03 +01:00
Martin Dobias
a3af93394e Merge branch 'master' into threading-revival
Some features are still disabled - will be fixed later

Conflicts:
	python/core/composer/qgscomposition.sip
	python/core/diagram/qgsdiagram.sip
	python/core/diagram/qgshistogramdiagram.sip
	python/core/diagram/qgspiediagram.sip
	python/core/diagram/qgstextdiagram.sip
	python/core/qgsdiagramrendererv2.sip
	python/core/qgsfield.sip
	python/core/qgslabelsearchtree.sip
	python/core/qgsmaprenderer.sip
	python/core/qgsrenderchecker.sip
	python/core/symbology-ng/qgssymbollayerv2.sip
	python/gui/qgsmapcanvas.sip
	src/app/composer/qgscomposerlegendwidget.cpp
	src/app/qgisapp.cpp
	src/core/composer/qgsatlascomposition.cpp
	src/core/composer/qgscomposerattributetable.cpp
	src/core/composer/qgscomposermap.cpp
	src/core/composer/qgscomposition.cpp
	src/core/composer/qgscomposition.h
	src/core/diagram/qgsdiagram.h
	src/core/diagram/qgshistogramdiagram.cpp
	src/core/diagram/qgshistogramdiagram.h
	src/core/diagram/qgspiediagram.cpp
	src/core/diagram/qgspiediagram.h
	src/core/diagram/qgstextdiagram.cpp
	src/core/diagram/qgstextdiagram.h
	src/core/qgsdiagramrendererv2.cpp
	src/core/qgsdiagramrendererv2.h
	src/core/qgsmaprenderer.cpp
	src/core/qgsmaprenderer.h
	src/core/qgsnetworkaccessmanager.h
	src/core/qgspallabeling.cpp
	src/core/qgsrenderchecker.h
	src/core/qgsvectorlayer.cpp
	src/core/qgsvectorlayer.h
	src/core/qgsvectorlayerfeatureiterator.cpp
	src/core/qgsvectorlayerfeatureiterator.h
	src/core/raster/qgsrasterlayer.cpp
	src/core/symbology-ng/qgscategorizedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
	src/core/symbology-ng/qgsmarkersymbollayerv2.cpp
	src/core/symbology-ng/qgssinglesymbolrendererv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.cpp
	src/core/symbology-ng/qgssymbollayerv2.h
	src/core/symbology-ng/qgssymbolv2.cpp
	src/gui/qgshighlight.cpp
	src/gui/qgsmapcanvas.cpp
	src/gui/qgsmapcanvas.h
	src/gui/qgsmapcanvasitem.cpp
	src/gui/qgsmaptoolidentify.cpp
	src/plugins/georeferencer/qgsgeorefplugingui.cpp
	src/providers/memory/qgsmemoryfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.cpp
	src/providers/ogr/qgsogrfeatureiterator.h
	src/providers/ogr/qgsogrprovider.cpp
	src/providers/oracle/qgsoraclefeatureiterator.cpp
	src/providers/oracle/qgsoracleprovider.cpp
	src/providers/postgres/qgspostgresconn.cpp
	src/providers/postgres/qgspostgresfeatureiterator.cpp
	src/providers/postgres/qgspostgresfeatureiterator.h
	src/providers/wfs/qgswfsfeatureiterator.cpp
	src/providers/wms/qgswmsprovider.cpp
	src/providers/wms/qgswmsprovider.h
	src/ui/qgsoptionsbase.ui
	tests/src/core/CMakeLists.txt
	tests/src/core/testqgscomposereffects.cpp
	tests/src/core/testqgscomposerhtml.cpp
	tests/src/core/testqgscomposerscalebar.cpp
	tests/src/core/testqgscomposershapes.cpp
2014-02-18 11:28:46 +07:00
Juergen E. Fischer
24b3ed171b postgres provider: fix detection of character fields (related to #8481) 2014-02-17 02:07:02 +01:00
Juergen E. Fischer
780443e200 indentation update 2014-02-09 11:26:56 +01:00
Juergen E. Fischer
3701561489 postgres provider: speedup loading of layers by not verifing srid and geometry if given in the uri (fixes #9510) 2014-02-08 17:03:40 +01:00
ahuarte47
f37b05621f #8725-R: New vector provider capability for topological simplification 2014-01-15 11:00:00 +01:00
Alvaro Huarte
3b6ed3bfc8 #8725-R: PostgresProvider simplifies on provider side
PostgresFeatureIterator implements simplification on provider side
2014-01-15 11:00:00 +01:00
Martin Dobias
9d001853c0 Introduction of concept of feature sources for vector data.
Feature sources of providers/layers should act as immutable
snapshots of the state of provider or layer, not being affected
by any concurrent changes to provider or layer while the source is in use.

Currently working just with OGR, Postgres, SpatiaLite providers.
2013-12-03 12:26:47 +07: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