Table of Contents

Class GeocodeResult

Namespace
Honua.Sdk.Admin.Geocoding
Assembly
Honua.Sdk.Admin.dll

A single geocode result returned from a forward geocode operation.

public sealed record GeocodeResult : IEquatable<GeocodeResult>
Inheritance
GeocodeResult
Implements
Inherited Members

Constructors

GeocodeResult(string, double, double, double, IReadOnlyDictionary<string, string?>)

A single geocode result returned from a forward geocode operation.

public GeocodeResult(string Address, double Latitude, double Longitude, double Score, IReadOnlyDictionary<string, string?> Attributes)

Parameters

Address string

The matched address string.

Latitude double

The latitude (Y) of the matched location.

Longitude double

The longitude (X) of the matched location.

Score double

A confidence score for the match (0–100).

Attributes IReadOnlyDictionary<string, string>

Additional attributes returned by the geocoding service.

Properties

Address

The matched address string.

public string Address { get; init; }

Property Value

string

Attributes

Additional attributes returned by the geocoding service.

public IReadOnlyDictionary<string, string?> Attributes { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Latitude

The latitude (Y) of the matched location.

public double Latitude { get; init; }

Property Value

double

Longitude

The longitude (X) of the matched location.

public double Longitude { get; init; }

Property Value

double

Score

A confidence score for the match (0–100).

public double Score { get; init; }

Property Value

double