Interface IGeocodingResult
- Namespace
- XENBIT.ResQueServe.Abstractions.Interfaces
- Assembly
- RQS.Abstractions.dll
Represents a geocoding result, including the provider, coordinates, and detailed address information such as zip code, street, city, and district.
public interface IGeocodingResult
Properties
City
Gets the city associated with the geocoding result.
string? City { get; init; }
Property Value
Commune
Gets the commune associated with the geocoding result.
string? Commune { get; init; }
Property Value
Coordinates
Gets the coordinates associated with the geocoding result.
Coordinates Coordinates { get; init; }
Property Value
District
Gets the district associated with the geocoding result.
string? District { get; init; }
Property Value
HouseNumber
Gets the house number associated with the geocoding result.
string? HouseNumber { get; init; }
Property Value
LocationHashSha256
Gets the hash of the IGeoReferenced object using GetStableHash() associated with the geocoding result.
string LocationHashSha256 { get; init; }
Property Value
Provider
Gets the provider that supplied the geocoding result.
GeoProvider Provider { get; init; }
Property Value
Street
Gets the street address associated with the geocoding result.
string? Street { get; init; }
Property Value
Zip
Gets the zip code associated with the geocoding result.
string? Zip { get; init; }
Property Value
Methods
IsSet()
Checks if the latitude and longitude coordinates are set to non-zero values.
bool IsSet()
Returns
- bool
trueif both latitude and longitude are non-zero; otherwise,false.