1887 Commits

Author SHA1 Message Date
gsherman
f195828ea3 Added more tests
git-svn-id: http://svn.osgeo.org/qgis/trunk@2637 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:11:43 +00:00
gsherman
7b4a962012 Added code to morph the projection WKT when loading a shapefile.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2636 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:10:20 +00:00
gsherman
2dfdc52353 More debug on projection operations. Added proj4 parameter output when
inversing the view rectangle.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:08:53 +00:00
mhugent
c85b1b6d88 added some consts
git-svn-id: http://svn.osgeo.org/qgis/trunk@2634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:59:14 +00:00
mhugent
8334df21b3 added methods for attribute editing in the vector data provider interface. First implementation in the postgresprovider, but not yet tested
git-svn-id: http://svn.osgeo.org/qgis/trunk@2633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:32:42 +00:00
gsherman
e4b8530a61 Test suite for projection related classes/functions. Requires cppunit to
run the tests. See the README in each directory for information on building
and running tests.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 18:19:27 +00:00
g_j_m
8ea753eccb Bug fix - order of automatic/manual radio button id's changed on me, so
code was interpreting automatic as manual and vica-versa.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 10:16:57 +00:00
g_j_m
f3d6187811 set designer version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@2629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:57:46 +00:00
g_j_m
a1224cfda9 - UI to allow manual setting of the number of decimal places used in the
display of the mouse position.

- Only calculate the number of decimal places if the scale has
changed (previously it was done every time the mouse moved).

- Bug fix for the project properties dialog box (changing the units and
then clicking on cancel didn't cancel the change in units)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2628 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:54:40 +00:00
mcoletti
d920127466 Changing units now sets dirty bit.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 22:15:06 +00:00
mhugent
7ccc9955d8 fix for crash occuring when clicking with an editing tool into the empty map
git-svn-id: http://svn.osgeo.org/qgis/trunk@2626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 21:37:43 +00:00
gsherman
4580f96410 Added header block to qgscoordinatetransform.cpp
Cleaned up the const char * to char * cast ugliness


git-svn-id: http://svn.osgeo.org/qgis/trunk@2623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 06:08:16 +00:00
timlinux
7b3eca2ba8 Fixed small glitch in debug message
git-svn-id: http://svn.osgeo.org/qgis/trunk@2620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:50:33 +00:00
timlinux
b17a1c38a4 Wrapped some project debug statements in QGISDEBUG defs.
Implemented try...catch error handlers for all calls to QgsCoordinateTransform


git-svn-id: http://svn.osgeo.org/qgis/trunk@2619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:15:41 +00:00
g_j_m
91deb4c529 Automatically set the number of decimal places in the mouse
coordinates display. Manual override to follow.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2618 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 00:45:37 +00:00
timlinux
7d3b71f86a Close rather than reject dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@2617 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:13:37 +00:00
timlinux
4c6a5ecda4 Minor change to comments
git-svn-id: http://svn.osgeo.org/qgis/trunk@2616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:12:49 +00:00
timlinux
ab866ee5a0 Moved qgscoordinatetransform accessor into the implemetation file
git-svn-id: http://svn.osgeo.org/qgis/trunk@2615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:03:12 +00:00
timlinux
852eaa652a Comment out exception handlers as they cause segfaults when called
git-svn-id: http://svn.osgeo.org/qgis/trunk@2614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 09:59:42 +00:00
g_j_m
a675f5794d Added pattern for .qm files
git-svn-id: http://svn.osgeo.org/qgis/trunk@2613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 05:37:47 +00:00
g_j_m
dca4ab94e3 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
g_j_m
ae2417cbd8 Back out of a commit that I didn't intend to do
git-svn-id: http://svn.osgeo.org/qgis/trunk@2611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 21:57:42 +00:00
g_j_m
6ed06572d5 Added .cvsignore files to remove cvs update warnings. More to follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 20:26:46 +00:00
timlinux
853d5a31ac Changed vector props metadata to html and addde info about coordinate system.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 02:55:04 +00:00
stevehalasz
19e478dcff Add comments to clarify use of affine transform
git-svn-id: http://svn.osgeo.org/qgis/trunk@2608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 23:21:56 +00:00
gsherman
61fd2dc654 Renamed qgsshapefileprovider to qgsogrprovider to better reflect its
function/purpose.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:43:07 +00:00
gsherman
dc87fcd8aa Fixed selection bug that resulted in selection of more features than those
under the selection rectangle. Selection of features from a multipart polygon
layer is still unacceptably slow.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:23:05 +00:00
mhugent
52c3054b93 removed selection of point capture if the capture popup button is clicked
git-svn-id: http://svn.osgeo.org/qgis/trunk@2605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 12:06:12 +00:00
timlinux
6d6178296b fixed the 'proj props dies on second opening' bug
git-svn-id: http://svn.osgeo.org/qgis/trunk@2604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:55:41 +00:00
timlinux
570bc7ba04 Fix for selection colour not being set properly
git-svn-id: http://svn.osgeo.org/qgis/trunk@2603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:45:35 +00:00
mhugent
ff4ab77621 read line style for digitizing from QgsProjectProperties
git-svn-id: http://svn.osgeo.org/qgis/trunk@2602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:17:18 +00:00
mhugent
979259ac44 fix for polygon rendering problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@2601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 09:32:57 +00:00
timlinux
512dcc2498 Updates for user defined selection colour....still needs some attention
git-svn-id: http://svn.osgeo.org/qgis/trunk@2600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 02:34:16 +00:00
gsherman
847bea979b Implements reading of users custom coordinate system file
git-svn-id: http://svn.osgeo.org/qgis/trunk@2599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 23:56:44 +00:00
gsherman
7347bd25ee Tree is now expaned automatically to show the active projection
git-svn-id: http://svn.osgeo.org/qgis/trunk@2598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 22:32:56 +00:00
timlinux
eb2171f89a Selecting a projection shows its full wkt in text box below.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 16:54:15 +00:00
timlinux
7b8390d7e5 Hook up list view a bit better so current proj is selected. Rearrange dialog a bit so projections list gets more room. Remove cboProjections (its replaced by listview now). Update signals so slected item in tree view is used.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 16:16:51 +00:00
gsherman
3b761bb6e8 Added XXX comment to the GEOGCS detection in getWKTShortName (for Tim's
benefit)


git-svn-id: http://svn.osgeo.org/qgis/trunk@2595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 07:17:28 +00:00
gsherman
64621cb87f Added a GEOGCS WKT specification to the file for testing purposes
git-svn-id: http://svn.osgeo.org/qgis/trunk@2594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 06:46:33 +00:00
gsherman
531c0ca846 Added a treeview for display projections -- too see if its worth using it
rather than a drop-down list.

Fixed detection of GEOGCS vs PROJCS in WKT SRS specs


git-svn-id: http://svn.osgeo.org/qgis/trunk@2593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 06:45:11 +00:00
timlinux
5c88dd2815 Changed short name parser to use gdal GetNodeAttr to get WKT elements. Changed combo builder so that it uses short name created for list items. Removed header rows from wkt files.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 03:36:37 +00:00
timlinux
47302bcabe Initial draft of user enabling / disabling of projection support...
git-svn-id: http://svn.osgeo.org/qgis/trunk@2591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 00:49:07 +00:00
mcoletti
50d1bcce82 added more source to library to appease plug-in link requirements\; also cleaned up file lists
git-svn-id: http://svn.osgeo.org/qgis/trunk@2590 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-07 20:53:24 +00:00
g_j_m
028122bb1c postgresql layers were not closing their connection to the database when
the layer was removed.


git-svn-id: http://svn.osgeo.org/qgis/trunk@2588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-07 06:21:23 +00:00
stevehalasz
c63df1b395 * Don't leak file dialog during fileSave
* Update release name


git-svn-id: http://svn.osgeo.org/qgis/trunk@2587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-06 20:22:39 +00:00
stevehalasz
80cd4ab41b Remember recent project path when File->Save-ing a new project
git-svn-id: http://svn.osgeo.org/qgis/trunk@2586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 19:43:41 +00:00
stevehalasz
223728bc23 * Reuse more code related to remembering recently used project paths
* Use constants to identify menu items of interest

* Remember project paths passed on the command line

* Always store absolute paths


git-svn-id: http://svn.osgeo.org/qgis/trunk@2585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 17:10:45 +00:00
timlinux
eb77d5e766 Bug fix for projection errors experienced by Mcoletti. More fixes to follow. Projection behaviour is now: Output projection is set to layer input projection if no output projection exits. So when adding the first layer to a project, it will set the projects output projection.
git-svn-id: http://svn.osgeo.org/qgis/trunk@2583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 09:15:32 +00:00
stevehalasz
96e80889b3 Show the 8 most recently used projects in the File menu
git-svn-id: http://svn.osgeo.org/qgis/trunk@2582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 23:27:25 +00:00
timlinux
81bc4c63d8 Default selection colour to yellow
Disable debug output on point transforms in qgscoordtransform and maptopixel to keep other users sane


git-svn-id: http://svn.osgeo.org/qgis/trunk@2581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 22:34:52 +00:00