Click or drag to resize

RegressionResponseTargetLongLat Property

Gets the LongLat that specifies the geographic position of the Location from the RegressionRequest that led to this response.

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public LongLat TargetLongLat { get; }

Property Value

LongLat
Remarks

If the Location from the request was a PostalCodeLocation, this property will hold the LongLat that the API determined to be the central point of that postal code.

If the Location from the request was a StationIdLocation, this property will hold the LongLat of that station (also accessible through Sources).

If the Location from the request was a LongLatLocation, this property will simply hold the LongLat that was originally specified. (Bear in mind that the longitude and latitude may have been rounded slightly between the request and the response. Such rounding would only introduce very small differences that would be insignificant as far as the real-world position is concerned, but it's worth bearing this in mind in case you are comparing for equality the returned LongLat with the LongLat from the request. The two positions will be close, but they might not be equal.)

See Also