Table of Contents

Class PhotoData

Namespace
KartaViewSharp.V2.Response.Resources.Photo
Assembly
KartaViewSharp.dll
public sealed class PhotoData : IEquatable<PhotoData>
Inheritance
PhotoData
Implements
Inherited Members

Constructors

PhotoData()

public PhotoData()

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

AutoImgProcessingResult?

AutoImgProcessingStatus

[JsonPropertyName("autoImgProcessingStatus")]
public string AutoImgProcessingStatus { get; set; }

Property Value

string

CameraParameters

[JsonPropertyName("cameraParameters")]
[JsonConverter(typeof(JsonStringAsObjectJsonConverter<CameraParameter>))]
public CameraParameter CameraParameters { get; set; }

Property Value

CameraParameter

DateAdded

Datetime when the photo was added.

[JsonPropertyName("dateAdded")]
[JsonConverter(typeof(StringAsDateTimeJsonConverter))]
public DateTime DateAdded { get; set; }

Property Value

DateTime

DateProcessed

Datetime of the photo when it was processed.

[JsonPropertyName("dateProcessed")]
[JsonConverter(typeof(StringAsNullableDateTimeJsonConverter))]
public DateTime? DateProcessed { get; set; }

Property Value

DateTime?

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

double?

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

double?

Filepath

Path to the file.

[JsonPropertyName("filepath")]
public string? Filepath { get; set; }

Property Value

string

FilepathLTh

Path to the large thumbnail version of the file.

[JsonPropertyName("filepathLTh")]
public string? FilepathLTh { get; set; }

Property Value

string

FilepathProc

Path to the processed version of the file.

[JsonPropertyName("filepathProc")]
public string? FilepathProc { get; set; }

Property Value

string

FilepathTh

Path to the thumbnail version of the file.

[JsonPropertyName("filepathTh")]
public string? FilepathTh { get; set; }

Property Value

string

Fileurl

Url to the file.

[JsonPropertyName("fileurl")]
public Uri Fileurl { get; set; }

Property Value

Uri

FileurlLTh

Url to the large thumbnail version of the file.

[JsonPropertyName("fileurlLTh")]
public Uri FileurlLTh { get; set; }

Property Value

Uri

FileurlProc

Url to the processed version of the file.

[JsonPropertyName("fileurlProc")]
public Uri FileurlProc { get; set; }

Property Value

Uri

FileurlTh

Url to the large thumbnail version of the file.

[JsonPropertyName("fileurlTh")]
public Uri FileurlTh { get; set; }

Property Value

Uri

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

double

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

bool

Headers

[JsonPropertyName("headers")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double Headers { get; set; }

Property Value

double

Heading

Heading direction based on compass direction, in degrees.

[JsonPropertyName("heading")]
[JsonConverter(typeof(StringAsDoubleJsonConverter))]
public double Heading { get; set; }

Property Value

double

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

int

ImagePartProjection

The image part projection type.

[JsonPropertyName("imagePartProjection")]
[JsonConverter(typeof(StringAsImagePartProjectionJsonConverter))]
public ImagePartProjection ImagePartProjection { get; set; }

Property Value

ImagePartProjection

IsUnwrapped

A flag that confirms if the photo is unwrapped or not.

[JsonPropertyName("isUnwrapped")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool IsUnwrapped { get; set; }

Property Value

bool

IsWrapped

A flag that confirms if the photo is wrapped or not.

[JsonPropertyName("isWrapped")]
[JsonConverter(typeof(StringAsBoolJsonConverter))]
public bool IsWrapped { get; set; }

Property Value

bool

Latitude

Latitude coordinates of the photo.

[JsonPropertyName("lat")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? Latitude { get; set; }

Property Value

double?

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

double?

MatchLat

The incoming latitude value from the matcher.

[JsonPropertyName("matchLat")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? MatchLat { get; set; }

Property Value

double?

MatchLng

The incoming longitude value from the matcher.

[JsonPropertyName("matchLng")]
[JsonConverter(typeof(StringAsNullableDoubleJsonConverter))]
public double? MatchLng { get; set; }

Property Value

double?

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

string

OrgCode

[JsonPropertyName("orgCode")]
public string OrgCode { get; set; }

Property Value

string

Projection

The distortion type of the photo.

[JsonPropertyName("projection")]
[JsonConverter(typeof(StringAsProjectionJsonConverter))]
public Projection Projection { get; set; }

Property Value

Projection

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

int

QualityDetails

[JsonPropertyName("qualityDetails")]
[JsonConverter(typeof(JsonStringAsArrayJsonConverter<QualityDetail>))]
public QualityDetail[] QualityDetails { get; set; }

Property Value

QualityDetail[]

QualityLevel

[JsonPropertyName("qualityLevel")]
public string QualityLevel { get; set; }

Property Value

string

QualityStatus

[JsonPropertyName("qualityStatus")]
[JsonConverter(typeof(StringAsSequenceStatusJsonConverter))]
public SequenceStatus QualityStatus { get; set; }

Property Value

SequenceStatus

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

int

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

DateTime?

Status

The state of the file,

[JsonPropertyName("status")]
[JsonConverter(typeof(StringAsStatusJsonConverter))]
public Status Status { get; set; }

Property Value

Status

Storage

The name of storage where the file can be found.

[JsonPropertyName("storage")]
public string? Storage { get; set; }

Property Value

string

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

int

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

Visibility

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

int

Methods

Equals(PhotoData?)

public bool Equals(PhotoData? other)

Parameters

other PhotoData

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int