reverse-geocoding-0.1.0.0: Simple reverse geocoding using OpenStreeMap

Safe HaskellNone
LanguageHaskell2010

Data.Geolocation.Reverse

Description

This very simple module returns a Maybe Location info for a set of coordinates.

Right now only one provider is given (OpenStreeMap), and the Suburb/Street parsing could be improved, but this is enough for our needs.

Feel free to contribute!

Synopsis

Documentation

defaultReverseGeoProvider :: ReverseGeoProvider Source

Default reverse geo provider

getLocationInfo :: Latitude -> Longitude -> ReverseGeoProvider -> IO (Maybe ParsedLocationInfo) Source

Given a Latitude and Longitude, return a Location Info.

getLocationInfoDef :: Latitude -> Longitude -> IO (Maybe ParsedLocationInfo) Source

Get location info from default provider (right now Open Stree Map)