// Path: app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSApplication.java
// public static final int NOT_AVAILABLE = -100000;


import java.text.SimpleDateFormat;
import java.util.Locale;
import static eu.basicairdata.graziano.gpslogger.GPSApplication.NOT_AVAILABLE;
import android.location.Location;
/*
 * Track - Java Class for Android
 * Created by G.Capelli on 1/5/2016
 * This file is part of BasicAirData GPS Logger
 *
 * Copyright (C) 2011 BasicAirData
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * 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, see <http://www.gnu.org/licenses/>.
 */

package eu.basicairdata.graziano.gpslogger;




/**
 * Describes and manages a Track.
 */
public class Track {

    // Constants
    private static final double MIN_ALTITUDE_STEP           = 8.0;
    private static final float  MOVEMENT_SPEED_THRESHOLD    = 0.5f;     // The minimum speed (in m/s) to consider the user in movement
    private static final float  STANDARD_ACCURACY           = 10.0f;
    private static final float  SECURITY_COEFFICIENT        = 1.7f;

    public static final int TRACK_TYPE_STEADY   = 0;
    public static final int TRACK_TYPE_WALK     = 1;
    public static final int TRACK_TYPE_MOUNTAIN = 2;
    public static final int TRACK_TYPE_RUN      = 3;
    public static final int TRACK_TYPE_BICYCLE  = 4;
    public static final int TRACK_TYPE_CAR      = 5;
    public static final int TRACK_TYPE_FLIGHT   = 6;
// Path: app/src/main/java/eu/basicairdata/graziano/gpslogger/GPSApplication.java
// public static final int NOT_AVAILABLE = -100000;


// Path: app/src/main/java/eu/basicairdata/graziano/gpslogger/Track.java
import java.text.SimpleDateFormat;
import java.util.Locale;
import static eu.basicairdata.graziano.gpslogger.GPSApplication.NOT_AVAILABLE;
import android.location.Location;

/*
 * Track - Java Class for Android
 * Created by G.Capelli on 1/5/2016
 * This file is part of BasicAirData GPS Logger
 *
 * Copyright (C) 2011 BasicAirData
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * 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, see <http://www.gnu.org/licenses/>.
 */

package eu.basicairdata.graziano.gpslogger;




/**
 * Describes and manages a Track.
 */
public class Track {

    // Constants
    private static final double MIN_ALTITUDE_STEP           = 8.0;
    private static final float  MOVEMENT_SPEED_THRESHOLD    = 0.5f;     // The minimum speed (in m/s) to consider the user in movement
    private static final float  STANDARD_ACCURACY           = 10.0f;
    private static final float  SECURITY_COEFFICIENT        = 1.7f;

    public static final int TRACK_TYPE_STEADY   = 0;
    public static final int TRACK_TYPE_WALK     = 1;
    public static final int TRACK_TYPE_MOUNTAIN = 2;
    public static final int TRACK_TYPE_RUN      = 3;
    public static final int TRACK_TYPE_BICYCLE  = 4;
    public static final int TRACK_TYPE_CAR      = 5;
    public static final int TRACK_TYPE_FLIGHT   = 6;
    public static final int TRACK_TYPE_ND       = NOT_AVAILABLE;