1888 Commits

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


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2635 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-16 00:08:53 +00:00
mhugent
5912bb3f14 added some consts
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2634 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:59:14 +00:00
mhugent
4e12f59f54 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/qgis@2633 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 22:32:42 +00:00
gsherman
efe3f3a6dd 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/qgis@2632 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 18:19:27 +00:00
g_j_m
5bc0e785f5 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/qgis@2630 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 10:16:57 +00:00
g_j_m
62641aedaf set designer version to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:57:46 +00:00
g_j_m
b40a42b960 - 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/qgis@2628 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-15 09:54:40 +00:00
mcoletti
c2d9af5e14 Changing units now sets dirty bit.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 22:15:06 +00:00
mhugent
6499251711 fix for crash occuring when clicking with an editing tool into the empty map
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-14 21:37:43 +00:00
gsherman
1b5014e085 Added header block to qgscoordinatetransform.cpp
Cleaned up the const char * to char * cast ugliness


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 06:08:16 +00:00
timlinux
52f395e511 Fixed small glitch in debug message
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:50:33 +00:00
timlinux
4305431366 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/qgis@2619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 01:15:41 +00:00
g_j_m
4844a023a5 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/qgis@2618 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-12 00:45:37 +00:00
timlinux
e0619bbe13 Close rather than reject dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2617 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:13:37 +00:00
timlinux
ca1953052e Minor change to comments
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:12:49 +00:00
timlinux
f43f2c6f80 Moved qgscoordinatetransform accessor into the implemetation file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 10:03:12 +00:00
timlinux
f454c92023 Comment out exception handlers as they cause segfaults when called
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 09:59:42 +00:00
g_j_m
ad4bbd248f Added pattern for .qm files
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-11 05:37:47 +00:00
g_j_m
651c647cc8 More .cvsignore files. Should be all done now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 22:06:18 +00:00
g_j_m
51581d48ed Back out of a commit that I didn't intend to do
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 21:57:42 +00:00
g_j_m
d10381699c Added .cvsignore files to remove cvs update warnings. More to follow.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 20:26:46 +00:00
timlinux
f922055b9b Changed vector props metadata to html and addde info about coordinate system.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-10 02:55:04 +00:00
stevehalasz
3c11a581a8 Add comments to clarify use of affine transform
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 23:21:56 +00:00
gsherman
9c5dd20cee Renamed qgsshapefileprovider to qgsogrprovider to better reflect its
function/purpose.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:43:07 +00:00
gsherman
7661e81582 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/qgis@2606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 17:23:05 +00:00
mhugent
672627f33b removed selection of point capture if the capture popup button is clicked
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 12:06:12 +00:00
timlinux
de1fc35590 fixed the 'proj props dies on second opening' bug
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:55:41 +00:00
timlinux
bcef560cb7 Fix for selection colour not being set properly
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:45:35 +00:00
mhugent
7d62bff401 read line style for digitizing from QgsProjectProperties
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 10:17:18 +00:00
mhugent
70c99e927b fix for polygon rendering problems
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 09:32:57 +00:00
timlinux
9932ae92c8 Updates for user defined selection colour....still needs some attention
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-09 02:34:16 +00:00
gsherman
63fcdc37df Implements reading of users custom coordinate system file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 23:56:44 +00:00
gsherman
1779972da9 Tree is now expaned automatically to show the active projection
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 22:32:56 +00:00
timlinux
376ad77b1e Selecting a projection shows its full wkt in text box below.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 16:54:15 +00:00
timlinux
08294b8fc7 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/qgis@2596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 16:16:51 +00:00
gsherman
7c65902d9f Added XXX comment to the GEOGCS detection in getWKTShortName (for Tim's
benefit)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 07:17:28 +00:00
gsherman
d0472cc321 Added a GEOGCS WKT specification to the file for testing purposes
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 06:46:33 +00:00
gsherman
5f0bf7a90c 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/qgis@2593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 06:45:11 +00:00
timlinux
cb08325ac8 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/qgis@2592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 03:36:37 +00:00
timlinux
becf02d067 Initial draft of user enabling / disabling of projection support...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-08 00:49:07 +00:00
mcoletti
df6398805a 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/qgis@2590 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-07 20:53:24 +00:00
g_j_m
6e3bdd8df9 postgresql layers were not closing their connection to the database when
the layer was removed.


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


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-06 20:22:39 +00:00
stevehalasz
40c0afd893 Remember recent project path when File->Save-ing a new project
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 19:43:41 +00:00
stevehalasz
3766d31822 * 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/qgis@2585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 17:10:45 +00:00
timlinux
1d6e6d1487 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/qgis@2583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-05 09:15:32 +00:00
stevehalasz
3c9ff22664 Show the 8 most recently used projects in the File menu
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 23:27:25 +00:00
timlinux
00b736b208 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/qgis@2581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 22:34:52 +00:00
mhugent
e5d2bd729d snapping tolerance from QgsProject, line color and width will follow
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2580 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 21:53:53 +00:00