29852 Commits

Author SHA1 Message Date
volaya
ae748d3b7d Merge pull request #2463 from spono/patch-7
[proessing]small correction on FUSION internal commands
2015-11-27 08:14:38 +01:00
volaya
5375522ce1 Merge pull request #2465 from spono/patch-9
[processing] Create DTM2ASCII
2015-11-27 08:12:06 +01:00
Nyall Dawson
a6d147f63e Temporarily disable part of PyQgsRulebasedRenderer test
Since testRefineWithCategories and testRefineWithRanges test were
added, this unit test has been crashing on nightlies on rare
occasions.

I can't track down what's causing this, and haven't been able to
reproduce locally.So, I'm going to temporarily skip
testRefineWithRanges to at least try and identify which of the
tests is causing the crash.
2015-11-27 16:53:32 +11:00
Nyall Dawson
22af16a1fb Mark QgsLineStringV2 as a critical class
Now has as close to 100% unit test coverage as possible
2015-11-27 16:32:57 +11:00
Nyall Dawson
7eb1133bc5 Make QgsLineStringV2::fromWkbPoints private 2015-11-27 16:32:47 +11:00
Nyall Dawson
1f33011960 Add more tests to QgsLineStringV2, fix vertexAngle calculation 2015-11-27 16:32:09 +11:00
Nyall Dawson
6ab718d6ac QgsGeometryUtils fixes
- add QgsGeometryUtils::normalizedAngle for restricting an angle
to [0, 2PI)
- fix calculations of QgsGeometryUtils::averageAngle, was returning
perpendicular angle and angles > 2Pi
- improve docs and add unit tests
2015-11-27 16:31:41 +11:00
Nyall Dawson
a0405b88b3 Avoid deprecated warnings 2015-11-27 16:30:35 +11:00
Matthias Kuhn
ca362dfd9f More build instructions for Qt5/Fedora 2015-11-26 18:36:18 +01:00
volaya
5387fd1d51 Merge pull request #2504 from saberraz/master
Fix problem with QSpinBox error in Processing dialog windows, fixes #13884
2015-11-26 16:00:11 +01:00
radosuav
c58981fd5e [Processing] Check layer projection when using it for subset extent 2015-11-26 15:29:35 +01:00
Matthias Kuhn
114b04ece1 Add build instructions for Fedora/Qt5 2015-11-26 15:11:08 +01:00
Sab
06357dd31e Fix problem with QSpinBox error in Processing dialog windows
This will cause QGIS to crash, when accessing Processing > Options
items.
2015-11-26 13:12:03 +00:00
rldhont
da4fe7e018 [QGIS-Server] Enhance store project keyword list 2015-11-26 11:18:00 +01:00
Matthias Kuhn
001f4bc581 Disable grass7 tests
Packages are unavailable (at the moment?)
2015-11-26 09:03:32 +01:00
Matthias Kuhn
799b402fdc Remove unrequired var 2015-11-26 09:00:44 +01:00
Nyall Dawson
74ca290bd3 QgsLineStringV2 fixes
- fix incorrect centroid calculation (was always returning 0,0)
- fix closestSegment when numPoints < 2
- fix broken leftOf calculation for closestSegment
- area calculation when numPoints < 2

Plus add more unit tests
2015-11-26 16:56:30 +11:00
Nyall Dawson
da436f926b [FEATURE] New 'reverse' expression for reversing linestrings 2015-11-26 16:53:55 +11:00
Nyall Dawson
4624fb88ae Update test mask images 2015-11-26 12:53:52 +11:00
Daan Goedkoop
0e866f02e9 Check for short-circuit in QgsCoordinateTransform::transformCoords 2015-11-26 12:34:35 +11:00
Nyall Dawson
de602e7b2d 'fix' build with Ubuntu 15.10
Avoid totally bizarre fontutils test moc error by renaming to
'typographicstylingutils'.

(Pretty sure Ubuntu 15.10 is haunted by ghosts)
2015-11-26 07:12:53 +11:00
Juergen E. Fischer
77526bd1a3 remove references to coding (followup 7b0837f) 2015-11-25 15:05:23 +01:00
Nyall Dawson
f3507747a7 QgsLineStringV2: better handling of LineString25D, more tests 2015-11-25 17:00:55 +11:00
Nyall Dawson
f45f688f61 [labeling] Avoid placing labels over ANY part of point symbols 2015-11-25 17:00:20 +11:00
Nyall Dawson
3e618916eb [pal] Don't treat joined features as obstacles for each other
Eg, if the "merge connected features" option for a layer is checked
then label candidates generated for the merged line should not
be marked as in conflict with any part of the merged line.
Previously they would be marked in conflict with all but one part
of the merged line, resulting in false penalties being applied
to these candidates and non-ideal final label placements.
2015-11-25 08:11:43 +11:00
Nyall Dawson
e03f5549ca Update test mask images 2015-11-25 07:48:47 +11:00
Nyall Dawson
c7c71d939e Followup b10e708, fix failing PyQgsServerAccessControl test on Travis 2015-11-25 07:43:57 +11:00
Nyall Dawson
cac9c9ee12 Avoid some deprecated warnings 2015-11-25 07:13:01 +11:00
Matthias Kuhn
3624d7b4d8 Use window system provided cursors rather than bitmaps 2015-11-24 18:12:00 +01:00
Matthias Kuhn
afd436da9f Yet another fix to 594fafe 2015-11-24 16:57:43 +01:00
Matthias Kuhn
a630205f70 Fixup 7b0837f 2015-11-24 16:47:38 +01:00
Matthias Kuhn
7b0837f490 Remove CODING from source tree
It has all been moved to
http://qgis.org/en/site/getinvolved/development/qgisdevelopersguide.html
Where it is managed as .rst and translatable.
2015-11-24 16:35:19 +01:00
Matthias Kuhn
2e7c33281c Followup 594fafe73b8, Also fix processing 2015-11-24 16:29:35 +01:00
Marco Hugentobler
594fafe73b Fix ftools geometry collection handling 2015-11-24 15:42:33 +01:00
Matthias Kuhn
2543af5089 Get rid of warning on exit 2015-11-24 10:33:41 +01:00
Nyall Dawson
ff36573a74 Fix crash in QgsLineStringV2::append if non z/m line appended
to a LineString with z/m

Add a bunch of unit tests for QgsLineStringV2 and fix some other
minor issues which they identified.
2015-11-24 16:38:40 +11:00
Nyall Dawson
7443431ee4 Fix incorrect GML from QgsPointV2::asGML3
Also finish unit tests for QgsPointV2 and mark as a critical class
2015-11-24 16:22:55 +11:00
Juergen E. Fischer
b10e708b39 some fixes to the server access control tests on windows 2015-11-23 23:51:38 +01:00
Matthias Kuhn
7bcc935f4d Fix layout problems with relation reference widget 2015-11-23 22:24:52 +01:00
Nyall Dawson
675da0ce40 Fix PyQgsServerAccessControl on Ubuntu
Add size tolerance to legend images, add masks for legend images
2015-11-24 07:54:29 +11:00
Nyall Dawson
f1458434fb Followup 7d600bd, proper fix for failing labeling engine test
When labelFeatures is called outside of the renderering loop,
we need to make sure the renderer is prepared by calling
startRender.
2015-11-24 07:26:37 +11:00
Nyall Dawson
ffebfd9bb7 [FEATURE] Allow overide of geometry type in vector save as dialog
Also allows forcing output file to be multi type, or include z
dimension.

This makes it possible to do things like save a geometryless
table WITH a geometry type, so that geometries can then be
manually added to rows. Previously this was only possible to do in
QGIS by resorting to dummy joins or other hacks.
2015-11-24 06:30:15 +11:00
Nic
4f9244d6f0 Update TinSurfaceCreate.py 2015-11-23 17:41:39 +01:00
Juergen E. Fischer
09e7102fda fix local simplification for ZM geometries 2015-11-23 14:25:55 +01:00
Nyall Dawson
169989a02f Update test mask images 2015-11-23 21:03:04 +11:00
Nyall Dawson
1f0d24a0c7 [FEATURE] Show z/m values in derived info for identify tool
For lines/polygons, identify tool will show vertex number and
x/y/z/m for nearest vertex to identify point.

Also add number of parts and part number to results for collections.
2015-11-23 17:31:54 +11:00
Juergen E. Fischer
57c22e5020 'fix' weird automoc test problem on wily 2015-11-22 23:27:16 +01:00
Matthias Kuhn
7840dbe392 Do not wrap labels in composer legend properties widget
Fix #10498
2015-11-22 21:41:43 +01:00
Nyall Dawson
88beaaea0f Minor coverity fixes 2015-11-23 06:59:02 +11:00
Nyall Dawson
73ac9f9acd Update test mask images 2015-11-23 06:03:44 +11:00