gsherman
bdd16c62cb
More changes for Qt4. QGIS now compiles and runs, although there are problems. Plugins do not load
...
and there are display issues when loading a layer.
The georeferencer plugin is currently disabled in the build due to unresolved UI issues.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 05:55:32 +00:00
gsherman
c06fedf003
Qt4 port using Qt3 compatibility library. Note - not all files compile yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 23:35:22 +00:00
mhugent
d20c4ff946
Fixed bug in the postgres provider which prevented graduated/ continuous/ unique rendering. Also changed the snapping methods such that they return false if no point/ segment to snap is found
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-15 20:04:17 +00:00
gsherman
fbed0ae25e
Fixes to Postgres include substitutions
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-12 01:37:49 +00:00
g_j_m
4dc612222d
Provide an warning message if a spatial table doesn't have an oid column
...
when we need one (happens when the primary key column is not of type int4).
git-svn-id: http://svn.osgeo.org/qgis/trunk@4134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-26 07:46:21 +00:00
g_j_m
8bcd08ec9b
Tidy up of code that swaps endian-ness of the key column values.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4123 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 19:57:45 +00:00
g_j_m
4b8fc46696
Remove code that created QString selectSQL - it's not used anywhere else in
...
qgis.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4122 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 19:25:58 +00:00
g_j_m
e38d571a07
Removed the code that modified the schema search path - with the recent
...
changes to do with schemas, this is no longer necessary.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 18:59:06 +00:00
rabla
d7111f0fa5
getpid() header
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4120 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 15:58:38 +00:00
g_j_m
6d48ba8ffb
Disable the 'no transaction in progress' warning message that comes from
...
PostgreSQL (only for non-debug compilations).
git-svn-id: http://svn.osgeo.org/qgis/trunk@4116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 00:04:19 +00:00
g_j_m
ae3ba9b1c7
Fix for bug 1332221 (attribute table only shows ID and first row).
...
Also changed the deduceEndian function to initialise the swapEndian variable
(wasn't being done).
git-svn-id: http://svn.osgeo.org/qgis/trunk@4110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-20 00:12:13 +00:00
mhugent
841a664abb
fix for sql problem wenn commiting changed geometries
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-19 19:23:56 +00:00
g_j_m
197c29ee21
Bug fix - renamed columns in view were causing an assert.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4101 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 21:23:04 +00:00
g_j_m
52ca7da3ee
Correct code that only gets compiled with debug turned on
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4099 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 17:59:36 +00:00
g_j_m
b617bddde2
Merge of schema support changes from 0.7 branch into head.
...
Hope this doesn't break anything else - the merge was somewhat involved
git-svn-id: http://svn.osgeo.org/qgis/trunk@4095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 09:19:45 +00:00
rabla
1ddcddbd63
keyField()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 07:11:00 +00:00
timlinux
76694f5de7
Apply warnings for unused vars patch from karl
...
[ 1325870 ] removing trivial warnings (unused variables)
git-svn-id: http://svn.osgeo.org/qgis/trunk@4088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 18:30:07 +00:00
morb_au
fdd897492b
Make the WMS provider more fully understand the WMS metadata XML schema - (part 3).
...
Many more items should now be appearing in Properties > Metadata tab, including Image Formats. In a future commit this will be wired up to the WMS layer selection dialog, allowing a choice between (e.g.) PNG (the current default) or JPEG.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4087 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 13:03:42 +00:00
telwertowski
5fa7eba698
Wrap query subset clause in parentheses to preserve grouping of
...
a compound clause when ANDing with selection rectangle clause.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4085 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 05:45:16 +00:00
morb_au
efc906e781
OGR provider now reports, in its description, the build-time and run-time versions of the OGR library. For example this will appear in Help > About Quantum GIS > Providers tab.
...
This should help us better troubleshoot bugs in the field.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 23:06:16 +00:00
rabla
e9cf9bc6b1
fix for new mapset where vector db is not set
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 09:09:41 +00:00
mhugent
4bf924adf0
commented out some lines in qgsogrprovider.cpp for now such that qgis compiles properly on all systems
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:47:14 +00:00
morb_au
f7017d5302
Make the WMS provider more fully understand the WMS metadata XML schema - (part 2).
...
This time, metadata is wired to the raster properties dialog under the Metadata tab. But only for a few items. A future commit will make more items visible there.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:40:24 +00:00
mhugent
74bb1e87ef
enabled the new method to create vectorlayers and put an ifdef around OGRSpatialReference->Release
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4076 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 18:20:43 +00:00
mhugent
af7a015d73
added an extern C method in the ogr provider to create new datasources. This method will replace the QgsVectorFileWriter class soon. Other providers may add methods with the same signature for creation of new data sources
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 22:19:46 +00:00
mhugent
1f17d9fd07
use fast geos export method on little- and big endian machine since QgsGeometry::geosGeometry is now endian-aware. Fixed a memory leak in the OgrProvider. Use ->getNextFeature(false) when selecting vector features because attributes are not needed for geometric selection
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 17:39:22 +00:00
morb_au
197f89c029
Make the WMS provider more fully understand the WMS metadata XML schema - (part 1).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 22:33:14 +00:00
mhugent
6cd96e2cc3
fixed a memory leak and removed some dead code
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 20:14:10 +00:00
morb_au
b4ea2546a9
WMS provider now handles memory management of images more appropriately. Firstly it doesn't leak an image on each redraw and secondly it will cache the last image for faster redraw.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 21:02:34 +00:00
morb_au
7680551320
Minor cleanup after mcoletti's Aug 26 changes to get WMS going again.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 21:20:12 +00:00
mhugent
c843d6e0e8
fixed two little memory leaks in ogrprovider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@4038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 20:10:07 +00:00
telwertowski
91d9abe35e
bugfix for [ 1309122 ] inconsistent behavior of labels
...
Use correct index when retrieving columns.
Also add some PQclears for queries which weren't being freed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 08:04:06 +00:00
timlinux
b7a9443c8a
Applied patch from Karl
...
[ 1305377 ] constructor initialization order warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@4002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 23:59:13 +00:00
g_j_m
0bd539c298
tell cvs to ignore some files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3998 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 18:04:45 +00:00
rabla
11480d04dd
open/close mapset
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 09:17:41 +00:00
mcoletti
e8678ed379
Rolled forward {get,set}DataSourceUri() member function changes from
...
QgsDataProvider base class.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 21:25:03 +00:00
mcoletti
d34af57995
- rolled forward named() and description() member changes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:35 +00:00
mcoletti
2931de407e
Stomping link errors and superfluous builds
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 22:50:42 +00:00
morb_au
0468ae83d8
More changes for Qt4 porting readiness.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3948 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-21 21:11:18 +00:00
timlinux
08774d5013
Applied following patches:
...
1293255 SPIT: bugfix for "no fields" problem
1293069 2 bugfixes regarding extent calculation
1292938 added panning to overview
1253211 patch for PostGIS provider
1253027 patch for querybuilder
git-svn-id: http://svn.osgeo.org/qgis/trunk@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
mhugent
d9c4137ae0
also applied postgis provider changes to head. Removed a bug in ogrprovider which sometimes caused crashes when selecting
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-14 15:21:04 +00:00
morb_au
15c2e5746d
More changes for Qt4 porting readiness.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 21:46:57 +00:00
timlinux
ef003ecd34
Applied patch from Martin Dobias to provide feature searches in attribute table.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-10 10:34:05 +00:00
rabla
2ce1d75f31
patch for editing with dbf driver if user is not PERMANENT owner
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3837 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-16 08:58:53 +00:00
mcoletti
ca79d106d6
Added ::subLayerCount(), which is rolled down from QgsDataProvider.
...
Note that data provider authors will have to properly flesh out these
functions since I do not know how each provider calculates the number of
layer; except for the OGR provider which correctly returns the actual number
of layers. All other providers have hard-coded to always return "1".
Obviously that will have to be changed.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3832 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-12 21:58:36 +00:00
rabla
cf604f14d4
test null value for cat
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-09 15:45:15 +00:00
morb_au
f58e6838cd
Actually add all the files in, like qgshttptransaction.*
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3798 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-27 00:37:03 +00:00
timlinux
01213edb8e
Apply [ 1235689 ] Delimited text i18n patch to head
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-21 22:13:05 +00:00
timlinux
4758b4f675
apply [ 1241826 ] fix for bug 1227539 to head
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3765 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-21 20:22:04 +00:00
timlinux
2bdffed30c
apply patch [ 1242486 ] fix for grass provider makefile
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@3763 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-21 20:13:06 +00:00