gsherman
6aa8da9e8f
Removed duplicate code that set the database encoding (no need to do it twice)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 03:39:06 +00:00
gsherman
33cdc0e210
MySQL data provider stubs -- non functional and not integrated with the build system yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 03:37:16 +00:00
timlinux
ee7a5a4bff
I had to link to qgis_gui lib too (for now)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 02:54:25 +00:00
timlinux
3bd54409ab
Refactored libqgis into two roughly inequal parts.
...
libqgis_core is intended to have non gui code
libqgis_gui is intended to have gui related code
Updated makefiles and code throughout in order for it to build with this new arrangemetn
Code in src/ will be moved into src/gui in a follow up commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4501 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-08 01:17:57 +00:00
gsherman
058b56e4cb
Goodbye Oracle provider, hello MySQL
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-07 16:11:59 +00:00
gsherman
0ac8bd367d
Oracle spatial readme
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4496 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-01-07 02:57:34 +00:00
gsherman
481eb106fa
Merge UI conversion branch to HEAD. UI branch is now deprecated.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4409 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-30 04:56:31 +00:00
mcoletti
a80c30d2d1
Includes now Qt4 happy. Once again the support vector file formats lives.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-12-02 21:13:48 +00:00
mcoletti
0297e47e8e
- one cannot do QStringList = 0 as a default parameter; QStringList =
...
QStringList() substituted
- thou shalt pass non atomic function arguments as references or
pointers (thus saving some memory and copy ctor overhead)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4282 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-29 00:31:58 +00:00
g_j_m
a46077fe39
Don't use the postgres information_schema view because earlier versions of
...
postgres don't have it...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-28 09:10:59 +00:00
morb_au
662ad19750
Several improvements related to WMS:
...
* Adds WMS styles support (think "themes").
* WMS layer selection window only lets you select one style at a time.
* WMS layer selection window can be sorted various ways, including the list order in which it was sent from the server (this helps in keeping lists of months ordered properly).
* Early work for changing the image encoding sent from the WMS server.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4278 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-27 20:51:17 +00:00
gsherman
32abe7d551
Refactoring of QSettings naming conventions. This has been tested but there
...
may be errors since the base key name for all plugins was changed. The convention
for settings keys used by a pluting is to name the key "/Plugin-MyPluginName/foo".
Thus the delimited text plugin key is /Plugin-DelimitedText and all settings
related to it are stored under it. (I know, commit messages shouldn't be used
to write documentation)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4270 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-26 01:10:29 +00:00
gsherman
7fa7704c25
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/qgis@4244 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-20 05:55:32 +00:00
gsherman
4f92277e47
Qt4 port using Qt3 compatibility library. Note - not all files compile yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-19 23:35:22 +00:00
mhugent
c39011c8e9
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/qgis@4209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-15 20:04:17 +00:00
gsherman
f0ea1987d0
Fixes to Postgres include substitutions
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4200 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-11-12 01:37:49 +00:00
g_j_m
4364fd66f5
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/qgis@4134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-26 07:46:21 +00:00
g_j_m
dcaf8fe7ff
Tidy up of code that swaps endian-ness of the key column values.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4123 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 19:57:45 +00:00
g_j_m
e0b64e18a9
Remove code that created QString selectSQL - it's not used anywhere else in
...
qgis.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4122 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 19:25:58 +00:00
g_j_m
e5499bcc5a
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/qgis@4121 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 18:59:06 +00:00
rabla
6ef64a6cc7
getpid() header
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4120 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 15:58:38 +00:00
g_j_m
3327eaf282
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/qgis@4116 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 00:04:19 +00:00
g_j_m
e6da2e127d
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/qgis@4110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-20 00:12:13 +00:00
mhugent
a9c54d39ae
fix for sql problem wenn commiting changed geometries
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4107 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-19 19:23:56 +00:00
g_j_m
a135f3c0b0
Bug fix - renamed columns in view were causing an assert.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4101 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 21:23:04 +00:00
g_j_m
dad46cade7
Correct code that only gets compiled with debug turned on
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4099 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 17:59:36 +00:00
g_j_m
0bed6ef656
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/qgis@4095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 09:19:45 +00:00
rabla
b51013fa1a
keyField()
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 07:11:00 +00:00
timlinux
82f8c1e64d
Apply warnings for unused vars patch from karl
...
[ 1325870 ] removing trivial warnings (unused variables)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 18:30:07 +00:00
morb_au
256fbbaccb
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/qgis@4087 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 13:03:42 +00:00
telwertowski
756194d73f
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/qgis@4085 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 05:45:16 +00:00
morb_au
f53a89d959
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/qgis@4084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 23:06:16 +00:00
rabla
43e8c33797
fix for new mapset where vector db is not set
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 09:09:41 +00:00
mhugent
52166d7ba4
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/qgis@4080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:47:14 +00:00
morb_au
85a75bcab7
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/qgis@4079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:40:24 +00:00
mhugent
699ed3ecd0
enabled the new method to create vectorlayers and put an ifdef around OGRSpatialReference->Release
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4076 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 18:20:43 +00:00
mhugent
dfb42e64a0
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/qgis@4072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 22:19:46 +00:00
mhugent
ae9360060b
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/qgis@4066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 17:39:22 +00:00
morb_au
0b80f2b280
Make the WMS provider more fully understand the WMS metadata XML schema - (part 1).
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 22:33:14 +00:00
mhugent
2ac1e1a392
fixed a memory leak and removed some dead code
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 20:14:10 +00:00
morb_au
49c275598a
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/qgis@4051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 21:02:34 +00:00
morb_au
1592a0ef43
Minor cleanup after mcoletti's Aug 26 changes to get WMS going again.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 21:20:12 +00:00
mhugent
f53e89f608
fixed two little memory leaks in ogrprovider
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 20:10:07 +00:00
telwertowski
b9ab71c71d
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/qgis@4019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 08:04:06 +00:00
timlinux
83244e8788
Applied patch from Karl
...
[ 1305377 ] constructor initialization order warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4002 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-28 23:59:13 +00:00
g_j_m
afa8bf59b0
tell cvs to ignore some files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3998 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 18:04:45 +00:00
rabla
f1dbe41ab6
open/close mapset
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3988 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-27 09:17:41 +00:00
mcoletti
f9c1ca697d
Rolled forward {get,set}DataSourceUri() member function changes from
...
QgsDataProvider base class.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3971 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 21:25:03 +00:00
mcoletti
9551c8ff3d
- rolled forward named() and description() member changes
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3967 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 14:08:35 +00:00
mcoletti
079bbf1363
Stomping link errors and superfluous builds
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-22 22:50:42 +00:00