gpx-conduit-0.1.1: Read GPX files using conduits

Safe HaskellSafe-Infered

Geo.GPX.Conduit

Description

This is a partial parsing of the GPX 1.0 and 1.0 exchange types.

Synopsis

Documentation

data Track Source

Constructors

Track 

data GPX Source

A GPX file usually is a single track (but can be many) with one or more segments and many points in each segment.

Constructors

GPX 

Fields

tracks :: [Track]
 

Instances

data Segment Source

A GPX segments is just a bundle of points.

Constructors

Segment 

Fields

points :: [Point]
 

data Point Source

Track point is a full-fledged representation of all the data available in most GPS loggers. It is possible you don't want all this data and can just made do with coordinates (via Pnt) or a custom derivative.

Constructors

Point 

Fields

pntLat :: Latitude
 
pntLon :: Longitude
 
pntEle :: Maybe Double

In meters

pntTime :: Maybe UTCTime
 

pt :: Latitude -> Longitude -> Maybe Double -> Maybe UTCTime -> PointSource