\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
WebData Class Reference

creates data for web site More...

#include <webdata.h>

Inheritance diagram for WebData:
Collaboration diagram for WebData:

Public Slots

void split_europe ()
 

Signals

void add (webdatacmd *w)
 
void split (WebData *wd)
 

Public Member Functions

 WebData (webdatacmd w)
 contructor to create png tiles of bounding rect
 
void run ()
 
void exit ()
 

Public Attributes

webdatacmd w
 

Private Member Functions

void generate_map ()
 
void generate_map_BTP ()
 
void generate_STRONG ()
 
void read_osm ()
 creats *.osm file from pbf and reads in with external BTP process
 
void analyse_climbs ()
 analyses climbs on btp files and saves html data
 
double xztolon (int x, int z)
 longitude of tile x in zoom z
 
double yztolat (int y, int z)
 lattitude of tile y in zoom z
 

Private Attributes

QString dest
 

Detailed Description

creates data for web site

this class is a threat which allows to parallely draw tile, compute climb data, read osm and split raw pbf-$osm data. Aim is to fasten the calculation by using multiple cores of the processor. That means this is the basic class of web content calculation with multithreating.

Definition at line 42 of file webdata.h.

Member Function Documentation

void WebData::generate_map ( )
private

generate tiles without BTP data

Definition at line 32 of file webdata.cpp.

void WebData::generate_map_BTP ( )
private

generate tiles with BTP data

Definition at line 162 of file webdata.cpp.

void WebData::generate_STRONG ( )
private

generates STRONG tiles

Definition at line 231 of file webdata.cpp.

void WebData::split_europe ( )
slot

splite osm europe file

Definition at line 48 of file webdata.cpp.

Member Data Documentation

QString WebData::dest
private

destination to store result

Definition at line 56 of file webdata.h.


The documentation for this class was generated from the following files: