xapian-core  1.4.26
Classes | Namespaces | Functions
geospatial.h File Reference

Geospatial search support routines. More...

#include <iterator>
#include <vector>
#include <string>
#include <xapian/attributes.h>
#include <xapian/derefwrapper.h>
#include <xapian/keymaker.h>
#include <xapian/postingsource.h>
#include <xapian/queryparser.h>
#include <xapian/visibility.h>
+ Include dependency graph for geospatial.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Xapian::LatLongCoord
 A latitude-longitude coordinate. More...
 
class  Xapian::LatLongCoordsIterator
 An iterator across the values in a LatLongCoords object. More...
 
class  Xapian::LatLongCoords
 A sequence of latitude-longitude coordinates. More...
 
class  Xapian::LatLongMetric
 Base class for calculating distances between two lat/long coordinates. More...
 
class  Xapian::GreatCircleMetric
 Calculate the great-circle distance between two coordinates on a sphere. More...
 
class  Xapian::LatLongDistancePostingSource
 Posting source which returns a weight based on geospatial distance. More...
 
class  Xapian::LatLongDistanceKeyMaker
 KeyMaker subclass which sorts by distance from a latitude/longitude. More...
 

Namespaces

 Xapian
 The Xapian namespace contains public interfaces for the Xapian library.
 

Functions

double Xapian::miles_to_metres (double miles)
 Convert from miles to metres. More...
 
double Xapian::metres_to_miles (double metres)
 Convert from metres to miles. More...
 
bool Xapian::operator!= (const LatLongCoordsIterator &a, const LatLongCoordsIterator &b)
 Inequality test for LatLongCoordsIterator objects. More...
 

Detailed Description

Geospatial search support routines.

Definition in file geospatial.h.