Class PhotoData
- Namespace
- KartaViewSharp.V2.Response.Resources.Photo
- Assembly
- KartaViewSharp.dll
public sealed class PhotoData : IEquatable<PhotoData>
- Inheritance
-
PhotoData
- Implements
- Inherited Members
Properties
AutoImgProcessingResult
The status of the new image, after the blurring process, if any blurring occurs -> status will be Blurred.
[JsonPropertyName("autoImgProcessingResult")]
[JsonConverter(typeof(StringAsAutoImgProcessingResultJsonConverter))]
public AutoImgProcessingResult? AutoImgProcessingResult { get; set; }
Property Value
AutoImgProcessingStatus
[JsonPropertyName("autoImgProcessingStatus")]
public string AutoImgProcessingStatus { get; set; }
Property Value
CameraParameters
[JsonPropertyName("cameraParameters")]
[JsonConverter(typeof(JsonStringAsObjectJsonConverter<CameraParameter>))]
public CameraParameter CameraParameters { get; set; }
Property Value
DateAdded
Datetime when the photo was added.
[JsonPropertyName("dateAdded")]
[JsonConverter(typeof(StringAsDateTimeJsonConverter))]
public DateTime DateAdded { get; set; }
Property Value
DateProcessed
Datetime of the photo when it was processed.
[JsonPropertyName("dateProcessed")]
[JsonConverter(typeof(StringAsNullableDateTimeJsonConverter))]
public DateTime? DateProcessed { get; set; }
Property Value
Distance
The distance between the current photo and the next one, in meters.
[JsonPropertyName("distance")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? Distance { get; set; }
Property Value
FieldOfView
The part of the world that is visible through the camera, expressed in degrees.
[JsonPropertyName("fieldOfView")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? FieldOfView { get; set; }
Property Value
Filepath
Path to the file.
[JsonPropertyName("filepath")]
public string? Filepath { get; set; }
Property Value
FilepathLTh
Path to the large thumbnail version of the file.
[JsonPropertyName("filepathLTh")]
public string? FilepathLTh { get; set; }
Property Value
FilepathProc
Path to the processed version of the file.
[JsonPropertyName("filepathProc")]
public string? FilepathProc { get; set; }
Property Value
FilepathTh
Path to the thumbnail version of the file.
[JsonPropertyName("filepathTh")]
public string? FilepathTh { get; set; }
Property Value
Fileurl
Url to the file.
[JsonPropertyName("fileurl")]
public Uri Fileurl { get; set; }
Property Value
FileurlLTh
Url to the large thumbnail version of the file.
[JsonPropertyName("fileurlLTh")]
public Uri FileurlLTh { get; set; }
Property Value
FileurlProc
Url to the processed version of the file.
[JsonPropertyName("fileurlProc")]
public Uri FileurlProc { get; set; }
Property Value
FileurlTh
Url to the large thumbnail version of the file.
[JsonPropertyName("fileurlTh")]
public Uri FileurlTh { get; set; }
Property Value
From
The unique identifier of the starting point of a segment, each version of a map has different ids.
[JsonPropertyName("from")]
[JsonConverter(typeof(StringAsNullableLongJsonConverter))]
public long? From { get; set; }
Property Value
- long?
GpsAccuracy
Horizontal accuracy in meters of the gps tracked photo.
[JsonPropertyName("gpsAccuracy")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double GpsAccuracy { get; set; }
Property Value
HasObd
A flag that confirms the presence of an obd connection at the time the photo was captured.
[JsonPropertyName("hasObd")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool HasObd { get; set; }
Property Value
Headers
[JsonPropertyName("headers")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double Headers { get; set; }
Property Value
Heading
Heading direction based on compass direction, in degrees.
[JsonPropertyName("heading")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double Heading { get; set; }
Property Value
Height
Photo width in pixels.
[JsonPropertyName("height")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? Height { get; set; }
Property Value
- int?
Id
Unique identifier representing a specific photo.
[JsonPropertyName("id")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int Id { get; set; }
Property Value
ImagePartProjection
The image part projection type.
[JsonPropertyName("imagePartProjection")]
[JsonConverter(typeof(StringAsImagePartProjectionJsonConverter))]
public ImagePartProjection ImagePartProjection { get; set; }
Property Value
IsUnwrapped
A flag that confirms if the photo is unwrapped or not.
[JsonPropertyName("isUnwrapped")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool IsUnwrapped { get; set; }
Property Value
IsWrapped
A flag that confirms if the photo is wrapped or not.
[JsonPropertyName("isWrapped")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool IsWrapped { get; set; }
Property Value
Latitude
Latitude coordinates of the photo.
[JsonPropertyName("lat")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? Latitude { get; set; }
Property Value
Location
[JsonIgnore]
public Coordinate? Location { get; set; }
Property Value
- Coordinate
Longitude
Longitude coordinates of the photo.
[JsonPropertyName("lng")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? Longitude { get; set; }
Property Value
MatchLat
The incoming latitude value from the matcher.
[JsonPropertyName("matchLat")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? MatchLat { get; set; }
Property Value
MatchLng
The incoming longitude value from the matcher.
[JsonPropertyName("matchLng")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? MatchLng { get; set; }
Property Value
MatchLocation
[JsonIgnore]
public Coordinate? MatchLocation { get; set; }
Property Value
- Coordinate
MatchSegmentId
The unique identifier of the segment used by the matcher, each version of a map has different ids.
[JsonPropertyName("matchSegmentId")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? MatchSegmentId { get; set; }
Property Value
- int?
Name
Photo name including photo extension.
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
OrgCode
[JsonPropertyName("orgCode")]
public string OrgCode { get; set; }
Property Value
Projection
The distortion type of the photo.
[JsonPropertyName("projection")]
[JsonConverter(typeof(StringAsProjectionJsonConverter))]
public Projection Projection { get; set; }
Property Value
ProjectionYaw
The projection on yaw axis, horizontal rotation in degrees, min -180, max 180.
[JsonPropertyName("projectionYaw")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int ProjectionYaw { get; set; }
Property Value
QualityDetails
[JsonPropertyName("qualityDetails")]
[JsonConverter(typeof(JsonStringAsArrayJsonConverter<QualityDetail>))]
public QualityDetail[] QualityDetails { get; set; }
Property Value
QualityLevel
[JsonPropertyName("qualityLevel")]
public string QualityLevel { get; set; }
Property Value
QualityStatus
[JsonPropertyName("qualityStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus QualityStatus { get; set; }
Property Value
RawDataId
Unique identifier representing a specific rawdata.
[JsonPropertyName("rawDataId")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? RawDataId { get; set; }
Property Value
- int?
SequenceId
Unique identifier representing a specific sequence.
[JsonPropertyName("sequenceId")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int SequenceId { get; set; }
Property Value
SequenceIndex
Identifier representing a specific image index.
[JsonPropertyName("sequenceIndex")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? SequenceIndex { get; set; }
Property Value
- int?
ShotDate
Datetime of the photo when it was shot.
[JsonPropertyName("shotDate")]
[JsonConverter(typeof(StringAsNullableDateTimeJsonConverter))]
public DateTime? ShotDate { get; set; }
Property Value
Status
The state of the file,
- Active when visible to the client,
- Deleted when hidden,
- DeleteQueue when marked to be made hidden,
- Inactive when the file does not exist on the disk.
[JsonPropertyName("status")]
[JsonConverter(typeof(StringAsStatusJsonConverter))]
public Status Status { get; set; }
Property Value
Storage
The name of storage where the file can be found.
[JsonPropertyName("storage")]
public string? Storage { get; set; }
Property Value
To
The unique identifier of the ending point of a segment, each version of a map has different ids.
[JsonPropertyName("to")]
[JsonConverter(typeof(StringAsNullableLongJsonConverter))]
public long? To { get; set; }
Property Value
- long?
UnwrapVersion
The version of unwrap photo.
[JsonPropertyName("unwrapVersion")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int UnwrapVersion { get; set; }
Property Value
VideoId
Unique identifier representing a specific video.
[JsonPropertyName("videoId")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? VideoId { get; set; }
Property Value
- int?
VideoIndex
Identifier representing a specific video index.
[JsonPropertyName("videoIndex")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? VideoIndex { get; set; }
Property Value
- int?
Visibility
The exposing level of the photo based on blurring, e.g if not blurred then private
[JsonPropertyName("visibility")]
[JsonConverter(typeof(StringAsVisibilityJsonConverter))]
public Visibility Visibility { get; set; }
Property Value
WayId
The unique identifier of the way, on which the photo was matched, each version of a map has different ids.
[JsonPropertyName("wayId")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? WayId { get; set; }
Property Value
- int?
Width
Photo width in pixels.
[JsonPropertyName("width")]
[JsonConverter(typeof(StringAsNullableIntJsonConverter))]
public int? Width { get; set; }
Property Value
- int?
WrapVersion
The version of wrap photo.
[JsonPropertyName("wrapVersion")]
[JsonConverter(typeof(StringAsIntJsonConverter))]
public int WrapVersion { get; set; }
Property Value
Methods
Equals(PhotoData?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PhotoData? other)
Parameters
otherPhotoDataAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.