35701 Commits

Author SHA1 Message Date
Alexander Bruy
6c4eeda29d Merge pull request #3762 from nirvn/processing_fix_grass
[processing] fix grass/grass7 installation check
2016-11-15 14:50:09 +02:00
Alexander Bruy
adcb77266b Merge pull request #3761 from nirvn/processing_parameterextent_fix
[processing] fix ExtentSelectionPanel's getValue()
2016-11-15 14:49:49 +02:00
aroche
6bfd0fd79e fix exception when selecting string function
just a typo causing an exception when selecting a string function in query builder dialog
2016-11-15 12:13:31 +01:00
Denis Rouzaud
a373f95707 [FEATURE] add functionnality to copy/move feature to move feature map tool 2016-11-15 11:28:47 +01:00
Richard Duivenvoorde
9ddf78e39f minimal textual fix 2016-11-15 10:15:21 +01:00
Nyall Dawson
8f8624a333 Improve test debugging 2016-11-15 14:03:49 +10:00
Nyall Dawson
b5c1d0f24e QgsCacheIndexFeatureId can also handle non-FilterFid requests
in certain circumstances

On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:03:49 +10:00
Nyall Dawson
53460232bb Don't query list of visible features when showing selected features
On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:03:49 +10:00
Nyall Dawson
b0801f34c9 Avoid warning noise during attribute table load
On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:03:48 +10:00
Nyall Dawson
08eaeaab4a Increase maximum number of cached features
On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:03:48 +10:00
Nyall Dawson
5e3d8fe0b6 Use cached feature iterator if cache has all needed features
Previously a cached feature iterator would only be returned
if cache was either full or used a cache index

On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:03:48 +10:00
Nyall Dawson
afd5d1e934 Recognise that a cache can be filled using a FilterNone request
On behalf of Faunalia, sponsored by ENEL
2016-11-15 14:00:13 +10:00
Nyall Dawson
38a4aac971 Fix test for request size vs cache size
On behalf of Faunalia, sponsored by ENEL
2016-11-15 13:41:43 +10:00
nirvn
4a4ffa4c1b [processing] fix grass/grass7 installation check 2016-11-15 09:27:22 +07:00
nirvn
c87839f054 [processing] fix ExtentSelectionPanel's getValue() 2016-11-15 09:07:58 +07:00
Martin Dobias
8908eea43b Fix rubber band in node tool not getting updated correctly 2016-11-15 09:51:58 +08:00
Nyall Dawson
d237e27d7e Followup 29d33b4 2016-11-15 10:15:43 +10:00
Nyall Dawson
29d33b47fe [processing] Polygons to line fixes
- Maintain Z/M values
- Handle curved geometries without segmentizing
- Retain null geometries
2016-11-15 09:43:45 +10:00
Nyall Dawson
5d78d60bf3 Remove duplicate QgsDataProvider::dataChanged( int ) signal
Was not needed and not emitted anywhere
2016-11-15 07:00:49 +10:00
Nyall Dawson
4a5faa083f Remove duplicate selectionChanged signal from QgsVectorLayer
If you don't want the extra info, just don't capture it...
2016-11-15 07:00:49 +10:00
Nyall Dawson
d3f5314bf5 [processing] Use standard field combo box for field choices 2016-11-15 07:00:35 +10:00
Nyall Dawson
85c8c97d5f Allow empty field name ('not set' option) in QgsFieldModel, QgsFieldComboBox 2016-11-15 07:00:35 +10:00
Werner Macho
dd68d81566 Update tsstat.pl
just a small intendation fix
2016-11-14 20:54:19 +01:00
Martin Dobias
8898c949ef Fix build 2016-11-15 01:16:31 +08:00
Martin Dobias
645514a23b Remove setLayerName(), layerName() from QgsLayerTreeLayer
(replaced by setName(), name() overridden from the parent)
2016-11-15 00:56:22 +08:00
Martin Dobias
9950b085d4 Fix missing docs and sip coverage (followup 968e02d6) 2016-11-14 23:39:58 +08:00
Alexander Bruy
9afd6b0a2e [processing] fix test 2016-11-14 15:40:23 +02:00
rldhont
9ad365e2aa Fix setDestinationCRS 2016-11-14 14:38:19 +01:00
rldhont
b13b4f942d Fix QGIS Server build error 2016-11-14 14:24:28 +01:00
Martin Dobias
968e02d6fe Propagate layer/group name changes in the layer tree (fixes #15844) 2016-11-14 19:57:00 +08:00
rldhont
7299e6b8ba Fix typo 2016-11-14 10:55:26 +01:00
rldhont
7ae6269932 [BUGFIX][QGIS Server] Transform feature collections bbox to ESPG:4326 2016-11-14 10:53:46 +01:00
Alexander Bruy
6e9631ea87 Merge pull request #3701 from alexbruy/processing-ogr-tests
[processsing] tests for GDAL algorithms
2016-11-14 11:05:51 +02:00
Martin Dobias
798bc09130 Fix conversion from WKB to string in postgres provider (follow up d729951) 2016-11-14 15:36:58 +08:00
Nyall Dawson
1f81a7c4fc [FEATURE] pole_of_inaccessibility expression function
Exposes calculation of pole of inaccessiblity to expression
engine
2016-11-14 15:52:41 +10:00
Nyall Dawson
880647e50e Add some tags to algorithm 2016-11-14 15:52:41 +10:00
Nyall Dawson
b44093914b Fix test failure, report distance from pole 2016-11-14 15:52:41 +10:00
Nyall Dawson
d6f09c012e [FEATURE] Add method to calculate pole of inaccessibility for polygons
Implements a method in QgsGeometry and a processing algorithm to
calculate the pole of inaccessibility for a surface, which is the
most distant internal point from the boundary of the surface. This function
uses the 'polylabel' algorithm (Vladimir Agafonkin, 2016), which is an iterative
approach guaranteed to find the true pole of inaccessibility within a specified
tolerance. More precise tolerances require more iterations and will take longer
to calculate.
2016-11-14 15:52:41 +10:00
Nyall Dawson
d5c307eb05 Add method to find distance from a point to a poylgon's boundary 2016-11-14 15:52:41 +10:00
Nyall Dawson
1d3f1f07e8 Fix QgsGeometryUtils::sqrDistToLine returns bad values (eg nan values) 2016-11-14 15:52:41 +10:00
Martin Dobias
514d4439bd Fix oracle provider and remove dead code 2016-11-14 13:36:12 +08:00
Martin Dobias
9872b4848d Remove caching of GEOS representation within QgsGeometry (legacy) 2016-11-14 13:36:12 +08:00
Martin Dobias
d729951dcd Remove caching of WKB from QgsGeometry (was kept just for compatibility)
Also improves the API to export/import WKB as QByteArray
2016-11-14 13:36:12 +08:00
Even Rouault
8b1adc5dcd Merge pull request #3635 from arnaud-morvan/processing_postgis_connect
[processing][db_manager] Fix connection to postgis
2016-11-13 18:15:57 +01:00
Nyall Dawson
dbf6107b14 [processing] Add button for projection selection dialog to
Crs parameters in algorithm settings in modeler

This makes it easier to pick static CRSes for the parameter,
and also makes it obvious to users that they can use a fixed
CRS parameter in their model (as opposed to one taken from
a layer or input)
2016-11-13 20:34:35 +10:00
Nyall Dawson
f24cda4402 [processing] Add unit tests for retrieving param from script code
And fix number param retrieving from script code
2016-11-13 20:34:35 +10:00
Nyall Dawson
3ef7b3b7eb [processing] Use standard QGIS projection selection widget for CRS params 2016-11-13 20:34:35 +10:00
Nyall Dawson
fbc12a8a81 Allow showing 'not set' in QgsProjectionSelectionWidget 2016-11-13 20:34:35 +10:00
Alexander Bruy
d81533e05a fix failing test 2016-11-12 13:31:46 +02:00
Alexander Bruy
0589566e4b [processing] mark buffer lines test as expected failure
This test failed as result and expected WKT geometries differ
only because of 0 vs. -0 in one coordinates pair
2016-11-12 13:31:45 +02:00