2601 Commits

Author SHA1 Message Date
morb_au
e1d8587e54 The vector metadata property page now reports the storage type (e.g. Shapefile, MapInfo file, PostgreSQL database with PostGIS extension, etc.) and editing capabilities (Add Attributes, Change Geometries, etc).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3681 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-01 22:23:20 +00:00
morb_au
32b979a833 More changes to support add/move/delete vertex.
Lots of UI stuff still needs to be polished in this area but add/move/delete vertex can *almost* perform as advertised if all the planets are aligned.  More to follow in a future commit...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3676 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-30 12:24:39 +00:00
morb_au
eab7e964f0 Plenty of little changes in the pursuit of the add/move/delete vertex tools:
* Delete-vertex option added to UI.
* GEOS geometry factory now a static member of QgsGeometry (instead of being instantiated per-geometry).
* Added GEOS-to-WKB functionality to QgsGeometry (LineString only at this stage).
* Made private variables mutable in QgsGeometry to assist const correctness.
* QgsMapCanvas now reports to the UI if a line segment couldn't be snapped.
* QgsVectorLayer also sets some default values in the same case, which helps prevent crashes later on (particularly when project properties > snapping tolerance is 0).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3662 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-26 02:13:49 +00:00
morb_au
976393d282 Change static class members to be initialised outside the class (to satisfy the new GCC 4 compiler).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3658 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-23 21:15:29 +00:00
morb_au
fba83ffa09 Further work on feature pasting. Paste no longer crashes. However there is still some work to go before paste actually works on PostGIS layers. Other layers not tested yet. Copy also now adds some basic WKTs on the system clipboard (so you can paste to a text editor!). Also:
* WKT now defaults to 6 significant digits, to allow for degree-based datums
* mAddedFeatures in QgsVectorLayer is now a std::vector instead of a list, as nothing was done to it that required list functionality, and lists are less memory efficient, and the other copy/paste functions took vectors anyway.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3647 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-19 21:37:37 +00:00
morb_au
54e4ef09d1 Better OGR-provider pointer hygiene, as suggested by valgrind.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3646 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-19 20:55:25 +00:00
rabla
79572d3e09 escape apostrophe, use null if text is empty
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-15 13:33:24 +00:00
morb_au
85a07894d7 Add better pointer hygiene in QgsFeature (less crashes hopefully, especially when "Copy"ing features). Some more code to support WKB <-> GEOS geometry in QgsGeometry (not there yet though).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-14 21:09:48 +00:00
rabla
49b65edcf6 enable negative label offset
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-14 11:57:52 +00:00
gsherman
b549c62d84 Set version number for 0.8 development. See comments in configure.in for
the convention used.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3573 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-11 15:01:43 +00:00
morb_au
d4480ebe32 Cleanup of bug 1212152 - adding GDAL flags to Makefile.am.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3567 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-10 23:53:07 +00:00
mhugent
6f9e8ca0ab restored the unique value renderer again
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-10 20:13:42 +00:00
morb_au
7ccf59c89f Add $(GDAL_CFLAGS) and $(GEOS_CFLAGS) to Makefile.am's. Addresses bug 1212152 and Martin Dobias' email of 8 June 2005.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-09 20:44:28 +00:00
mhugent
664852c6e9 a lot of changes to simplify the interactions between renderers, renderer dialogs and qgsdlgvectorlayerproperties. E.g. the vector layer properties is now created/ destroyed each time it is opened/ closed. The unique value has not been changed yet. Also, the item legend is disabled for vector layers at the moment.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3548 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-07 19:02:28 +00:00
morb_au
eba355b1fa Fix for non-PostGIS/PostgreSQL layers that were broken by my recent commits to HEAD (in particular relating to cache-enabling the PostgreSQL provider). Hopefully addresses bug 1214771.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3547 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-06 08:35:30 +00:00
morb_au
c51a41c334 Updates to the WMS provider to allow for usage of an HTTP proxy (un-authenticated). Not tested by me as I don't have a proxy to test on. Suggested by timlinux (Tim Sutton). Qt4 will apparently allow us to add authenticated proxies but in the meantime this is a good start.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3543 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-05 21:45:52 +00:00
morb_au
3abdd84683 Force libpng warnings to forced up into the GUI (rather than cerr) - some PNGs returned by WMS cannot be parsed by libpng and it would be useful to tell the user that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-04 01:45:53 +00:00
morb_au
3afc0973c6 Added a bug fix so that WMS can actually display some images instead of a (0,0) size image.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3534 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-03 22:17:21 +00:00
timlinux
d3fa3edb1e Chinese translations - many thanks Nilarcs!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-03 00:17:30 +00:00
timlinux
3b6e265b9f Martin Dobias's patch to allow setting extents from cli on startup
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3527 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-03 00:08:18 +00:00
morb_au
7b98744bc6 De-mangle the getProjectionWKT function in QgsRasterProvider that was broken when I merged in my changes a few days ago. All rasters should work again.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3526 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-02 21:18:36 +00:00
morb_au
d5f43325ca Neaten up the WMS selection dialog box.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-01 21:44:47 +00:00
rabla
fa4a38594f the beer replaced by button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3515 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-01 15:48:55 +00:00
rabla
e11b808791 the beer replaced by button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3513 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-06-01 15:34:27 +00:00
morb_au
01264b6887 Hooked up WMS layer, Add/Move Vertex, and Cut/Copy/Paste to UI. No guarantees that any of this actually works yet, but you can at least do a click and giggle.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3509 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-31 22:02:09 +00:00
morb_au
50c7cff99c Fix for GRASS provider that wasn't playing nicely with the new QgsFeature API.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3508 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-31 20:39:26 +00:00
morb_au
7976459c17 Start wiring in WMS, internal clipboard and add/more vertex functions into QgisApp.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-30 22:00:17 +00:00
morb_au
70b699bc6b Add cvsignore to WMS directory.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3506 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-30 21:09:23 +00:00
morb_au
8edbe49ac2 Initial addition of routines for Add and Move Vertex in QgsMapCanvas. Add Vertex is more advanced than Move Vertex but still isn't quite working yet. Still needs to be wired up to the UI anyway.
Also, when adding the new map tool enumerations into the Qgis namespace, also added "NoTool" at enumeration 0.  This will be needed because currently the map tool is not being properly initialised at QGIS startup.  A future commit will address this fully and should also eventually be applied to cvs 0.7 branch.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3505 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-30 21:06:58 +00:00
morb_au
4fee8d47f8 Additonal functions to support sublayers to support OGC WMS.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3497 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-29 21:20:54 +00:00
morb_au
14cc298ad1 Initial conversion of QgsRasterLayer into a front end to QgsRasterDataProvider. This is part of the OGC WMS support that will be wired up in a future commit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3490 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-29 00:48:23 +00:00
morb_au
edfa27c703 Initial file load for the QGIS Clipboard - enabler of a future commit for cut / copy / paste of features.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3488 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 23:26:50 +00:00
morb_au
7a1402a25a New UI files for OGC WMS functionality - not wired in yet.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 23:23:13 +00:00
morb_au
98e9de4280 Utility functions to support upcoming commits for "Add Vertex".
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3485 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 23:11:28 +00:00
morb_au
f5c67a80f6 Postgres provider now caches geometry retrieval into a queue instead of fetching one at a time. This should speed things up by amalgamating SQL queries. Calling code is adjusted accordingly.
The initial queue size is the same as the refresh update threshold.
TODO: Adjust the queue size independently of the update threshold; and add a queue for attribute retrieval (currently, unique value renderers still force one SQL per feature to retrieve attributes).


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3484 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 21:45:32 +00:00
morb_au
f75bde2331 Fix up configure.in to force building of WMS Makefile.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3479 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 02:54:33 +00:00
morb_au
702d4232c2 Added in some more support files for WMS.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3478 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 02:29:45 +00:00
morb_au
09674128a9 Added in some more support files for QgsGeometry.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 02:27:16 +00:00
morb_au
a3b2f31149 Actually add some files into the wms directory
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 02:18:14 +00:00
morb_au
f53910e57e Initial load of OGC WMS (Web Map Service) provider files.
Not connected to any UI yet.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3475 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 02:05:39 +00:00
morb_au
5b36d8fdb3 Rearranges QgsFeature so that its owned geometry is abstracted to its own class, QgsGeometry.
As bonus features:
 * QgsFeature::setGeometry is now setGeometryAndOwnership in order to clarify what is responsible for destruction of the WKB buffer.  Code calling setGeometry has been adjusted accordingly.
 * Additional functionality to find the closest segment is added, to support an upcoming commit for Add Vertex.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3474 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-28 01:52:34 +00:00
mcoletti
503ea4ba17 Oops, forgot SaveAs use case for bug 1207365 fix, so here it is.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3467 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-26 23:40:52 +00:00
mcoletti
d6b4dae8ef Fix for bug 1207365. Now prompts user if about to over-write existing project
file.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3466 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-26 23:17:50 +00:00
mcoletti
3e4d0797be Added QgsDebug() convenience function.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3464 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-26 21:45:55 +00:00
stevehalasz
f6c0bd60ee Merge fix for bug #1205392 (raster layer name not updated) from Release-0_7-candidate branch.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3459 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-25 02:51:11 +00:00
gsherman
8266aad278 Commented out #define TESTLIB. This invokes a test using dlopen on each plugin that is loaded so it is not necessary. It was causing OS X build on Tiger to
not work with plugins


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3438 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-23 06:06:15 +00:00
gsherman
4b1899b78d Changed to embedded XPM instead of PNG to preserve Qt 3.2.x compatibility
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3435 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-23 05:18:02 +00:00
gsherman
748892adb7 A couple of additions to the Whats-New section
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3434 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-23 05:14:42 +00:00
timlinux
c22daeb92f Updated spatial bookmark icons
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3433 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-22 23:55:32 +00:00
timlinux
73eaf7d655 Bugfix - srs was not being shown in vector props dialog general tab
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3432 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-05-22 18:23:32 +00:00