Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 31, 2017
1 parent 8f22f5e commit 284c4d3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Expand Up @@ -2659,7 +2659,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2

- algorithm: qgis:shortestpathlayertopoint
name: Shortest path layer to point
Expand All @@ -2684,7 +2684,7 @@ tests:
type: vector
compare:
geometry:
precision: 5
precision: 2

- algorithm: qgis:shortestpathpointtolayer
name: Shortest path point to layer
Expand All @@ -2709,7 +2709,7 @@ tests:
type: vector
compare:
geometry:
precision: 5
precision: 2

- algorithm: qgis:serviceareafrompoint
name: Service area (from point, shortest)
Expand All @@ -2733,7 +2733,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2

- algorithm: qgis:serviceareafromlayer
name: Service area from layer
Expand All @@ -2759,7 +2759,7 @@ tests:
compare:
ignore_crs_check: true
geometry:
precision: 5
precision: 2
pk:
- d
- type
Expand Down
3 changes: 3 additions & 0 deletions src/analysis/network/qgsvectorlayerdirector.cpp
Expand Up @@ -112,6 +112,7 @@ QgsVectorLayerDirector::Direction QgsVectorLayerDirector::directionForFeature( c
}
}

///@cond PRIVATE
class QgsNetworkVisitor : public SpatialIndex::IVisitor
{
public:
Expand All @@ -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
Expand Down

0 comments on commit 284c4d3

Please sign in to comment.