Quantum GIS API Documentation  master-ce49b66
src/core/gps/units.h
Go to the documentation of this file.
00001 /*
00002 * Copyright Tim (xtimor@gmail.com)
00003 *
00004 * NMEA library is free software; you can redistribute it and/or modify
00005 * it under the terms of the GNU Lesser General Public License as published by
00006 * the Free Software Foundation; either version 2 of the License, or
00007 * (at your option) any later version.
00008 *
00009 * This program is distributed in the hope that it will be useful,
00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 * GNU Lesser General Public License for more details.
00013 *
00014 * You should have received a copy of the GNU Lesser General Public License
00015 * along with this program.  If not, see <http://www.gnu.org/licenses/>
00016 */
00017 /*
00018  *
00019  * NMEA library
00020  * URL: http://nmea.sourceforge.net
00021  * Author: Tim (xtimor@gmail.com)
00022  * Licence: http://www.gnu.org/licenses/lgpl.html
00023  * $Id: units.h 4 2007-08-27 13:11:03Z xtimor $
00024  *
00025  */
00026 
00027 #ifndef __NMEA_UNITS_H__
00028 #define __NMEA_UNITS_H__
00029 
00030 #include "config.h"
00031 
00032 /*
00033  * Distance units
00034  */
00035 
00036 #define NMEA_TUD_YARDS      (1.0936)        
00037 #define NMEA_TUD_KNOTS      (1.852)         
00038 #define NMEA_TUD_MILES      (1.609)         
00040 /*
00041  * Speed units
00042  */
00043 
00044 #define NMEA_TUS_MS         (3.6)           
00046 #endif /* __NMEA_UNITS_H__ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines