GPX-0.4.3: Parse GPX files

Data.Geo.GPX.Gpx

Description

Synopsis

Documentation

gpxSource

Arguments

:: GpxType

The gpx element contents.

-> Gpx 

readGpxFile :: FilePath -> IO [Gpx]Source

Reads a GPX file into a list of Gpx values removing whitespace.

readGpxFiles :: [FilePath] -> IO [Gpx]Source

Reads 0 or more GPX files into a list of Gpx values removing whitespace.

interactGpxIOSource

Arguments

:: FilePath

The GPX file to read.

-> (Gpx -> IO Gpx)

The function to execute on the XML that is read.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file removing whitespace, executes the given function on the XML, then writes the given file with indentation.

interactsGpxIOSource

Arguments

:: FilePath

The GPX file to read.

-> [Gpx -> IO Gpx]

The function to execute on the XML that is read.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file removing whitespace, executes the given functions on the XML, then writes the given file with indentation.

interactGpxIO'Source

Arguments

:: Attributes

The options for reading the GPX file.

-> FilePath

The GPX file to read.

-> (Gpx -> IO Gpx)

The function to execute on the XML that is read.

-> Attributes

The options for writing the GPX file.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file, executes the given function on the XML, then writes the given file.

interactsGpxIO'Source

Arguments

:: Attributes

The options for reading the GPX file.

-> FilePath

The GPX file to read.

-> [Gpx -> IO Gpx]

The function to execute on the XML that is read.

-> Attributes

The options for writing the GPX file.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file, executes the given functions on the XML, then writes the given file.

interactGpxSource

Arguments

:: FilePath

The GPX file to read.

-> (Gpx -> Gpx)

The function to execute on the XML that is read.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file removing whitespace, executes the given function on the XML, then writes the given file with indentation.

interactsGpxSource

Arguments

:: FilePath

The GPX file to read.

-> [Gpx -> Gpx]

The function to execute on the XML that is read.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file removing whitespace, executes the given functions on the XML, then writes the given file with indentation.

interactGpx'Source

Arguments

:: Attributes

The options for reading the GPX file.

-> FilePath

The GPX file to read.

-> (Gpx -> Gpx)

The function to execute on the XML that is read.

-> Attributes

The options for writing the GPX file.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file, executes the given function on the XML, then writes the given file.

interactsGpx'Source

Arguments

:: Attributes

The options for reading the GPX file.

-> FilePath

The GPX file to read.

-> [Gpx -> Gpx]

The functions to execute on the XML that is read.

-> Attributes

The options for writing the GPX file.

-> FilePath

The GPX file to write.

-> IO () 

Reads a GPX file, executes the given functions on the XML, then writes the given file.