7467 Commits

Author SHA1 Message Date
wonder
7fd5ba816a Added infrastructure for vector editing undo/redo functionality.
Note - when implementing edit tools for vector layer:
All editation should be done between beginEditCommand() and endEditCommand()
calls so that the operation are stored. 

Note - when doing changes inside QgsVectorLayer code:
When doing any changes inside QgsVectorLayer they should be done using edit*() functions
and _not_ directly e.g. mChangedGeometries[fid] = (...) otherwise the change won't be
stored in the undo stack and it would lead to invalid behaviour of undo.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 14:17:18 +00:00
mhugent
0a3adf80b7 Larger maximum value for default snapping / search tolerance
git-svn-id: http://svn.osgeo.org/qgis/trunk@10919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-14 07:31:56 +00:00
ersts
0f94f59885 -removed the use of setPixel() in the rendering routines, thanks Yan for the suggestion
-swapped all of the myColumns and myRows in the rendering routines, as they were reversed

git-svn-id: http://svn.osgeo.org/qgis/trunk@10918 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-13 00:06:08 +00:00
kyngchaos
ec96e7e602 GRASS module reorg and updates (r10903, r10908, r10909, r10910, r10911)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10917 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 22:27:58 +00:00
gcontreras
f112d814f0 Fix for ticket #1702, when loading an ogr database datasource with one layer the password appears in legend.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10916 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 20:47:33 +00:00
gcontreras
27ad692a33 Fix for bug #1520, After adding a column for OGR-Layer, column doesn't appear in attribute table
git-svn-id: http://svn.osgeo.org/qgis/trunk@10914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 19:29:47 +00:00
rugginoso
d1c231e974 Removed duplicated entry in GRASS plugin module list.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10912 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 16:03:17 +00:00
rugginoso
571d5077db Added r.external.qgis GRASS plugin module.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 15:32:07 +00:00
rugginoso
5ffe510a86 Changed the icon for r.external GRASS plugin module
git-svn-id: http://svn.osgeo.org/qgis/trunk@10910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 15:00:31 +00:00
rugginoso
5b1997ba81 Added r.external GRASS module. Fixes #1623.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 14:39:15 +00:00
rugginoso
56351163c8 Changed GRASS modules directory structure to allow different modules version for different GRASS versions.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10908 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-12 13:16:31 +00:00
macho
7610160add updated spanish translation file
git-svn-id: http://svn.osgeo.org/qgis/trunk@10905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 21:17:20 +00:00
mhugent
bc576b1569 Make TIN interpolation more robust in case of NULL values and data distribution on lines. Minor change in qgsvectordataprovider.cpp to directly request a const iterator
git-svn-id: http://svn.osgeo.org/qgis/trunk@10904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 14:45:38 +00:00
rugginoso
59750316e6 Changed some grass modules to work with grass 6.4 and guarantee the compatibility with previous versions. Fixed #1629.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 11:54:43 +00:00
mhugent
535490afff Support for enumerations as an edit type in the infotool dialog (with combo box selection)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 07:23:31 +00:00
kyngchaos
e959b2f5ec missed some GEOS bits (r10894)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10901 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-11 00:14:35 +00:00
kyngchaos
f9d067dc62 GRASS PG export (r10899)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10900 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-10 16:05:49 +00:00
rblazek
80ac2f0e49 new script + qgis module for vector to PostGIS export, fix for #1190
git-svn-id: http://svn.osgeo.org/qgis/trunk@10899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-10 08:44:27 +00:00
mhugent
ca4fa4e86a Applied patch to fix legend cursor. Provided by gcarrillo
git-svn-id: http://svn.osgeo.org/qgis/trunk@10897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-10 07:35:26 +00:00
wonder
43202ab685 Fixed #1706.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10896 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 23:25:10 +00:00
wonder
18dd732387 Change layer's icon in legend to reflext that the layer is editable.
Removed duplicate function.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 22:28:08 +00:00
kyngchaos
7d54dd56e6 GRASS needs GEOS now (r10893)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 12:38:11 +00:00
jef
c45c93c47e fix build problems with GRASS 6.5 GEOS support and #1723
git-svn-id: http://svn.osgeo.org/qgis/trunk@10893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-09 06:57:55 +00:00
mhugent
f3567a0113 Forgot to commit a file last Friday that is necessary for WMS based printing
git-svn-id: http://svn.osgeo.org/qgis/trunk@10892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-08 07:19:57 +00:00
kyngchaos
9833d7b3b7 node tool (r10890)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-06 15:28:52 +00:00
wonder
fb15622bc2 [FEATURE] Added a new "node" tool (in advanced digitizing toolbar).
Integrates add, move and delete vertex tools for faster editing.

Contributed by Richard Kostecky, qgis-mapper team.


git-svn-id: http://svn.osgeo.org/qgis/trunk@10890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-06 14:46:49 +00:00
rblazek
985e5309fb fixed wrong port
git-svn-id: http://svn.osgeo.org/qgis/trunk@10886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-05 14:47:10 +00:00
mhugent
bbc5fdc891 Use a DPI parameter in the WMS request. This allows printing with QGIS from QGIS mapserver (and is ignored by the other WMS servers)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10885 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-05 13:13:45 +00:00
mhugent
bfc3b6cf57 More robust parsing of project snapping options
git-svn-id: http://svn.osgeo.org/qgis/trunk@10883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-05 09:24:00 +00:00
mhugent
bc83dafe2d [FEATURE] Added option to show only markers of selected features in editing mode.
git-svn-id: http://svn.osgeo.org/qgis/trunk@10882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-05 08:11:40 +00:00
kyngchaos
7e47f8e35c merge features (r10879)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-03 13:34:35 +00:00
mhugent
10bd2df721 Use QImage as composer map cache because rendering to QPixmap may be slow if antialiasing is turned on
git-svn-id: http://svn.osgeo.org/qgis/trunk@10880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-03 13:23:36 +00:00
mhugent
dbaf7bd454 New functionality for merging features
git-svn-id: http://svn.osgeo.org/qgis/trunk@10879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-03 11:33:58 +00:00
mhugent
aa18385d53 Added null transformations from 1.0.0 and 1.0.2 to 1.1.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@10878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-03 07:06:25 +00:00
jef
fd149514cf automatic indentation update (r10594-r10876)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-02 19:06:37 +00:00
mhugent
ebba6f7fcc Added increment for unit iterator and added a security check if snapping unit is not there (e.g. 1.0 project file)
git-svn-id: http://svn.osgeo.org/qgis/trunk@10876 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-02 14:40:10 +00:00
jef
e72ad75f92 fix attribute table edit problem when geometry is not last column in postgis tables
git-svn-id: http://svn.osgeo.org/qgis/trunk@10875 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-02 14:40:04 +00:00
jef
f2df647563 make saving of relative pathes of file data sources optional
git-svn-id: http://svn.osgeo.org/qgis/trunk@10874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 21:21:51 +00:00
jef
34a2c0178f fix warnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@10873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 21:20:14 +00:00
jef
dac08c8d6b indentation update
git-svn-id: http://svn.osgeo.org/qgis/trunk@10872 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 21:18:16 +00:00
dassau
adf2437334 added grass/qgis build instruction for ecw and mrsid written by Giovanni Manghi
git-svn-id: http://svn.osgeo.org/qgis/trunk@10870 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 13:24:42 +00:00
mhugent
092a1bf694 Merge linestrings together in union operation. Otherwise geos would create a multilinestring containing the linestrings
git-svn-id: http://svn.osgeo.org/qgis/trunk@10869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 13:23:31 +00:00
mhugent
6f8f05bbd5 Append suffix for composer template file. Fixes bug #1708
git-svn-id: http://svn.osgeo.org/qgis/trunk@10868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-06-01 10:53:53 +00:00
mhugent
0862fd1b83 Fix for problem with features that cannot be exported to shape
git-svn-id: http://svn.osgeo.org/qgis/trunk@10867 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-31 12:10:28 +00:00
mhugent
63a5d29d55 Improved handling of attribute types in WFS provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@10866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-31 07:43:15 +00:00
jef
82aa609357 german translation update
git-svn-id: http://svn.osgeo.org/qgis/trunk@10864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-30 17:49:06 +00:00
jef
3e01e6d3d5 - allow setting of field width and precision when adding attributes
- update vector data providers accordingly
- postgres provider:
  - add support for more native types and setting of column comments
  - catch errors on retrieval of defaults values (fixes #1713)



git-svn-id: http://svn.osgeo.org/qgis/trunk@10863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-30 17:48:49 +00:00
jef
d8b93214e8 install icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@10862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-30 17:39:42 +00:00
kyngchaos
31605582a1 tidy up clutter, part 2
git-svn-id: http://svn.osgeo.org/qgis/trunk@10861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-29 14:12:57 +00:00
kyngchaos
100351b364 tidy up clutter
git-svn-id: http://svn.osgeo.org/qgis/trunk@10860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-05-29 14:11:09 +00:00