29342 Commits

Author SHA1 Message Date
Radim Blazek
08527afac2 [GRASS] fixed new feature attributes update 2015-10-20 08:53:56 +02:00
volaya
f2c7522649 [processing] added descriptions for SAGA 2.2.2
This does not fix the issue with 2.2.2, but will allow fixing alg syntaxes
2015-10-20 08:07:24 +02:00
Juergen E. Fischer
4cdf05f90f fix typo 2015-10-19 23:54:01 +02:00
Werner Macho
4aba0f4b89 Adding some translators
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-10-19 22:12:20 +02:00
Radim Blazek
bcf10f9ac6 [GRASS] fixed shell on windows 2015-10-19 19:39:13 +02:00
Radim Blazek
1582f6a27c [GRASS] fixed output map freeze in canvas on windows 2015-10-19 19:14:02 +02:00
Matthias Kuhn
1132867622 Make cadDockWidget available in python
Followup efcbbfd
2015-10-19 17:47:54 +02:00
Radim Blazek
330d024476 [GRASS] no icon module fix 2015-10-19 17:06:07 +02:00
Radim Blazek
75c7bfe0fe [GRASS] raster identify: do not start info module until it is used 2015-10-19 16:57:29 +02:00
Radim Blazek
483f3ee6b3 [GRASS] fixed running modules in mapsets not owned by user 2015-10-19 16:41:12 +02:00
Radim Blazek
6261a38e0f [GRASS] fixed split feature 2015-10-19 12:02:56 +02:00
Nyall Dawson
2aa2040e77 Fix QgsStatisticalSummary sometimes returning 0 for StDevSample stat 2015-10-19 17:37:06 +11:00
Nyall Dawson
23dd501650 Add skip all option to merge attributes dialog (fix #6958) 2015-10-19 17:36:32 +11:00
Nyall Dawson
0bda18b6e0 Fix merge attributes tool sets skipped attributes to null (fix #13231) 2015-10-19 17:36:24 +11:00
Nyall Dawson
46f073086f Mark system includes as such in CMakeLists
Avoids compiler warnings from linked system headers
2015-10-19 17:36:10 +11:00
Nyall Dawson
9319176a7c More clazy recommended optimisations:
- Use constFind instead of find where applicable
- Use midRef instead of mid
- const ref when using Q_FOREACH
- foreach->Q_FOREACH
2015-10-19 17:36:02 +11:00
Larry Shaffer
b5261619b2 [auth] Migrate more manager unit tests; add test html reporter 2015-10-18 16:40:41 -06:00
Larry Shaffer
4d44a96d19 [auth] Start full migration of Py unit tests to C++ 2015-10-18 16:40:41 -06:00
Salvatore Larosa
8337dc5c76 [vertex editor] remove unused code 2015-10-18 21:09:37 +02:00
Salvatore Larosa
a94a788dfa [symbol selector dialog] avoid QCoreApplication::postEvent: Unexpected null receiver 2015-10-18 21:09:37 +02:00
Sebastian Dietrich
8e45da9d7e db_manager allows multiple column primary keys only for PostGIS queries, not for SpatiaLite. 2015-10-18 18:10:01 +02:00
Juergen E. Fischer
cee63c84f7 vector file writer: defer destroying spatial reference (fixes #10515) 2015-10-18 16:51:14 +02:00
Radim Blazek
6426be343f [GRASS] fixed cmake build with G7 without G6 2015-10-18 14:38:58 +02:00
Radim Blazek
e37ae8bad0 [GRASS] cmake fix 2015-10-18 14:22:49 +02:00
Sebastian Dietrich
974e60c36e Merge branch 'master' into MultiColumnPK_DbManagerQuery 2015-10-18 13:58:36 +02:00
Juergen E. Fischer
c373d7bc06 heatmap plugin: fix labeling s/metre/layer units/ (fixes #11276) 2015-10-18 13:09:52 +02:00
Radim Blazek
6bd96b2810 [GRASS] temporal modules input 2015-10-18 12:58:09 +02:00
Nyall Dawson
5f1bb6cf1f Geometry fixes:
- when creating geometry from WKT, upgrade dimensionality of geometry
if coordinates are 3/4 dimensional
- match dimensionality of collections to child dimensionality
- fix area of curves was non-zero if curve is closed
- don't consider m values when testing for curve closedness
- add unit tests for closedness
- add unit tests for CircularStrings, CompoundCurves, CurvePolygon,
tests with geometries with Z/M values
2015-10-18 21:03:15 +11:00
Matthias Kuhn
63cea76313 Merge pull request #2374 from slarosa/editor_widget_take_2
Attribute table filter: follow up #2316 and 5ac5217

Fix #13486 Don't hide search widget in attribute table when typing
Properly connect the signals for the search case checkbox on the attribute table filter
2015-10-18 11:09:21 +02:00
Juergen E. Fischer
cc9c789760 avoid on duplicate user functions (fixes #13579) 2015-10-18 00:27:28 +02:00
Juergen E. Fischer
6496bc4955 fix grass <7.1 build 2015-10-17 23:20:10 +02:00
Sebastian Dietrich
ab943f8b06 the test for uniqueness now also works for multiple columns 2015-10-17 23:20:10 +02:00
Sebastian Dietrich
a4124da2a9 When loading a query as a postgis layer the primary key may now also span multiple columns. 2015-10-17 23:20:10 +02:00
Sebastian Dietrich
a721949040 Moved the code to determine the primary key for a view using the URI keyColumn to a separate function. 2015-10-17 23:20:10 +02:00
Juergen E. Fischer
3e0badcb55 Fix sip conversion from QgsFields to QList<QgsField> (fixes #9208) 2015-10-17 22:03:03 +02:00
Sebastian Dietrich
d8deb8c081 Db_Manager keeps the selected columns for primary key and geometry when running the query or rereading the columns if the selected columns still exist. 2015-10-17 16:43:54 +02:00
Juergen E. Fischer
968673591c feature request: set filter to filterrect if it's unset (fixes #13463) 2015-10-17 16:16:39 +02:00
Sebastian Dietrich
724a5bda9a Db_Manager now allows to select multiple columnns as the primary key for a query. 2015-10-17 16:15:21 +02:00
Radim Blazek
60efb82e6e [GRASS] get off_t size 2015-10-17 12:31:57 +02:00
Nyall Dawson
8c5f3f88a9 [geometry] Fix calculation of length/perimeter for collections
Split length from perimeter calculation in geometry API, as
returning perimeter for length for polygons is misleading and
results in incorrect length/perimeter calculations for mixed
geometry collections.

Enable length & perimeter unit tests against reference geometries.
Now the length & perimeter values match those calculated by
PostGIS.
2015-10-17 15:40:36 +11:00
Nyall Dawson
785d9952a0 Add a bunch of geometry unit tests against reference geometries
(inc geometry count, node count, ring count, area, centroid,
x/y min/max)

TODO:
- invesigate whether Z/M is required for GeometryCollection WKT
data type if children have Z/M dimension
- fix QGIS handling of mixing length and perimeter for collections
resulting in incorrect length calculation for mixed Collections
2015-10-17 15:02:18 +11:00
Nyall Dawson
fab5a32d9a Fix geometry casting in python bindings (missing MultiLineString and
GeometryCollection casts)
2015-10-17 15:02:11 +11:00
Sebastian Dietrich
20283a4dfc Unified the way the column comboboxes are filled when executing the query and when pressing the load columns button. 2015-10-17 02:19:41 +02:00
Sebastian Dietrich
35c3ad715c When loading a query as a postgis layer the primary key may now also span multiple columns. 2015-10-17 00:35:25 +02:00
Sebastian Dietrich
86ab6c25d8 Moved the code to determine the primary key for a view using the URI keyColumn to a separate function. 2015-10-17 00:28:17 +02:00
Nyall Dawson
24b18bc426 Call qDeleteAll on containers themselves, rather than using
qDeleteAll( container.values() ). The values() call isn't
needed and requires building a QList of values first.

Thanks clazy - keep the good optimisations coming!
2015-10-17 09:15:51 +11:00
Radim Blazek
6a1f1fdf0d [GRASS] fixed input region check 2015-10-16 19:33:12 +02:00
Radim Blazek
b2ca9d5141 [GRASS] fixed crash when edit renderer is set manually 2015-10-16 19:14:29 +02:00
Radim Blazek
f810573e72 [GRASS] update table after new feature cat was set 2015-10-16 19:01:49 +02:00
Radim Blazek
15af98745b [GRASS] add edit renderer when plugin is inited 2015-10-16 18:35:21 +02:00