xapian-core  1.4.25
Classes | Functions
geoencode.cc File Reference

Encodings for geospatial coordinates. More...

#include <config.h>
#include "geoencode.h"
#include <cmath>
+ Include dependency graph for geoencode.cc:

Go to the source code of this file.

Classes

struct  DegreesMinutesSeconds
 Angles, split into degrees, minutes and seconds. More...
 

Functions

static void calc_latlon_16ths (double lat, double lon, int &lat_16ths, int &lon_16ths)
 Calc latitude and longitude in integral number of 16ths of a second. More...
 

Detailed Description

Encodings for geospatial coordinates.

Definition in file geoencode.cc.

Function Documentation

◆ calc_latlon_16ths()

static void calc_latlon_16ths ( double  lat,
double  lon,
int &  lat_16ths,
int &  lon_16ths 
)
static

Calc latitude and longitude in integral number of 16ths of a second.

Definition at line 180 of file geoencode.cc.

References GeoEncode::DecoderWithBoundingBox::DecoderWithBoundingBox().

Referenced by GeoEncode::DecoderWithBoundingBox::DecoderWithBoundingBox().