Skip to content

Commit

Permalink
include spatialindex only in core (fixes #13197)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 19, 2016
1 parent cf8c7b1 commit 1e80a98
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/core/qgspointlocator.cpp
Expand Up @@ -20,7 +20,7 @@
#include "qgswkbptr.h" #include "qgswkbptr.h"
#include "qgis.h" #include "qgis.h"


#include <spatialindex/SpatialIndex.h> #include <SpatialIndex.h>


#include <QLinkedListIterator> #include <QLinkedListIterator>


Expand Down
10 changes: 6 additions & 4 deletions src/core/qgspointlocator.h
Expand Up @@ -23,10 +23,6 @@ class QgsVectorLayer;
#include "qgspoint.h" #include "qgspoint.h"
#include "qgsrectangle.h" #include "qgsrectangle.h"



#include <spatialindex/SpatialIndex.h>


class QgsCoordinateTransform; class QgsCoordinateTransform;
class QgsCoordinateReferenceSystem; class QgsCoordinateReferenceSystem;


Expand All @@ -35,6 +31,12 @@ class QgsPointLocator_VisitorNearestEdge;
class QgsPointLocator_VisitorArea; class QgsPointLocator_VisitorArea;
class QgsPointLocator_VisitorEdgesInRect; class QgsPointLocator_VisitorEdgesInRect;


namespace SpatialIndex
{
class IStorageManager;
class ISpatialIndex;
}

/** /**
* @brief The class defines interface for querying point location: * @brief The class defines interface for querying point location:
* - query nearest vertices / edges to a point * - query nearest vertices / edges to a point
Expand Down
1 change: 0 additions & 1 deletion src/plugins/topology/checkDock.h
Expand Up @@ -24,7 +24,6 @@
#include <qgsgeometry.h> #include <qgsgeometry.h>
//#include <qgsvertexmarker.h> //#include <qgsvertexmarker.h>
#include "qgsspatialindex.h" #include "qgsspatialindex.h"
//#include <spatialindex/qgsspatialindex.h>


#include "ui_checkDock.h" #include "ui_checkDock.h"
#include "rulesDialog.h" #include "rulesDialog.h"
Expand Down

0 comments on commit 1e80a98

Please sign in to comment.