29605 Commits

Author SHA1 Message Date
Sandro Santilli
824fd7bf32 Fix endpoint swap on negative marker line offset
Fixes #13811
Includes testcase
2015-11-13 15:29:44 +01:00
volaya
358e0f70bb [processing] fixed wrong param name in SAGA 2.2.0 regression kriging 2015-11-13 13:04:17 +01:00
volaya
54c4f750e6 [processing] fixed concave hull algorithm 2015-11-13 12:20:53 +01:00
volaya
cba585df2b [processing] correctly set geometry type of input in clip algorithm 2015-11-13 12:20:52 +01:00
Nathan Woodrow
860682c145 Only pick up qpt files in composer manager 2015-11-13 20:01:21 +10:00
Denis Rouzaud
31ac9be340 [search widgets] when selecting _Please select_ find all features 2015-11-13 09:01:19 +01:00
Denis Rouzaud
b2034f2ea6 QgsValueMapSearchW inherits QgsSearchW
and not QgsDefaultSearchW anymore
fixes expression creation
2015-11-13 09:01:19 +01:00
Denis Rouzaud
7f556fd99d QgsValueRelationSearchW inherits QgsSearchW
and not QgsDefaultSearchW
also handles properly the (no selection) case
2015-11-13 09:01:18 +01:00
Denis Rouzaud
f31c0e7bf0 fix value relation search widget
currently, changing the entr doesn't do anything in the attribute table since no signal is emitted

should be backported to 2.12
2015-11-13 09:01:18 +01:00
alexbruy
ce0d966b29 Merge pull request #2452 from nyalldawson/processing_select
[processing] speedup some QGIS algorithms
2015-11-13 09:15:55 +02:00
Nyall Dawson
a10936f06a Use a set for classes in PointsInPolygonUnique (faster) 2015-11-13 13:24:08 +11:00
Nyall Dawson
596b56c441 Faster PointsInPolygon(+Unique/Weighted) algorithms
- Avoid use of seperate feature requests for every point
- Use GEOS prepared geometries when testing for point containment

Quick stats:

~1500 point layer

BEFORE: 17 seconds
AFTER: 3 seconds

~900k point layer

BEFORE: 30 mins = canceled at 20%
AFTER: 2.5 mins = 100% complete
2015-11-13 13:24:08 +11:00
Nyall Dawson
7c8177e01a Use expression filter request for SelectByAttribute
Makes SelectByAttribute orders of magnitude faster for providers which
support compiled expressions (eg Postgres), also allows algorithm
to take advantage of database indexes created on attribute.

For a 4 million point PostGIS layer (with an index on attribute)
BEFORE: cancelled after 20 mins
AFTER: ~2 seconds
2015-11-13 13:23:18 +11:00
Juergen E. Fischer
d8f5dbeb4e Limit extent reprojection workaround to vector layers (followup 51fe632; fixes #13735; refs #7596) 2015-11-12 23:42:17 +01:00
Radim Blazek
fd9f0b5268 [GRASS] fixed cat shift when importing vectors via browser, fixes #13815 2015-11-12 18:10:56 +01:00
Alessandro Pasotti
854ce17699 Merge pull request #2443 from elpaso/bugfix-11794
SQLITE ask for a new name if already exists
2015-11-12 17:50:23 +01:00
Alessandro Pasotti
be8c7dac4f Merge pull request #2449 from elpaso/bugfix-11517
Fix attribute sync to layer for python init code and make QgsAttributeDialog reachable form python
2015-11-12 17:49:30 +01:00
elpaso
ad2caed3b2 Removed parent and replaced with QgsAttributeDialog
This makes possible to resize/alter the outer dialog
from python init code in the form.

Fixes #11517 (indirectly)
2015-11-12 16:55:39 +01:00
elpaso
17df615c18 Fixed attribute sync to layer for init code
Also removed UI connect in favour of QMetaObject::connectSlotsByName
to be consistent with other methods in the same class
2015-11-12 16:53:18 +01:00
alexbruy
c483411034 Merge pull request #2447 from NaturalGIS/fix_saga_220_kriging
[processing] fix SAGA 2.2.0 kriging
2015-11-12 17:37:01 +02:00
Marco Bernasocchi
6b3eddd0d0 fix biulding issue when WITH_QT_WEBKIT=OFF 2015-11-12 16:33:29 +01:00
Giovanni Manghi
19376770af missing parameter 2015-11-12 14:28:03 +00:00
alexbruy
20a8b37d6f Merge pull request #2444 from NaturalGIS/fix_saga_212_kriging
[processing] fix SAGA 2.1.2 kriging
2015-11-12 16:19:12 +02:00
Giovanni Manghi
957c019027 fix SAGA 2.2.0 kriging 2015-11-12 14:12:52 +00:00
Denis Rouzaud
0461cbdd22 use aliases instead of field names in attribute table column filter list 2015-11-12 14:26:01 +01:00
Matthias Kuhn
f1fe98558a [qt5] Fix QCA Cmake 2015-11-12 14:14:03 +01:00
Matthias Kuhn
1bb7aff067 [qt5] Fix QScintilla cmake file 2015-11-12 14:14:03 +01:00
Giovanni Manghi
be563584ed fix SAGA 2.1.2 kriging 2015-11-12 12:44:13 +00:00
elpaso
325f0992e7 SQLITE ask for a new name if already exists
If the db name already exists, allow to enter a new name.
Fixes #11794
2015-11-12 13:22:53 +01:00
rldhont
81acd07edc Update [BUGFIX] 13118 QGIS Server - WFS - GeoJSON and escaping line breaks
Enhance replace, thanks to @nyalldawson
Enhance format, thanks to @jef-n

fixes #13118
2015-11-12 11:41:38 +01:00
Nyall Dawson
df6c7104e2 Use QgsStatisticalSummary for merge attributes dialog
Adds a bunch of new stats and avoids code duplication
2015-11-12 20:29:07 +11:00
Nyall Dawson
cdf21b7c3e Return derived classes from clone() methods, avoids need to
dynamic_cast results
2015-11-12 20:29:06 +11:00
Nyall Dawson
dfb1585c49 Bump QgsStatisticSummary test coverage 2015-11-12 20:29:06 +11:00
Juergen E. Fischer
6e1df491f6 fix windows build (followup 2175e7a) 2015-11-12 09:46:42 +01:00
Matthias Kuhn
8803cb4241 Merge pull request #2437 from bstroebl/improveDissolve
[PROCESSING] Speed up dissolve without changing parameters
2015-11-12 09:08:52 +01:00
Richard Duivenvoorde
b741986041 new splash for dev (Las Palmas Hackfest) 2015-11-11 23:23:14 +01:00
Matthias Kuhn
56ccb2b858 sipClass_Klass is deprecated for a long time: replace with sipType_Klass 2015-11-11 23:22:51 +01:00
rldhont
016f497726 [BUGFIX] 13118 QGIS Server - WFS - GeoJSON and escaping line breaks
Line breaks are not properly handled in GeoJSON results when making GetFeature requests.
Line breaks should be replaced by \\n.
2015-11-11 20:12:35 +01:00
Bernhard Ströbl
cfb932afa9 [PROCESSING] Speed up dissolve without changing parameters 2015-11-11 16:29:33 +01:00
Matthias Kuhn
b4d206af71 Updates for GDAL 2 2015-11-11 13:07:21 +01:00
Matthias Kuhn
ec1097c9f5 Change links to https 2015-11-11 11:08:35 +01:00
rldhont
2175e7a9cb [QGIS-Server] Use layer precision in searchRect 2015-11-11 10:49:20 +01:00
Matthias Kuhn
4f6989ecbd [qt5] Fix crash on exit
See https://bugreports.qt.io/browse/QTBUG-35977
2015-11-11 10:19:16 +01:00
Nyall Dawson
bb339f7a5b 100% test coverage for QgsFeature 2015-11-11 19:51:43 +11:00
Nyall Dawson
87168c14a5 100% test coverage for QgsWKBTypes, add missing docs 2015-11-11 19:51:42 +11:00
Nyall Dawson
fd317701fb Avoid warning 2015-11-11 19:51:42 +11:00
Nyall Dawson
b384f18a3d Followup f9fa9793, avoid expensive intersection calculation when
testing label candidates against polygon obstacles

Fix #13556
2015-11-11 19:51:42 +11:00
Juergen E. Fischer
04abaf3bfa fix 81bbb82 2015-11-10 21:31:22 +00:00
Jürgen Fischer
8ec0208408 Merge pull request #2436 from dgoedkoop/linePointDifferenceFix
Fix QgsGeos::linePointDifference
2015-11-10 21:18:11 +00:00
Daan Goedkoop
c05057158b Fix QgsGeos::linePointDifference 2015-11-10 22:06:42 +01:00