2067 Commits

Author SHA1 Message Date
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
timlinux
e274226551 Added properties for digitising line width, colour and snapping tolerance. Added option for selecting selection colour. These still need to be wired up to the relevent implementing classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 21:08:55 +00:00
mcoletti
5e59884368 Now appropriately whines when attempting to open a project file that has no
layers instead of just crashing.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 21:01:41 +00:00
timlinux
584cc0aa92 Changing projection in project props dialog will notify all layers to change their coordinateTransform->destWKT to the selection made in the properties dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2577 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-04 00:44:23 +00:00
timlinux
4b116dd12c Perform inverseTransform of the canvas extents so that a QgsRect in the layers native coordinate system can be used to select features in layer draw process. Added some debug to qgscoordtransform and a simple call to inverseTransform(float,float) during initialise to test if its working.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 23:08:08 +00:00
mhugent
7b24f92a44 snapping tolerance for the multi... feature types
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2575 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 21:56:03 +00:00
gsherman
8dfff4ea76 Minor changes to projection rendering code -- nothing works yet
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2574 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 04:20:46 +00:00
timlinux
1e09322d82 Added accessor for coordinateTransformation object to maplayer.
Added methods to carry out inverseTransforms to QgsCoordinateTransform. This allows us to calculate the reverse projection (i.e. project projection -> layer projection) which is needed when doing things like selected features based on user interaction.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2573 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 03:00:21 +00:00
timlinux
14a4b816a5 Project a rectangle in a single operation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2572 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 02:18:33 +00:00
timlinux
6791acadb6 Debug output for map to pixel conversions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2571 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 01:41:42 +00:00
gsherman
80ea040ec5 Polish translation provided by Mateusz ��oskot
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2570 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-03 00:56:55 +00:00
mhugent
d9d63c8ceb I should also add that snapping tolerance is already implemented for point, line, polygon and not yet for the multi... types
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2569 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 23:09:22 +00:00
mhugent
22f9438635 Implemented snapping tolerance for vector digitising. There is currently no GUI to set it. If someone already likes to test this (experimental) feature, QgsVectorLayer::mSnappingTolerance needs to be hardcoded (e.g. in the constructor of QgsVectorLayer)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2568 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 22:46:22 +00:00
timlinux
5fa20b40be Fix path errror
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2567 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 01:14:29 +00:00
gsherman
474eefa90f Changes to install the wkt resource file in <prefix>/share/qgis/resources
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 00:50:43 +00:00
timlinux
b1188870aa Macosx friendliness for finding wkt_refs. Makefile to add wkt_refs to install path
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2565 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 00:39:14 +00:00
timlinux
94d69be157 Added ouput project specification to project props dialog...still a work in progress....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 00:25:53 +00:00
timlinux
e85fc9c07f List of projection definitions to be used for projection implementation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2563 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-02 00:18:27 +00:00
timlinux
23a6f56e33 Ever so important commit - new splash for next release.....
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2562 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-01 23:42:06 +00:00
larsl
fffca9bd84 Fixed bug that crashed QGIS when loading vector layers from a project file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-01 18:14:52 +00:00
stevehalasz
b8fd19f285 * don't leak the fileDialog if no file is chosen
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2560 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-01 17:05:28 +00:00
larsl
0890ee247d ** Fixed a bug that crashed QGIS when loading rasters from a project file, pt 2
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2559 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-01-01 14:02:27 +00:00