java.lang.Object
de.zocher_regel.photo.gps.Gps
Abstract class for generating *.kml, *.gpx files
This class reads coordinates from EXIF files (*.exif, extracted EXIF info
from a photo).
The function apply completes the coordinates by manually entered ones in an
optional show
(special comments like ";GPSLatitude=...").
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung(Package privat) abstract StringThe extension of the GPS file e. g.final StringIn a directory is one default file with GPS info, e. g.(Package privat) abstract StringThe special GPS file (e. g.(Package privat) abstract StringThe special GPS file (e. g.(Package privat) abstract StringThe special GPS file (e. g.final voidwrite()Write the *.kml or *.gpx file depending on the implementation class.
-
Konstruktordetails
-
Gps
Gps(Path srcPath) throws de.zocher_regel.util.UtilException Constructor.- Parameter:
srcPath- is an Irfanview text show (*.txt) with photos qualified names of photos. It may contain GPS info like "D:\Fotos\2024\Canon\2024-12-08 Gehlenbachtal\6063.JPG" ";GPSLatitude=52.090442" ";GPSLongitude=9.962278" This GPS info is used if the photo file lacks GPS info.- Löst aus:
de.zocher_regel.util.UtilException- if the file the parameter points to does not exist
-
-
Methodendetails
-
defaultExtension
The extension of the GPS file e. g. "kml", "gpx".- Gibt zurück:
- extension like "gpx" or "kml"
-
defaultFileName
In a directory is one default file with GPS info, e. g. "index.kml" or "index.gpx". The extension depends on the type of the GPS file.- Gibt zurück:
- "index.gpx" or "index.kml" (used by Google Earth).
-
getGpsFileFoot
The special GPS file (e. g. KML, GPX) is an XML file with a format depending footer.- Gibt zurück:
- the XML snippet used as footer.
-
getGpsFileHead
The special GPS file (e. g. KML, GPX) is an XML file with a format depending header.- Gibt zurück:
- the XML snippet used as header.
-
getGpsFileTemplate
The special GPS file (e. g. KML, GPX) is an XML file with a main section with placeholders (e .g. "%1$s").- Gibt zurück:
- the XML main section with placeholders
-
write
public final void write()Write the *.kml or *.gpx file depending on the implementation class.
-