3054 Commits

Author SHA1 Message Date
timlinux
f927bfd130 Fix for raster props not being correctly restored when project file is loaded.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-29 14:09:42 +00:00
g_j_m
f478da7137 Remove the old way that plugins used to create menu entries. This may
cause some plugins that we don't know about to fail to compile, but the
change required is trivial, and can be gleaned from any of the plugins
that come as part of qgis.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-27 06:13:19 +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
0f5e4421fb Mods after testing the copy/paste of attribute table data through a Windows
X server. Still requires testing on a Windows and Mac version of Qgis


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-25 01:33:38 +00:00
mhugent
8f31f4d47d fix for legend compile problems
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-24 21:58:45 +00:00
g_j_m
7b735eb2ad Bug fix: turning on on-the-fly-projections and then removing all layers and then
loading a new layer didn't update the new layers' map units.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4128 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-24 04:10:19 +00:00
g_j_m
a71e95abcb Fix a bug where the scale bar units weren't being correctly updated after
a change in map units caused by turning on on-the-fly-reprojection.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-24 00:29:36 +00:00
mhugent
9be2522de3 some improvements in reading legend settings from file. Needs more testing and debugging though
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-23 20:23:34 +00:00
g_j_m
ab76897d51 Implemented a 'copy selection to clipboard' for the attribute table (works
under Linux when pasting to openoffice calc at least, but requires further
testing with other programs, esp. windows).
Available as a button above the attribute table.
Also committed a copy of the icon in png format.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4124 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-22 22:12:10 +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
timlinux
a199e04a8a Apply patch:
[ 1328009 ] fix for bsb loading bug


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-21 14:39: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
e651ad901b One last tweak to which connection is displayed.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4114 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-20 20:25:30 +00:00
g_j_m
d96896cf00 Usability improvements to database connection selector and
better behaviour when connections are created and deleted


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4113 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-20 09:09:47 +00:00
g_j_m
9f59ddca50 Remember which database is selected in the database selection dialog box (makes
it nicer to use).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-20 08:20:05 +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
2397c713b3 Fix for bug 1282953: non-blank catalog names in the geometry_columns postgis
table caused qgis to generate invalid sql to postgres. According to the
postgis docs, the f_table_catalog column in the geometry_columns table
is left blank as postgres doesn't have the concept of a catalog. Qgis now
ignores the contents of that column.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4103 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-19 00:22:54 +00:00
mhugent
b1278ea875 improved restoring the legend from project file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4102 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 21:35:52 +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
rabla
ae8165b1db new modules
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4098 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 14:04:49 +00:00
rabla
5e8d390a11 new items
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4097 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 14:02:38 +00:00
rabla
918edca8b2 get feature selected flag, selectionChanged signal
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4096 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 11:21:43 +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
morb_au
b3dbdb3a60 Back out change of qgsabout.ui.h (16 Oct 2005 18:30:05 -0000 1.6) - int i is still needed in #ifdef QGISDEBUG mode.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 22:02:13 +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
telwertowski
60156d4d81 Include util.h instead of pty.h for Mac.
Add braces to avoid "jump to case label crosses initialization" error.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 01:26:16 +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
992ec02493 extended the 'new vectorlayer' dialog with a combo box to choose the file format. At the moment, only shapefile is inserted
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:11:35 +00:00
mhugent
610f320cc8 added a try - catch for an unhandled exception during a coordinate transform
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 19:14:53 +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
rabla
870497c998 shell
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 16:40:29 +00:00
rabla
ff6fdf6880 shell
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 16:31:13 +00:00
timlinux
3489facacb Added capability to generate graticule as points (at intersections), lines or polygons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 12:53:17 +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
d35911dc8c added code for writing legend settings with writeEntry()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 18:19:40 +00:00
mhugent
c517eb1a29 fixed a bug in QgsGeometry::boundingBox for multipolygons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 18:37:21 +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
mhugent
5f5264f7c2 more changes to consider for endianness in QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 05:39:31 +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