317 Commits

Author SHA1 Message Date
Gary Sherman
c1065b9cd6 Fix feature count for postgres provider so it doesn't use estimated metadata when reporting results of a subset in the query builder 2011-06-07 08:33:22 -08:00
Juergen E. Fischer
5a6d3cebcc remove svn Id tags 2011-05-26 23:05:55 +02:00
jef
776b932868 improve handling of empty extents (fixes #2997)
git-svn-id: http://svn.osgeo.org/qgis/trunk@15809 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-22 14:02:32 +00:00
jef
5ab4c22819 postgres provider: fix numeric types with precision
git-svn-id: http://svn.osgeo.org/qgis/trunk@15748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-17 14:00:45 +00:00
jef
9b114c800b update postgis capabilities detection
git-svn-id: http://svn.osgeo.org/qgis/trunk@15596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-25 06:45:35 +00:00
mhugent
c3ac6df9ee [FEATURE] Add diagram system that uses the same pal instance as labeling-ng
git-svn-id: http://svn.osgeo.org/qgis/trunk@15503 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-15 16:43:23 +00:00
mhugent
1054cfaa54 More robust detection for domain constraint
git-svn-id: http://svn.osgeo.org/qgis/trunk@15347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-05 22:31:01 +00:00
jef
ebc2629142 postgres provider: use set application_name (fixes r15280) and verify that pg_is_in_recovery() is false
git-svn-id: http://svn.osgeo.org/qgis/trunk@15284 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-28 17:01:13 +00:00
jef
ed9af81226 postgres support: include application_name in connections
git-svn-id: http://svn.osgeo.org/qgis/trunk@15280 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-27 19:48:46 +00:00
mhugent
f1a655f480 [FEATURE]: experimental table join support refactored and ported from branch to trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk@15155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-02-11 16:23:17 +00:00
jef
3cc6f3f9a3 fix #3451: don't recheck saved primary key column for views when 'use estimates' is on
git-svn-id: http://svn.osgeo.org/qgis/trunk@15107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-29 20:39:52 +00:00
jef
9707370615 postgres provider update: use st_ functions only with postgis>=2 and the old one with earlier postgis version
git-svn-id: http://svn.osgeo.org/qgis/trunk@15072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-24 21:48:40 +00:00
jef
78cc7abf2a postgres provider: fix enumeration parsing
git-svn-id: http://svn.osgeo.org/qgis/trunk@15048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-14 20:47:27 +00:00
jef
b9a630f936 followup on r15028: more postgis st_ fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@15037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-13 22:37:41 +00:00
jef
c23bffc70b fix r15023: restore use of geometrytype as it's not deprecated and use
different geometry type notation

git-svn-id: http://svn.osgeo.org/qgis/trunk@15028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-13 01:08:58 +00:00
jef
21c24616e0 update postgis support to use st_ variants instead of old deprecated
(and now removed) versions.

git-svn-id: http://svn.osgeo.org/qgis/trunk@15023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-12 23:07:05 +00:00
jef
b78d8556a4 allow vector data provider to record errors (currently only used in query
builder to report errors in where clauses from OGR and postgres provider).


git-svn-id: http://svn.osgeo.org/qgis/trunk@14935 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-17 15:00:17 +00:00
brushtyler
650d97b0d3 use both schema and table name retrieving oid, to fix #3329
fixed endian deduction corrupted in r13340


git-svn-id: http://svn.osgeo.org/qgis/trunk@14919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-15 21:59:30 +00:00
brushtyler
3e0bd614d4 fix adding features on geometryless tables
git-svn-id: http://svn.osgeo.org/qgis/trunk@14834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-12-03 17:20:14 +00:00
jef
ff165c343b apply #3242
git-svn-id: http://svn.osgeo.org/qgis/trunk@14748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-23 05:31:46 +00:00
jef
c567751933 fix capabilities detection for postgres >=8.4
git-svn-id: http://svn.osgeo.org/qgis/trunk@14738 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-11-22 18:53:12 +00:00
jef
4f4a2128aa ask for postgres credentials on any connection error (not only missing password)
git-svn-id: http://svn.osgeo.org/qgis/trunk@14380 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-10-14 15:42:55 +00:00
jef
ff198a85d1 also report provider errors when not debugging
git-svn-id: http://svn.osgeo.org/qgis/trunk@14281 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-25 14:21:50 +00:00
jef
fa92616037 [FEATURE] allow adding geometryless layers from postgres
git-svn-id: http://svn.osgeo.org/qgis/trunk@14248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-09-18 18:20:24 +00:00
jef
886c17fbde followup r14150 again
git-svn-id: http://svn.osgeo.org/qgis/trunk@14152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-26 19:00:02 +00:00
jef
ae6ad4ee1f followup r14150
git-svn-id: http://svn.osgeo.org/qgis/trunk@14151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-26 18:57:36 +00:00
jef
7840204ac8 fix for postgis data crossing the dateline
git-svn-id: http://svn.osgeo.org/qgis/trunk@14150 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-08-26 18:44:09 +00:00
jef
aedac63127 apply #2730
git-svn-id: http://svn.osgeo.org/qgis/trunk@13922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-17 11:22:30 +00:00
jef
0c7beb8733 allow adding features to postgres layers with oid
git-svn-id: http://svn.osgeo.org/qgis/trunk@13781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-06-22 16:22:06 +00:00
jef
ce769ad090 postgres provider update:
- lazy determine extent and invalidate extent on subst string change (fixes #2752 for postgres)
- use estimate extent when "use estimate metadata" is set (reverts r13499)
- remove rest of unused threading


git-svn-id: http://svn.osgeo.org/qgis/trunk@13584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-28 21:58:35 +00:00
jef
7b38553dd2 postgres provider: remove unused threading code
git-svn-id: http://svn.osgeo.org/qgis/trunk@13557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-24 11:02:37 +00:00
jef
7366f4ca1b postgres provider: lazy feature count
git-svn-id: http://svn.osgeo.org/qgis/trunk@13524 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-18 11:27:48 +00:00
jef
7340172400 postgres provider: fix feature count, when subset string is set
git-svn-id: http://svn.osgeo.org/qgis/trunk@13499 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-16 14:22:06 +00:00
jef
64d2fc8286 fix #2707
git-svn-id: http://svn.osgeo.org/qgis/trunk@13470 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-12 22:45:25 +00:00
jef
bda45a088a minor pg provider fix: oid==0 is invalid
git-svn-id: http://svn.osgeo.org/qgis/trunk@13424 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-05 08:39:31 +00:00
jef
7b48ca7bb5 fix #2681
git-svn-id: http://svn.osgeo.org/qgis/trunk@13406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-28 10:32:56 +00:00
jef
46b8666836 fix #2680
git-svn-id: http://svn.osgeo.org/qgis/trunk@13404 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-27 14:09:48 +00:00
jef
9b1f6ff6a7 set feature validity in QgsPostgresProvider::featureAtIt
git-svn-id: http://svn.osgeo.org/qgis/trunk@13376 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-25 01:03:53 +00:00
jef
c6879e041f postgres provider: fix error handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@13375 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-24 20:59:46 +00:00
jef
7d4f628d34 postgres provider: improve error handling
git-svn-id: http://svn.osgeo.org/qgis/trunk@13374 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-24 20:06:45 +00:00
jef
f2039c7ebc apply #2662. Thanks Giuseppe.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13340 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-20 19:29:25 +00:00
jef
5cda362747 german translation update
git-svn-id: http://svn.osgeo.org/qgis/trunk@13256 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-05 22:42:59 +00:00
jef
b4010ce28c use other approach to avoid estimate_extents on not analyzed tables
git-svn-id: http://svn.osgeo.org/qgis/trunk@13221 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-04-01 12:58:04 +00:00
jef
06c7e7b6ff another postgres feature count fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@13165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-26 15:31:37 +00:00
jef
7fb0e90c88 [FEATURE] WMS-C support, new spatial authorities, wms selection improvements
- QgsDataProvider&QgsMapLayer: add dataChanged() signal, so that a provider can signal that the datasource changed
- use QNetworkAccessManager instead of QgsHttpTransaction (including caching and
  dynamic authentification to website and proxies)
- resolve EPSG dependency in spatial reference systems and
  included french IGNF definitions in srs.db
- wms provider:
  - do request asynchronously through QNetworkAccessManager
  - add support for WMS-C
  - dataChanged() is to cause a redraw asynchronously, when new tiles arrive
- wms selection:
  - add support for WMS-C tilesets
  - allow inserting of all layers of a branch
  - add support for more mime types
  - move load/save to button box
  - and more cleanups
- raster provider: reduce debugging noise
- allow adding parts to multi points and lines



git-svn-id: http://svn.osgeo.org/qgis/trunk@13093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-20 08:54:33 +00:00
jef
172f28b6a9 fix #2555
git-svn-id: http://svn.osgeo.org/qgis/trunk@13059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-15 19:25:02 +00:00
jef
4852ceb147 apply #2460 (slightly modified). Thanks Jeremy Palmer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 23:58:48 +00:00
jef
b0a9d99453 fix #2511
git-svn-id: http://svn.osgeo.org/qgis/trunk@13014 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-07 17:34:20 +00:00
jef
bdf1ee6838 fix #2397 by clearing attribute maps when retrieving features
git-svn-id: http://svn.osgeo.org/qgis/trunk@12869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-04 00:18:15 +00:00
jef
3c5c55ee9f [FEATURE] allow postgres layers without saved username & password by asking for credentials
git-svn-id: http://svn.osgeo.org/qgis/trunk@12859 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-01 21:44:19 +00:00