31213 Commits

Author SHA1 Message Date
Sandro Santilli
d8a768f0a0 Make geometry typmod available for topology face layer queries
Greatly improves performances on topology loading.
See http://hub.qgis.org/issues/14356
2016-02-22 23:13:39 +01:00
Alessandro Pasotti
bf583c7236 Merge pull request #2830 from elpaso/server-fix-info_format2
[bugfix][server] text/plain as default info_format
2016-02-22 22:28:25 +01:00
elpaso
3df100f9a0 Removed debug code 2016-02-22 22:03:21 +01:00
Juergen E. Fischer
3a8c1c76ae nsis: cleanup after msys 2016-02-22 22:01:12 +01:00
Radim Blazek
0b4b0ccc30 [GRASS] support extension filter in file output, fixes #5011 2016-02-22 20:39:04 +01:00
Radim Blazek
6475360cd5 [GRASS] fixed v.in.ogr.all.loc input widget 2016-02-22 20:17:31 +01:00
elpaso
82cee03057 Added test data for GetFeatureInfo 2016-02-22 18:52:53 +01:00
elpaso
0a9063b42b [bugfix][server] text/plain as default info_format
Added deafult info_format (text/plain) as per specs.
Fixed error message when info format was not set or wrong.
Added test for GetFeatureInfo.
2016-02-22 18:49:55 +01:00
Hugo Mercier
b92cb81fe7 [processing] Change version test so that ExecuteSQL is testable during feature freeze 2016-02-22 15:09:15 +01:00
Hugo Mercier
0e704523b7 Fix text encoding issues in virtual layers (fixes #14350) 2016-02-22 15:03:45 +01:00
Hugo Mercier
3dea491ded Fix text encoding in request filter expression 2016-02-22 15:03:45 +01:00
Nathan Woodrow
83c57ef5fa Expression widget - Filter headers with no search results 2016-02-22 22:54:07 +10:00
Juergen E. Fischer
f1e1559e74 don't try to refresh the layer extent after deletion of features, if
useEstimatedMetadata is enabled (tradeoff for large layers)
2016-02-22 13:48:30 +01:00
Denis Rouzaud
5b46f487ac External Resource Widget: avoid having undefined value in document viewer type combobox 2016-02-22 13:45:32 +01:00
Alexander Bruy
d3852e481e [processing] fix handling of NULLs is Basic statistics for text fields 2016-02-22 13:35:13 +02:00
Radim Blazek
847f1c076f browser favourites: add items for providers 2016-02-22 11:38:10 +01:00
Sebastian Dietrich
138be4a359 Don't zoom when panning with the keyboard on a rotated QgsMapCanvas
Fixes #14243

Signed-off-by: Sandro Santilli <strk@keybit.net>
2016-02-22 10:46:06 +01:00
Radim Blazek
81a1f6317d [GRASS] new mapset: re-enable set extent button if canvas extent is valid 2016-02-22 10:38:25 +01:00
Alexander Bruy
ed38d5d95e Merge pull request #2819 from NaturalGIS/processing_fix_grass_grass7_r_sunmask
[processing] fix GRASS and GRASS7 r.sunmask
2016-02-22 11:33:20 +02:00
Richard Duivenvoorde
70ff8b5b3e Merge pull request #2826 from DelazJ/patch-1
Update label
2016-02-22 10:32:56 +01:00
Nyall Dawson
a1672da17c Fix some test failures, warnings in nightlies
Add more tolerance to distance area tests, fix doxygen param option
2016-02-22 13:48:10 +11:00
Nyall Dawson
173c7d7814 [server] Fix some exceptions were not correctly restoring layer opacity 2016-02-22 11:06:53 +11:00
Nyall Dawson
f264799f08 [server] Make restoration of original layer subsetStrings much more
robust (there were many code paths where the original filters
were not being correctly restored)
2016-02-22 11:06:17 +11:00
Nyall Dawson
a46dca56f6 Correctly restore layer subsetStrings after wfs/wms requests...
by switching storage/restoration of subset strings to use
QgsMapLayer pointers instead of layer ids. It seems that the
majority of layers created by server are not registered in
the map layer registry, so retrieving layers by layer id
under server is not reliable.
2016-02-22 11:00:55 +11:00
Nyall Dawson
90a4ae8065 Fix #13919, don't reset layer subsetStrings when server python plugins
are enabled
2016-02-22 11:00:05 +11:00
Nyall Dawson
ba7dc0d7e7 Add unit tests for #13919 2016-02-22 10:20:22 +11:00
Nyall Dawson
0446f50729 Fix slow filter rect requests with server python plugins (refs #13919) 2016-02-22 10:20:22 +11:00
Jürgen Fischer
fab8dc2176 Merge pull request #2817 from jef-n/geometryv2-cache-cs
change QgsAbstractGeometryV2::coordinateSequence() to return a
2016-02-21 22:33:27 +01:00
Juergen E. Fischer
e503c705a1 change QgsAbstractGeometryV2::coordinateSequence() to return a
implicitly shared copy of an internal cache instead of recreating the
coordinate sequence again and again.

Improves performance of the nodetool on large features a lot (refs #13963)

Also introduce Qgs(Coordinate|Ring|Point)SequenceV2 typedefs.
2016-02-21 21:49:51 +01:00
Jürgen Fischer
4485d3abcf Merge pull request #2824 from nyalldawson/geombbox
Optimise storage/calculation of geometry bounding boxes
2016-02-21 19:01:52 +01:00
Matthias Kuhn
959952e134 Merge pull request #2820 from NaturalGIS/processing_fix_saga_223_detection
Fix SAGA 2.2.3 Processing detection
2016-02-21 14:07:16 +01:00
Harrissou Sant-anna
e4dba1e4ce Update label
Given that the canvas rotation is in QGIS for many releases, it may be time to remove the "experimental" attribute in the label
2016-02-21 14:05:54 +01:00
Matthias Kuhn
a0a20eaf60 Merge pull request #2825 from m-kuhn/processingTestFiles
Add file comparison for HTML output to processing
2016-02-21 14:05:00 +01:00
Matthias Kuhn
23802eb5b7 Add file comparison for HTML output to processing test generator
Refs #14311
2016-02-21 13:16:59 +01:00
Matthias Kuhn
20fc30b0fe Add file comparison to processing tests
And a test for basic numeric statistics
2016-02-21 13:15:21 +01:00
Matthias Kuhn
f6995646f2 [processing] Add some newlines to the output of basic stats 2016-02-21 13:15:09 +01:00
Matthias Kuhn
6a8b4075e0 Add method for file comparison to testing lib 2016-02-21 13:13:34 +01:00
Nyall Dawson
6116fdcdb4 Add a bunch of missing geometry cache clears 2016-02-21 19:55:15 +11:00
Nyall Dawson
50f01a2ac8 Optimise storage/calculation of geometry bounding boxes
- removes storage of bounding box from QgsPointV2 (gives significant
decrease in size of object)
- more efficient calculation of bounding box for linestrings

Additionally, this commit moves the bounding box invalidation to a
virtual QgsAbstractGeometryV2::clearCache() method, so that other
non-bounding box caches can also be cleared when the geometry
is modified.
2016-02-21 16:26:45 +11:00
Matthias Kuhn
4c63c85cca Show provider errors more prominently 2016-02-20 17:21:57 +01:00
Juergen E. Fischer
fef9c93e48 fix typo (followup 5c4bf99) 2016-02-20 17:11:19 +01:00
Juergen E. Fischer
5c4bf99ce2 debian packaging update: manually merge some changes from PR#2818 and
some spelling fixes.
2016-02-20 16:55:16 +01:00
Giovanni Manghi
607642a562 Fix SAGA 2.2.3 Processing detection 2016-02-20 15:47:55 +00:00
Giovanni Manghi
3f9263b4b8 fix GRASS and GRASS7 r.sunmask 2016-02-20 14:52:12 +00:00
Matthias Kuhn
0c0d72bb03 Merge pull request #2816 from SebDieBln/FixDuplicateJoins
[Bugfix] create vector joins only once for a duplicated layer (fixes #14298)
2016-02-20 11:38:57 +01:00
Jürgen Fischer
07240e31c2 Merge pull request #2813 from rouault/avoid_astyle_writing_unmodified_files
astyle.sh: make it not touch unmodified files
2016-02-20 00:19:11 +01:00
Sebastian Dietrich
7431ec6528 create vector joins only once for a duplicated layer (fixes #14298) 2016-02-19 23:50:44 +01:00
Juergen E. Fischer
1e80a984df include spatialindex only in core (fixes #13197) 2016-02-19 21:06:07 +01:00
Alexander Bruy
cf8c7b13db fix failing indenation test 2016-02-19 21:19:49 +02:00
Alexander Bruy
e0acb696a4 Merge pull request #2815 from NaturalGIS/processing_fix_grass7_r_water_outlet
[processing] fix GRASS7 r.water.outlet
2016-02-19 20:21:25 +02:00