-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Parse GPX files -- -- Parse GPS Exchange (GPX) files using HXT into data structures. @package GPX @version 0.6.1 module Data.Geo.GPX.Lens.CreatorL class CreatorL a creatorL :: CreatorL a => Lens a String module Data.Geo.GPX.Lens.VersionL class VersionL a versionL :: VersionL a => Lens a String module Data.Geo.GPX.Lens.KeywordsL class KeywordsL a keywordsL :: KeywordsL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.NumberL class NumberL a numberL :: NumberL a => Lens a (Maybe Int) module Data.Geo.GPX.Lens.AgeofdgpsdataL class AgeofdgpsdataL a ageofdgpsdataL :: AgeofdgpsdataL a => Lens a (Maybe Double) module Data.Geo.GPX.Lens.PdopL class PdopL a pdopL :: PdopL a => Lens a (Maybe Double) module Data.Geo.GPX.Lens.VdopL class VdopL a vdopL :: VdopL a => Lens a (Maybe Double) module Data.Geo.GPX.Lens.HdopL class HdopL a hdopL :: HdopL a => Lens a (Maybe Double) module Data.Geo.GPX.Lens.SatL class SatL a satL :: SatL a => Lens a (Maybe Int) module Data.Geo.GPX.Lens.SymL class SymL a symL :: SymL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.SrcL class SrcL a srcL :: SrcL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.DescL class DescL a descL :: DescL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.CmtL class CmtL a cmtL :: CmtL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.GeoidheightL class GeoidheightL a geoidheightL :: GeoidheightL a => Lens a (Maybe Double) module Data.Geo.GPX.Lens.LicenseL class LicenseL a licenseL :: LicenseL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.YearL class YearL a yearL :: YearL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.AuthorL class AuthorL a b | a -> b authorL :: AuthorL a b => Lens a b module Data.Geo.GPX.Lens.NameL class NameL a nameL :: NameL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.TypeL class TypeL a typeL :: TypeL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.TextL class TextL a textL :: TextL a => Lens a (Maybe String) module Data.Geo.GPX.Lens.HrefL class HrefL a hrefL :: HrefL a => Lens a String module Data.Geo.GPX.Lens.DomainL class DomainL a domainL :: DomainL a => Lens a String module Data.Geo.GPX.Lens.IdL class IdL a idL :: IdL a => Lens a String module Data.Geo.GPX.Lens.TimeL class TimeL a timeL :: TimeL a => Lens a (Maybe DateTime) module Data.Geo.GPX.Lens.EleL class EleL a eleL :: EleL a => Lens a (Maybe Double) -- | Complex Type: copyrightType -- http://www.topografix.com/GPX/1/1/#type_copyrightType module Data.Geo.GPX.Copyright data Copyright copyright :: String -> Maybe String -> Maybe String -> Copyright instance Eq Copyright instance Ord Copyright instance XmlPickler Copyright instance LicenseL Copyright instance YearL Copyright instance AuthorL Copyright String module Data.Geo.GPX.Lens.CopyrightL class CopyrightL a copyrightL :: CopyrightL a => Lens a (Maybe Copyright) -- | Complex Type: linkType -- http://www.topografix.com/GPX/1/1/#type_linkType module Data.Geo.GPX.Link data Link link :: String -> Maybe String -> Maybe String -> Link instance Eq Link instance Ord Link instance XmlPickler Link instance TypeL Link instance TextL Link instance HrefL Link module Data.Geo.GPX.Lens.LinkL class LinkL a linkL :: LinkL a => Lens a (Maybe Link) module Data.Geo.GPX.Lens.LinksL class LinksL a linksL :: LinksL a => Lens a [Link] -- | Complex Type: emailType -- http://www.topografix.com/GPX/1/1/#type_emailType module Data.Geo.GPX.Email data Email email :: String -> String -> Email instance Eq Email instance Ord Email instance XmlPickler Email instance DomainL Email instance IdL Email module Data.Geo.GPX.Lens.EmailL class EmailL a emailL :: EmailL a => Lens a (Maybe Email) -- | Complex Type: personType -- http://www.topografix.com/GPX/1/1/#type_personType module Data.Geo.GPX.Person data Person person :: Maybe String -> Maybe Email -> Maybe Link -> Person instance Eq Person instance Ord Person instance XmlPickler Person instance LinkL Person instance EmailL Person instance NameL Person -- | Complex Type: extensionsType -- http://www.topografix.com/GPX/1/1/#type_extensionsType module Data.Geo.GPX.Extensions data Extensions extensions :: XmlTree -> Extensions runExtensions :: Extensions -> XmlTree instance Eq Extensions instance XmlPickler Extensions module Data.Geo.GPX.Lens.ExtensionsL class ExtensionsL a extensionsL :: ExtensionsL a => Lens a (Maybe Extensions) -- | Simple Type: latitudeType -- http://www.topografix.com/GPX/1/1/#type_latitudeType module Data.Geo.GPX.Latitude data Latitude latitude :: Double -> Latitude runLatitude :: Latitude -> Double instance Eq Latitude instance Ord Latitude instance Enum Latitude instance Num Latitude instance Fractional Latitude instance Floating Latitude instance Real Latitude instance RealFrac Latitude instance RealFloat Latitude instance XmlPickler Latitude instance Show Latitude module Data.Geo.GPX.Lens.MinlatL class MinlatL a minlatL :: MinlatL a => Lens a Latitude module Data.Geo.GPX.Lens.MaxlatL class MaxlatL a maxlatL :: MaxlatL a => Lens a Latitude module Data.Geo.GPX.Lens.LatL class LatL a latL :: LatL a => Lens a Latitude -- | Simple Type: latitudeType -- http://www.topografix.com/GPX/1/1/#type_latitudeType module Data.Geo.GPX.Longitude data Longitude longitude :: Double -> Longitude runLongitude :: Longitude -> Double instance Eq Longitude instance Ord Longitude instance Enum Longitude instance Num Longitude instance Fractional Longitude instance Floating Longitude instance Real Longitude instance RealFrac Longitude instance RealFloat Longitude instance XmlPickler Longitude instance Show Longitude module Data.Geo.GPX.Lens.MinlonL class MinlonL a minlonL :: MinlonL a => Lens a Longitude module Data.Geo.GPX.Lens.MaxlonL class MaxlonL a maxlonL :: MaxlonL a => Lens a Longitude -- | Complex Type: boundsType -- http://www.topografix.com/GPX/1/1/#type_boundsType module Data.Geo.GPX.Bounds data Bounds bounds :: (Latitude, Longitude) -> (Latitude, Longitude) -> Bounds instance Eq Bounds instance Ord Bounds instance XmlPickler Bounds instance MaxlonL Bounds instance MaxlatL Bounds instance MinlonL Bounds instance MinlatL Bounds module Data.Geo.GPX.Lens.BoundsL class BoundsL a boundsL :: BoundsL a => Lens a (Maybe Bounds) -- | Complex Type: metadataType -- http://www.topografix.com/GPX/1/1/#type_metadataType module Data.Geo.GPX.Metadata data Metadata metadata :: Maybe String -> Maybe String -> Maybe Person -> Maybe Copyright -> [Link] -> Maybe DateTime -> Maybe String -> Maybe Bounds -> Maybe Extensions -> Metadata instance Eq Metadata instance XmlPickler Metadata instance ExtensionsL Metadata instance BoundsL Metadata instance KeywordsL Metadata instance TimeL Metadata instance LinksL Metadata instance CopyrightL Metadata instance AuthorL Metadata (Maybe Person) instance DescL Metadata instance NameL Metadata module Data.Geo.GPX.Lens.MetadataL class MetadataL a metadataL :: MetadataL a => Lens a (Maybe Metadata) module Data.Geo.GPX.Lens.LonL class LonL a lonL :: LonL a => Lens a Longitude -- | Complex Type: ptType -- http://www.topografix.com/GPX/1/1/#type_ptType module Data.Geo.GPX.Pt data Pt pt :: Latitude -> Longitude -> Maybe Double -> Maybe DateTime -> Pt instance Eq Pt instance Ord Pt instance XmlPickler Pt instance TimeL Pt instance EleL Pt instance LonL Pt instance LatL Pt -- | Complex Type: ptsegType -- http://www.topografix.com/GPX/1/1/#type_ptsegType module Data.Geo.GPX.Ptseg data Ptseg ptseg :: [Pt] -> Ptseg runPtseg :: Ptseg -> [Pt] instance Eq Ptseg instance Ord Ptseg instance XmlPickler Ptseg module Data.Geo.GPX.Lens.PtsL class PtsL a ptsL :: PtsL a => Lens a [Pt] -- | Simple Type: degreesType -- http://www.topografix.com/GPX/1/1/#type_degreesType module Data.Geo.GPX.Degrees data Degrees degrees :: Double -> Degrees runDegrees :: Degrees -> Double instance Eq Degrees instance Ord Degrees instance Show Degrees instance XmlPickler Degrees module Data.Geo.GPX.Lens.MagvarL class MagvarL a magvarL :: MagvarL a => Lens a (Maybe Degrees) -- | Simple Type: fixType -- http://www.topografix.com/GPX/1/1/#type_fixType module Data.Geo.GPX.Fix data Fix -- | The catamorphism for Fix. foldFix :: a -> a -> a -> a -> a -> Fix -> a -- | Construct a Fix with a value of none. none :: Fix -- | Construct a Fix with a value of 2d. twod :: Fix -- | Construct a Fix with a value of 3d. threed :: Fix -- | Construct a Fix with a value of dgps. dgps :: Fix -- | Construct a Fix with a value of pps. pps :: Fix -- | Construct a Fix using a string with a value of -- [none, 2d, 3d, dgps, pps]. fix :: String -> Maybe Fix instance Eq Fix instance Ord Fix instance Show Fix instance Enum Fix instance XmlPickler Fix module Data.Geo.GPX.Lens.FixL class FixL a fixL :: FixL a => Lens a (Maybe Fix) -- | Simple Type: dgpsStationType -- http://www.topografix.com/GPX/1/1/#type_dgpsStationType module Data.Geo.GPX.DgpsStation data DgpsStation dgpsStation :: Int -> Maybe DgpsStation runDgpsStation :: DgpsStation -> Int instance Eq DgpsStation instance Ord DgpsStation instance XmlPickler DgpsStation module Data.Geo.GPX.Lens.DgpsidL class DgpsidL a dgpsidL :: DgpsidL a => Lens a (Maybe DgpsStation) -- | Complex Type: wptType -- http://www.topografix.com/GPX/1/1/#type_wptType module Data.Geo.GPX.Wpt data Wpt wpt :: Latitude -> Longitude -> Maybe Double -> Maybe DateTime -> Maybe Degrees -> Maybe Double -> Maybe String -> Maybe String -> Maybe String -> Maybe String -> [Link] -> Maybe String -> Maybe String -> Maybe Fix -> Maybe Int -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe DgpsStation -> Maybe Extensions -> Wpt -- | A waypoint with only a latitude and longitude. wpt' :: Latitude -> Longitude -> Wpt instance Eq Wpt instance XmlPickler Wpt instance ExtensionsL Wpt instance DgpsidL Wpt instance AgeofdgpsdataL Wpt instance PdopL Wpt instance VdopL Wpt instance HdopL Wpt instance SatL Wpt instance FixL Wpt instance TypeL Wpt instance SymL Wpt instance LinksL Wpt instance SrcL Wpt instance DescL Wpt instance CmtL Wpt instance NameL Wpt instance GeoidheightL Wpt instance MagvarL Wpt instance TimeL Wpt instance EleL Wpt instance LonL Wpt instance LatL Wpt module Data.Geo.GPX.Lens.TrkptsL class TrkptsL a trkptsL :: TrkptsL a => Lens a [Wpt] -- | Complex Type: trksegType -- http://www.topografix.com/GPX/1/1/#type_trksegType module Data.Geo.GPX.Trkseg data Trkseg trkseg :: [Wpt] -> Maybe Extensions -> Trkseg instance Eq Trkseg instance XmlPickler Trkseg instance ExtensionsL Trkseg instance TrkptsL Trkseg module Data.Geo.GPX.Lens.TrksegsL class TrksegsL a trksegsL :: TrksegsL a => Lens a [Trkseg] -- | Complex Type: trkType -- http://www.topografix.com/GPX/1/1/#type_trkType module Data.Geo.GPX.Trk data Trk trk :: Maybe String -> Maybe String -> Maybe String -> Maybe String -> [Link] -> Maybe Int -> Maybe String -> Maybe Extensions -> [Trkseg] -> Trk instance Eq Trk instance XmlPickler Trk instance TrksegsL Trk instance ExtensionsL Trk instance TypeL Trk instance NumberL Trk instance LinksL Trk instance SrcL Trk instance DescL Trk instance CmtL Trk instance NameL Trk module Data.Geo.GPX.Lens.TrksL class TrksL a trksL :: TrksL a => Lens a [Trk] module Data.Geo.GPX.Lens.RteptsL class RteptsL a rteptsL :: RteptsL a => Lens a [Wpt] -- | Complex Type: rteType -- http://www.topografix.com/GPX/1/1/#type_rteType module Data.Geo.GPX.Rte data Rte rte :: Maybe String -> Maybe String -> Maybe String -> Maybe String -> [Link] -> Maybe Int -> Maybe String -> Maybe Extensions -> [Wpt] -> Rte instance Eq Rte instance XmlPickler Rte instance RteptsL Rte instance ExtensionsL Rte instance TypeL Rte instance NumberL Rte instance LinksL Rte instance SrcL Rte instance DescL Rte instance CmtL Rte instance NameL Rte module Data.Geo.GPX.Lens.RtesL class RtesL a rtesL :: RtesL a => Lens a [Rte] module Data.Geo.GPX.Lens.WptsL class WptsL a wptsL :: WptsL a => Lens a [Wpt] -- | Complex Type: gpxType -- http://www.topografix.com/GPX/1/1/#type_gpxType module Data.Geo.GPX.Gpx data Gpx gpx :: String -> String -> Maybe Metadata -> [Wpt] -> [Rte] -> [Trk] -> Maybe Extensions -> Gpx instance Eq Gpx instance XmlPickler Gpx instance ExtensionsL Gpx instance TrksL Gpx instance RtesL Gpx instance WptsL Gpx instance MetadataL Gpx instance CreatorL Gpx instance VersionL Gpx module Data.Geo.GPX.Lens -- | GPX 1.1 Schema http://www.topografix.com/GPX/1/1/ module Data.Geo.GPX