570 Commits

Author SHA1 Message Date
mhugent
c1ca74c830 don't forget the python bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@13136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-21 21:27:20 +00:00
jef
364a099095 fix vector grid
git-svn-id: http://svn.osgeo.org/qgis/trunk@13105 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-20 13:24:35 +00:00
borysiasty
e5fb2d37e1 better names for plugin help files: index-ll_CC.html or index-ll.html
git-svn-id: http://svn.osgeo.org/qgis/trunk@13100 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-20 09:50:58 +00:00
borysiasty
515393ea81 new utils.showPluginHelp() method - patch #2562 by ccrook applied
git-svn-id: http://svn.osgeo.org/qgis/trunk@13097 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-20 09:23:38 +00:00
borysiasty
0adff9dbb0 plugin installer fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@13090 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-19 21:35:23 +00:00
borysiasty
f534fbb491 Plugin Installer fix (prevent some depreciation warnings)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13087 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-19 16:18:22 +00:00
borysiasty
01fc3fb0b1 Patch #2422 applied
git-svn-id: http://svn.osgeo.org/qgis/trunk@13086 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-19 15:24:04 +00:00
mhugent
d14a5e643a Apply patch #2452 (save as vector)
git-svn-id: http://svn.osgeo.org/qgis/trunk@13072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-18 22:24:18 +00:00
wonder
24b1c0b14e Added missing QgsGeometry::contains predicate.
Contributed by Jeremy Palmer (#2560).


git-svn-id: http://svn.osgeo.org/qgis/trunk@13065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-17 09:25:55 +00:00
jef
b4f124b181 followup r13013 and implement #2539
git-svn-id: http://svn.osgeo.org/qgis/trunk@13055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-15 00:40:27 +00:00
borysiasty
c577cfbfa8 [FEATURE] Applied patch #2541 - initial implementing the canBeUninstalled python plugin method
git-svn-id: http://svn.osgeo.org/qgis/trunk@13050 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-12 07:58:48 +00:00
jef
4852ceb147 apply #2460 (slightly modified). Thanks Jeremy Palmer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 23:58:48 +00:00
cfarmer
4e23117f6c Fixes error message for all Geoprocessing functions, now provides more useful information.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 19:50:09 +00:00
cfarmer
2033db16c9 Join attributes tool now supports both dbf and csv files. Uses OGR provider to read tabular information (a bit of a hack, but it seems to work).
Should be slightly faster, and more robust to different file encodings and formats...


git-svn-id: http://svn.osgeo.org/qgis/trunk@13039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 19:19:58 +00:00
cfarmer
19e7b9fcf9 Union now supports all vector data types. This has not been extensively tested, and may produce odd results in some cases.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 01:21:07 +00:00
cfarmer
24ba0309ff Large commit with several related bug fixes:
1) All fTools functions should now add all layers to dropdowns (including non-visible layers), 
2) All fTools functions should now be non-modal
3) Several fTools functions have been spead up slightly
4) Where possible, internal (cpp) functions have be used to replace older Python functions
5) Defining projections now also considers .qpj files
Fixes bugs #2502 and #2506, and possibly others?


git-svn-id: http://svn.osgeo.org/qgis/trunk@13037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 01:11:11 +00:00
cfarmer
63c36711a0 Uses spatial index to select intersecting features (used selections before). Tool should run faster and with fewer map canvas glitches.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13036 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 00:49:23 +00:00
cfarmer
cd23b747a9 Uses spatial index to select intersecting features (used selections before). Tools should both run faster and with fewer map canvas glitches.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13035 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-10 00:16:03 +00:00
cfarmer
fae4a08a8c Uses Qt functions to determine output file name and path correctly (all? ftools output files should now be loaded with correct layer name). Fixes #2498.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-09 00:52:39 +00:00
cfarmer
1f0d1afa9a Simplify geometry tool now works properly for multipart features. Note: tool now uses builtin simplify function from QgsGeometry (i.e. should be noticeably faster). Fixes #2493 and #2499.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13033 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-09 00:22:34 +00:00
cfarmer
1f1d648c49 Fixes bug which only computed the convex hull of features within the current extent (i.e. entire extent of layer is now used: as expected). Fixes #2507.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13032 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 23:59:40 +00:00
cfarmer
f60dda6be9 Fixes crash when 'use selected' checkbox is check but no features are selected. Fixes #2504.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13031 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 23:43:55 +00:00
cfarmer
428b72812b Means for unique values now properly calculated. Fixes #2509.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13030 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 23:15:11 +00:00
cfarmer
7bfbb762eb Basic statistics tool should no longer crash with PostGIS layers. Also adds support for varchar, char, and text fields (PostGIS layers). Should fix #2510
git-svn-id: http://svn.osgeo.org/qgis/trunk@13028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 21:23:50 +00:00
cfarmer
f0e23e3e21 Names in dropdown lists are now correctly cleared when changing between layers. Fixes #2505
git-svn-id: http://svn.osgeo.org/qgis/trunk@13027 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 20:38:40 +00:00
cfarmer
1def2d3496 oops, didn't see patch, patch implementation more elegant (qt-ish), thanks alexbruy
git-svn-id: http://svn.osgeo.org/qgis/trunk@13026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 20:25:51 +00:00
cfarmer
4fa5e8f07d Adding projection information (prj-file) no longer throws an error if folder has cyrillics. Fixes #2501.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13025 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 20:19:04 +00:00
cfarmer
c902101fea reactivate select by location progress bar. Fixes #2517; Thanks to alexbruy for the patch!
git-svn-id: http://svn.osgeo.org/qgis/trunk@13024 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 19:57:34 +00:00
cfarmer
005205d04b Both tools now uses project crs instead of None (or input vector layer if selected in regular points). Fixes #2494.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13022 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 02:20:27 +00:00
cfarmer
3fa3d0021a Vector grid tool now uses project crs instead of None. Fixes #2494.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 02:14:14 +00:00
cfarmer
31ce45e750 Removes limitation on maximum no of selectable features. Fixes #2503. Patch thanks to alexbruy.
git-svn-id: http://svn.osgeo.org/qgis/trunk@13020 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 02:08:14 +00:00
cfarmer
ebc2e6f72a Updates distance matrix tool to allow non ascii characters in id fields. This is based on a workaround (from http://docs.python.org/library/csv.html), as the default Python csv function(s) do not support nonascii characters. Fixes #2496
git-svn-id: http://svn.osgeo.org/qgis/trunk@13019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-08 02:01:33 +00:00
mhugent
3249d776fd Update sip file for qgspoint
git-svn-id: http://svn.osgeo.org/qgis/trunk@13005 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-05 12:28:08 +00:00
wonder
cff9617279 PyQGIS: Fixed splitGeometry() method
git-svn-id: http://svn.osgeo.org/qgis/trunk@12992 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-03-02 20:54:28 +00:00
cfarmer
196037ddb3 clean output proj file name, fixes: #2466
git-svn-id: http://svn.osgeo.org/qgis/trunk@12974 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-25 11:03:08 +00:00
jef
406fb6c927 fix crash when trying to reproject empty layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@12970 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-24 12:54:42 +00:00
wonder
73a878dfcd Added renderStarting() signal to QgsMapCanvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12955 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-18 21:25:20 +00:00
cfarmer
780e280a9e quick typo fix to join attribute tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@12952 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-16 22:31:03 +00:00
wonder
857680bdba PyQGIS: small fixes for handling of QML styling.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-16 10:22:29 +00:00
wonder
63d0a6520d Added QgsMapCanvas::layers() method
git-svn-id: http://svn.osgeo.org/qgis/trunk@12935 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-12 09:49:51 +00:00
mhugent
fc8fed77f3 Add transfer this to second composer shape constructor
git-svn-id: http://svn.osgeo.org/qgis/trunk@12928 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-11 20:11:48 +00:00
wonder
22cabce51e Python console: basic syntax highlighting (prompt, errors)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-10 19:03:27 +00:00
mhugent
29e02fca83 add shape methods to composerview sip
git-svn-id: http://svn.osgeo.org/qgis/trunk@12910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 16:18:36 +00:00
wonder
64b68ae565 Applied patch from #2424 by Mathias Walker.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 16:11:01 +00:00
mhugent
1f3f3ee630 Fix for previous fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@12907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 14:34:17 +00:00
mhugent
f4c042d561 Add composer shape item to sip list
git-svn-id: http://svn.osgeo.org/qgis/trunk@12905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-09 13:14:53 +00:00
wonder
757c42e8ac Fixed compilation of python bindings due my recent changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-08 09:33:23 +00:00
cfarmer
f4acc0409e update maximum grid spacing for regular points tool (fixes #2404).
git-svn-id: http://svn.osgeo.org/qgis/trunk@12893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-07 12:43:33 +00:00
cfarmer
d8d35de5b3 check for both lower- and upper-case extensions (fixes #2414), and clear field names upon update (fixes#2386).
git-svn-id: http://svn.osgeo.org/qgis/trunk@12892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-07 12:27:37 +00:00
jef
ea9ae01959 improve vector file writers error reporting
git-svn-id: http://svn.osgeo.org/qgis/trunk@12890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-06 19:27:36 +00:00