Class GeoTiffRequest
- Namespace
- GoogleMapsApi.Entities.Solar.Request
- Assembly
- GoogleMapsApi.dll
Request for the Google Solar API geoTiff:get endpoint
(GET https://solar.googleapis.com/v1/geoTiff:get). Downloads the raw GeoTIFF bytes
for a data layer URL returned by a DataLayersRequest.
public sealed class GeoTiffRequest : MapsBaseRequest
- Inheritance
-
GeoTiffRequest
- Inherited Members
Remarks
Pass the layer URL from a DataLayersResponse (e.g. DsmUrl, AnnualFluxUrl)
as Url; the API key is appended automatically. The response is binary, not JSON.
Properties
Url
A data-layer URL returned by the dataLayers:get endpoint
(e.g. https://solar.googleapis.com/v1/geoTiff:get?id=...). Required.
public string Url { get; set; }
Property Value
Methods
GetUri()
Builds the absolute request URI, including scheme, base URL, and serialized query-string parameters.
public override Uri GetUri()
Returns
- Uri
The fully composed URI to send to the Google Maps API.