3022 Commits

Author SHA1 Message Date
Martin Dobias
c465c9f03d Fix #8434 (join by spatial location locks up QGIS)
By caching the features of the provider in the inner loop, there is
a considerable speedup (compared to doing millions of queries)
2014-02-10 14:47:51 +07:00
Sandro Santilli
0d4968c80a Fix type of "face_seed" layer in TopoViewer 2014-02-09 21:42:12 +01:00
Martin Dobias
77a24cbeb4 Fix #8996 (Composer crashes QGIS when setComposition() method called) 2014-02-09 20:25:20 +07:00
Juergen E. Fischer
780443e200 indentation update 2014-02-09 11:26:56 +01:00
Juergen E. Fischer
52616b6549 vector layer: save old attribute values where available to speedup undo (and rollback) (fixes #9509)
field calculator & app: use wait cursor while calculating and committing or rolling back
2014-02-08 23:28:52 +01:00
Sandro Santilli
02409e9901 Pass extent of loaded views to the provider via URI
Completes the speed up loading of view layers in TopoViewer.
Finally and definitely fixes #9510.

NOTE: the commit also adds a layer for face's MBR, which serves
the purpose (among others) to allow for easy computing extent.
2014-02-08 19:25:04 +01:00
Sandro Santilli
56bebb193b Pass wkbType and SRID of loaded views to the provider via URI
Slighly speeds up loading of view layers in TopoViewer (#9510).
Unfortunately there's no way to also pass in the Extent, so loading
is still slow.
2014-02-08 17:05:47 +01:00
Sandro Santilli
188b373bad Fix loading of face layers after breaking it with 73b49867
Fix #9510 again
2014-02-08 14:31:29 +01:00
Sandro Santilli
6dd0cbe542 Update TopoViewer style templates to 2.2.0 version
Fix #9512
2014-02-08 14:11:24 +01:00
Sandro Santilli
73b4986747 Speed up topology loading
When loading topology viewer on a PostGIS-2.0+ database, it includes
type and srid typmod in the view layers, avoiding a full scan of
the datasets.

Fix #9510
2014-02-08 12:26:19 +01:00
Juergen E. Fischer
5397dfe538 update qgis.org links 2014-02-07 21:02:11 +01:00
Alexander Bruy
cedc22ff43 [processing] fix docstring 2014-02-07 15:57:14 +02:00
Martin Dobias
408e2b7a12 Fix #8864 (Random selection with subsampling broken) 2014-02-07 16:19:29 +07:00
Martin Dobias
caf33b657f Fix #8174 (overlaps when using 'avoid intersections' functionality) + test
I am not entirely confident if it will work perfectly with older versions of GEOS (< 3.3)
because of the lack of unary union (that is emulated by series of unions of two geometries)
2014-02-07 12:03:18 +07:00
Nyall Dawson
d22f7e8b9d [composer] Fix stacking of items breaks after pasting items. Make sure pasted items are always placed in correct order on top of composition. 2014-02-06 22:46:42 +11:00
Giuseppe Sucameli
58faa5b4ad Merge pull request #1129 from etiennesky/gdaltools_fixes2
gdaltools: use GDAL python bindings to get raster SRS and extent (fix #9460)
2014-02-05 23:54:12 +01:00
Nyall Dawson
78ecef6f2a [composer] Draw mouse handles and item bounds outside of item's frames, so that snapping occurs to edge of item frame (fix #8943) 2014-02-04 19:01:41 +11:00
Matthias Kuhn
e4f410b589 [ftools] S'part to M'part with non-string columns and NULL values
Fix #8625
2014-01-30 23:59:31 +01:00
Etienne Tourigny
4b9e181e23 use python API to get raster extent, instead of relying on gdalinfo 2014-01-30 11:42:00 -02:00
Etienne Tourigny
1d812b3187 use python API to get raster SRS, instead of relying on gdalinfo 2014-01-30 11:13:21 -02:00
Juergen E. Fischer
bc757ffe50 * fix QgsGeometry::moveVertex for multipolygons()
* add test for QgsGeometry::addPart()
* remove expectedFailure decoration from PyQgsGeometry.testSimplifyIssue4189
* modify move and translate tests by 1,1 to 1,2
2014-01-29 21:36:50 +01:00
Etienne Tourigny
d63104ae50 fix gdaltools getRasterSRS() and use gdalsrsinfo with gdal >= 1.9 2014-01-29 16:51:39 -02:00
Etienne Tourigny
2dabba4530 gdaltools batch operations: only update progress when there are input files to process 2014-01-28 16:24:42 -02:00
Etienne Tourigny
921510d12f gdaltools warp: overwrite existing files when not in batch mode 2014-01-28 16:04:09 -02:00
Juergen E. Fischer
d647354a52 sip fixes 2014-01-28 00:26:13 +01:00
Nathan Woodrow
7b21c727f3 Fix windows build 2014-01-27 22:55:02 +10:00
Juergen E. Fischer
b49dda6984 sip documentation fix 2014-01-27 09:30:53 +01:00
Juergen E. Fischer
74e7314c36 update sip bindings II 2014-01-27 09:22:53 +01:00
Juergen E. Fischer
d4e369414b update sip bindings 2014-01-26 18:36:29 +01:00
volaya
a30a9dd05e Merge pull request #992 from fsdias/master
Fix Relative_distribution_(distance_covariate).rsx
2014-01-24 00:34:02 -08:00
Juergen E. Fischer
cb5c4e9982 add QgsDistanceArea tests and enhance QgsGeometry tests a bit
(in preparation for a QgsGeometry wkb update)
2014-01-23 21:37:03 +01:00
Marco Hugentobler
f351c4f7f8 [FEATURE:] Add point sample class to analysis library 2014-01-23 16:12:26 +01:00
Marco Hugentobler
b086195888 Add qgstransectsample.sip 2014-01-23 16:12:26 +01:00
Martin Dobias
3568fe761e Merge pull request #1075 from Oslandia/expressions_in_symbol_rotation_and_scale_for_pr
[FEATURE] allow for expressions in symbol rotation and scale
2014-01-23 00:12:04 -08:00
Alvaro Huarte
f6f0384c6b #87525R: refactoring and minor changes 2014-01-22 12:52:06 +01:00
Tim Sutton
f2d0100d5d Merge pull request #1094 from ahuarte47/Issue_8725R-maxscale
Feature #8725R: support for maximum scale at which the layer should be simplified
2014-01-22 02:14:41 -08:00
Marco Hugentobler
a5b0e04585 Consider scale based visibility in dxf export. Const correctness for maplayer accessors 2014-01-21 09:18:22 +01:00
Nyall Dawson
7d2bf150ed [FEATURE] Add option for simple line symbols to be drawn only inside a
polygon. Allows for creation of "national geographic" style borders on
maps where a thick border does not overlap into neighbouring polygons.
2014-01-21 15:58:29 +11:00
ahuarte47
031596c4e4 #8725R: define simplifyDrawingCanbeApplied better 2014-01-21 02:12:12 +01:00
ahuarte47
653af3a459 #8725R: add maximum scale at which the layer should be simplified 2014-01-21 01:39:16 +01:00
Nyall Dawson
85a17c246a Add QgsMapLayerAction and QgsMapLayerActionRegistry, which can be
used as a generic api for registering actions which can apply to
a specific map layer or layer type.

Create a QgsMapLayerAction for setting features as the current
atlas feature for compositions.

This work was kindly sponsored by SIGE (www.sige.ch).
2014-01-20 21:35:56 +11:00
Juergen E. Fischer
a9d8bd1e5b update sip some bindings 2014-01-18 23:05:32 +01:00
Juergen E. Fischer
7ca60b30e5 followup f33c4904d3b: add Q_DECL_DEPRECATED and sip annotation to hasCrsTransformEnabled signal 2014-01-17 14:09:25 +01:00
Radim Blazek
f33c4904d3 signal hasCrsTransformEnabled() renamed to hasCrsTransformEnabledChanged() 2014-01-16 17:28:00 +01:00
Denis Rouzaud
0ca7316371 DB Manager: remove text under icons 2014-01-15 13:54:35 +01:00
Alvaro Huarte
8fb87f1828 #8725-R: minor changes 2014-01-15 11:00:01 +01:00
ahuarte47
61041dac25 #8725-R: simplify edited geometries in QgsVectorLayerFeatureIterator 2014-01-15 11:00:01 +01:00
ahuarte47
d439dfbc88 #8725-R: include qgsvectorsimplifymethod.sip 2014-01-15 11:00:01 +01:00
vmora
7d404d97ca allow for expressions in symbol rotation and scale
the single, graduated and categorised symbol renderers have been
refactored to avoid use of raw pointers (auto_ptr are used instead, they
are deprecated in c++11 but the change for unique_ptr is an easy one and
they clearly state the design intend: exclusive ownership)

2 general use function to quote and unquote strings for/from xml have
been added to qgis.h
2014-01-14 17:25:00 +01:00
Nyall Dawson
6bb9dfec00 [FEATURE][composer] Allow for more than one atlas controlled map in compositions (or none), by moving some atlas properties to map items (fix #9248) (fix #6484) 2014-01-14 22:52:01 +11:00