Class OmsGeopaparazziProject3To4Converter
- java.lang.Object
-
- org.hortonmachine.gears.libs.modules.HMModel
-
- org.hortonmachine.gears.io.geopaparazzi.OmsGeopaparazziProject3To4Converter
-
public class OmsGeopaparazziProject3To4Converter extends HMModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOmsGeopaparazziProject3To4Converter.GpsLogstatic classOmsGeopaparazziProject3To4Converter.GpsPoint
-
Field Summary
Fields Modifier and Type Field Description static StringALTIMstatic StringAZIMUTHstatic StringCONVERT_A_GEOPAPARAZZI_3_FOLDER_PROJECT_INTO_A_GEOPAPARAZZI_4_DATABASEstatic StringENDTSstatic StringFOLDER_MEDIAstatic StringFOLDER_MEDIA_OLDstatic StringFORMstatic StringGEOPAP3TO4static StringGEOPAPARAZZI_3_INPUT_FOLDER_TO_CONVERTstatic StringIDstatic StringIMAGE_ID_SEPARATORStringinGeopaparazzistatic StringJPGstatic StringLATstatic StringLATITUDEstatic StringLOGIDstatic StringLONstatic StringLONGITUDEstatic StringOMSGEOPAPARAZZICONVERTER_TAGSstatic StringPNGstatic StringSTARTTSstatic StringTABLE_GPSLOG_DATAstatic StringTABLE_GPSLOGSstatic StringTABLE_NOTESstatic StringTEXTstatic StringTS
-
Constructor Summary
Constructors Constructor Description OmsGeopaparazziProject3To4Converter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringdegreeDecimal2ExifFormat(double decimalDegree)Convert decimal degrees to exif format.static doubleexifFormat2degreeDecimal(String exifFormat)Convert exif format to decimal degree.voidprocess()-
Methods inherited from class org.hortonmachine.gears.libs.modules.HMModel
checkCancel, checkFileExists, checkNull, checkWorkingFolderInPath, concatOr, dumpRaster, dumpVector, getDefaultThreadsNum, getRaster, getVector, help, isCanceled, template
-
-
-
-
Field Detail
-
inGeopaparazzi
public String inGeopaparazzi
-
OMSGEOPAPARAZZICONVERTER_TAGS
public static final String OMSGEOPAPARAZZICONVERTER_TAGS
- See Also:
- Constant Field Values
-
CONVERT_A_GEOPAPARAZZI_3_FOLDER_PROJECT_INTO_A_GEOPAPARAZZI_4_DATABASE
public static final String CONVERT_A_GEOPAPARAZZI_3_FOLDER_PROJECT_INTO_A_GEOPAPARAZZI_4_DATABASE
- See Also:
- Constant Field Values
-
GEOPAPARAZZI_3_INPUT_FOLDER_TO_CONVERT
public static final String GEOPAPARAZZI_3_INPUT_FOLDER_TO_CONVERT
- See Also:
- Constant Field Values
-
TABLE_GPSLOGS
public static final String TABLE_GPSLOGS
- See Also:
- Constant Field Values
-
GEOPAP3TO4
public static final String GEOPAP3TO4
- See Also:
- Constant Field Values
-
TABLE_GPSLOG_DATA
public static final String TABLE_GPSLOG_DATA
- See Also:
- Constant Field Values
-
TABLE_NOTES
public static final String TABLE_NOTES
- See Also:
- Constant Field Values
-
LAT
public static final String LAT
- See Also:
- Constant Field Values
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
LON
public static final String LON
- See Also:
- Constant Field Values
-
ALTIM
public static final String ALTIM
- See Also:
- Constant Field Values
-
TS
public static final String TS
- See Also:
- Constant Field Values
-
TEXT
public static final String TEXT
- See Also:
- Constant Field Values
-
FORM
public static final String FORM
- See Also:
- Constant Field Values
-
JPG
public static final String JPG
- See Also:
- Constant Field Values
-
PNG
public static final String PNG
- See Also:
- Constant Field Values
-
AZIMUTH
public static final String AZIMUTH
- See Also:
- Constant Field Values
-
LATITUDE
public static final String LATITUDE
- See Also:
- Constant Field Values
-
LONGITUDE
public static final String LONGITUDE
- See Also:
- Constant Field Values
-
ENDTS
public static final String ENDTS
- See Also:
- Constant Field Values
-
STARTTS
public static final String STARTTS
- See Also:
- Constant Field Values
-
LOGID
public static final String LOGID
- See Also:
- Constant Field Values
-
FOLDER_MEDIA
public static final String FOLDER_MEDIA
- See Also:
- Constant Field Values
-
FOLDER_MEDIA_OLD
public static final String FOLDER_MEDIA_OLD
- See Also:
- Constant Field Values
-
IMAGE_ID_SEPARATOR
public static final String IMAGE_ID_SEPARATOR
- See Also:
- Constant Field Values
-
-
Method Detail
-
process
public void process() throws IOException- Throws:
IOException
-
degreeDecimal2ExifFormat
public static String degreeDecimal2ExifFormat(double decimalDegree)
Convert decimal degrees to exif format.- Parameters:
decimalDegree- the angle in decimal format.- Returns:
- the exif format string.
-
exifFormat2degreeDecimal
public static double exifFormat2degreeDecimal(String exifFormat)
Convert exif format to decimal degree.- Parameters:
exifFormat- the exif string of the gps position.- Returns:
- the decimal degree.
-
-