navit  0.5.3-trunk
setpath.c File Reference
#include "gpx2navit_txt.h"

Functions

void initPathAttr (pathattr *pattr, g2sattr *attr)
 
void setEdge (parsedata *pdata, double _x, double _y, double _z, double length, double interval, double speed)
 
void setPathInterval (parsedata *pdata)
 
void setPathData (pathattr *pattr, g2sattr *attr)
 
void countUnconverted (parsedata *pdata)
 
void countPath (parsedata *pdata)
 
int checkPath (parsedata *pdata)
 
void setPath (parsedata *pdata)
 

Function Documentation

◆ checkPath()

◆ countPath()

◆ countUnconverted()

void countUnconverted ( parsedata pdata)

counts paths that wasn't converted

References parsedata::current, parent::name, parsedata::prop, g2sstats::rteunconverted, g2sprop::stats, and g2sstats::trkunconverted.

Referenced by checkPath().

◆ initPathAttr()

void initPathAttr ( pathattr pattr,
g2sattr attr 
)

Navit, a modular navigation system. Copyright (C) 2005-2008 Navit Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

initialize a path attribute

References pathattr::cmt, pathattr::count, pathattr::desc, pathattr::interval, pathattr::length, pathattr::link, pathattr::name, pathattr::number, pathattr::point, pathattr::speed, pathattr::src, attr::type, and pathattr::type.

Referenced by startElementControl().

◆ setEdge()

void setEdge ( parsedata pdata,
double  _x,
double  _y,
double  _z,
double  length,
double  interval,
double  speed 
)

◆ setPath()

◆ setPathData()

void setPathData ( pathattr pattr,
g2sattr attr 
)

sets each track point data in array.

References pathattr::count, and pathattr::point.

Referenced by endElementControl().

◆ setPathInterval()