mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:46:30 +00:00
add gps matcher service
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
|
||||
public class MapConfig
|
||||
{
|
||||
public string Service { get; set; }
|
||||
public string ApiKey { get; set; }
|
||||
public string Service { get; set; } = null!;
|
||||
public string ApiKey { get; set; } = null!;
|
||||
}
|
||||
@@ -5,12 +5,12 @@ using System.IO;
|
||||
public class GpsMatchResult
|
||||
{
|
||||
public int Index { get; set; }
|
||||
public string Image { get; set; }
|
||||
public string Image { get; set; } = null!;
|
||||
public double Latitude { get; set; }
|
||||
public double Longitude { get; set; }
|
||||
public int Keypoints { get; set; }
|
||||
public int Rotation { get; set; }
|
||||
public string MatchType { get; set; }
|
||||
public int KeyPoints { get; set; }
|
||||
public int Rotation { get; set; }
|
||||
public string MatchType { get; set; } = null!;
|
||||
|
||||
public static List<GpsMatchResult> ReadFromCsv(string csvFilePath)
|
||||
{
|
||||
@@ -35,7 +35,7 @@ public class GpsMatchResult
|
||||
Image = GetFilename(values[0]),
|
||||
Latitude = double.Parse(values[1]),
|
||||
Longitude = double.Parse(values[2]),
|
||||
Keypoints = int.Parse(values[3]),
|
||||
KeyPoints = int.Parse(values[3]),
|
||||
Rotation = int.Parse(values[4]),
|
||||
MatchType = values[5]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user