Fix tests

This commit is contained in:
Nyall Dawson 2017-10-30 14:36:17 +10:00
parent 8f22f5eb3b
commit 284c4d35cd
2 changed files with 8 additions and 5 deletions

View File

@ -2659,7 +2659,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2
- algorithm: qgis:shortestpathlayertopoint
name: Shortest path layer to point
@ -2684,7 +2684,7 @@ tests:
type: vector
compare:
geometry:
precision: 5
precision: 2
- algorithm: qgis:shortestpathpointtolayer
name: Shortest path point to layer
@ -2709,7 +2709,7 @@ tests:
type: vector
compare:
geometry:
precision: 5
precision: 2
- algorithm: qgis:serviceareafrompoint
name: Service area (from point, shortest)
@ -2733,7 +2733,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2
- algorithm: qgis:serviceareafromlayer
name: Service area from layer
@ -2759,7 +2759,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2
pk:
- d
- type

View File

@ -112,6 +112,7 @@ QgsVectorLayerDirector::Direction QgsVectorLayerDirector::directionForFeature( c
}
}
///@cond PRIVATE
class QgsNetworkVisitor : public SpatialIndex::IVisitor
{
public:
@ -133,6 +134,8 @@ class QgsNetworkVisitor : public SpatialIndex::IVisitor
QVector< int > &mPoints;
};
///@endcond
std::unique_ptr< SpatialIndex::ISpatialIndex > createVertexSpatialIndex( SpatialIndex::IStorageManager &storageManager )
{
// R-Tree parameters