úÎ-§*º     STakes all WayPoints, and creates a list of tuples containing (TimeStamp,Elevation) ]Takes all WayPoints, and creates a list of tuples containing (TimeStamp,AvrSpeedAtThisPoint) [Takes all WayPoints, and creates a list of tuples containing (TimeStamp,SpeedAtThisPoint) `Takes all WayPoints, and creates a list of tuples containing (TimeStamp,JourneyDistanceAtPoint) \Takes all WayPoints, an element in wptType, and an Eq function, returning a single WayPoint &Calculates the total journey distance ,Calculates the average speed of the journey Calculates the maximum speed 8Calculates the average elevation throughout the journey "Calculates the total journey time ;Extracts the date of the journey (from the first WayPoint)      @Generates the Cairo chart showing speed and elevation over time ‰Generates the Cairo chart showing accumulative distance and elevation over time, with spots showing maximum and minimum elevation points     !"#$%8Determines the minimum and maximum of the X and Y tiles  to be downloaded from OSM &'5Takes the boundaries of the OSM tiles, and generates  [(Int,Int)]) containing a list of all OSM tiles that  need downloading (Formats the URL string ?Takes the URL of a given OSM tile and uses curl to download it )3Takes the boundaries of the OSM tiles covering the  the *, uses + to download the tile 0 and to place each tile on the background layer +@Used to create a mosaic of all downloaded OSM tiles to generate ' the background layer for plotting the * onto the , -.Used by pixelPosForCoord* for N,S,E,W coordinates for (x,y) values /-Takes a WptType, and the OSM tile boundaries 0 and generates (x,y) points to be placed on the , 0 Takes the 1 and draws lines between every " point to point connection in the * 28Sets the colour for a single line segment in the track,  and 38Uses a sliding scale for the red value in the RGB Color < to show a sliding color from green to yellow in accordance = with the relative elevation of a given WptType in the Trail 4+Adds the copyright text in accordance with  http:wiki.openstreetmap.orgwiki Legal_FAQ 5lIf the generated OSM image has a greater width than 800 pixels, it is scaled to have a width of 800 pixels. 66Uses the GraphicsMagick bindings the resize the image 5Takes the destination directory for the web content, 5 the (Trail WptType), and uses the DrawOsm functions  to generate an  `osm.png' file showing the trail.    4Takes all the WayPoints and generates the HTML file 7The OpenStreetMap image area 8>Takes all the WayPoints and calculates the journey statistics 9       !"#$%&'()*+,-./0123456789:;<=>?@ABCgps2htmlReport-0.3$Data.GPS.Gps2HtmlReport.JourneyStats%Data.GPS.Gps2HtmlReport.JourneyChartsData.GPS.Gps2HtmlReport.DrawOsm%Data.GPS.Gps2HtmlReport.HTMLGenerator ptsElevationavrSpeedOverTime accumDistance findPointjourneyDistancemeanJourneySpeedmaxSpeed meanElevation journeyTime dateOfJourney renderToPngchart1chart2generateOsmMapgenerateHtmlPage speedAtPointsspeedAtPoints'lclTimedfltTZ OutputTypeSVGPDFPSPNGWindowspeedAndElevationOverTimeChartaccumDistanceAndElevationChart TileCoordsminXmaxXminYmaxY tileNumbersmaxTilesecant initCoordsdetermineTileszoomCalc selectedTiles downloadFile makeOSMLayer gps-0.8.4 Data.GPS.CoreTrail placeTile gd-3000.7.1 Graphics.GDImageprojectMercToLatprojectpixelPosForCoord drawLinesGPX-0.5Data.Geo.GPX.WptTypeWptType drawLine' lineColor addCopyright fitToWidth resizeImgosmImg statsTable