factual-api-0.3.0: A driver for the Factual API

Safe HaskellSafe-Infered

Data.Factual.Shared.Geo

Contents

Description

This module exports the Geo type used to create read and facet queries.

Synopsis

Geo type

type Lat = DoubleSource

A Lat is the latitude represented as a Double.

type Long = DoubleSource

A Long is the longitude represented as a Double.

type Radius = DoubleSource

A Radius is the radius of the circle as a Double in meters.

data Geo Source

The Geo type is used to limit the search to specific geograph location. Currently, only circles are supported. Supply a latitude, longitude and radius in meters for the circle.

Constructors

Circle Lat Long Radius 
Point Lat Long 

Instances

Helper functions