Element: gpx
http://www.topografix.com/GPX/1/1/#element_gpx
- data Gpx
- gpx :: GpxType -> Gpx
- readGpxFile :: FilePath -> IO [Gpx]
- readGpxFiles :: [FilePath] -> IO [Gpx]
- interactGpxIO :: FilePath -> (Gpx -> IO Gpx) -> FilePath -> IO ()
- interactsGpxIO :: FilePath -> [Gpx -> IO Gpx] -> FilePath -> IO ()
- interactGpxIO' :: Attributes -> FilePath -> (Gpx -> IO Gpx) -> Attributes -> FilePath -> IO ()
- interactsGpxIO' :: Attributes -> FilePath -> [Gpx -> IO Gpx] -> Attributes -> FilePath -> IO ()
- interactGpx :: FilePath -> (Gpx -> Gpx) -> FilePath -> IO ()
- interactsGpx :: FilePath -> [Gpx -> Gpx] -> FilePath -> IO ()
- interactGpx' :: Attributes -> FilePath -> (Gpx -> Gpx) -> Attributes -> FilePath -> IO ()
- interactsGpx' :: Attributes -> FilePath -> [Gpx -> Gpx] -> Attributes -> FilePath -> IO ()
Documentation
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.
:: 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.
:: 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.
:: 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.
:: 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.
:: 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.
:: 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.
:: 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.
:: 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.