## Look up elevation at one or more points `client.Elevation.Lookup(ctx, query) (*ElevationLookupResult, error)` **get** `/api/v1/elevation` Look up elevation at one or more points ### Parameters - `query ElevationLookupParams` - `Lat param.Field[float64]` Latitude (single point) - `Lng param.Field[float64]` Longitude (single point) - `Locations param.Field[string]` Pipe-separated lng,lat pairs (batch) ### Returns - `type ElevationLookupResult struct{…}` GeoJSON Point Feature with 3D coordinate [lng, lat, elevation] (RFC 7946 §3.1.1) - `Geometry GeoJsonGeometry` - `Coordinates GeoJsonGeometryCoordinatesUnion` GeoJSON coordinates array (nesting depth varies by geometry type) - `type GeoJsonGeometryCoordinatesArray []float64` - `type GeoJsonGeometryCoordinatesArray [][]float64` - `type GeoJsonGeometryCoordinatesArray [][][]float64` - `type GeoJsonGeometryCoordinatesArray [][][][]float64` - `Type GeoJsonGeometryType` - `const GeoJsonGeometryTypePoint GeoJsonGeometryType = "Point"` - `const GeoJsonGeometryTypeLineString GeoJsonGeometryType = "LineString"` - `const GeoJsonGeometryTypePolygon GeoJsonGeometryType = "Polygon"` - `const GeoJsonGeometryTypeMultiPoint GeoJsonGeometryType = "MultiPoint"` - `const GeoJsonGeometryTypeMultiLineString GeoJsonGeometryType = "MultiLineString"` - `const GeoJsonGeometryTypeMultiPolygon GeoJsonGeometryType = "MultiPolygon"` - `Properties ElevationLookupResultProperties` - `ElevationM float64` Elevation in meters above mean sea level - `Type ElevationLookupResultType` - `const ElevationLookupResultTypeFeature ElevationLookupResultType = "Feature"` ### Example ```go package main import ( "context" "fmt" "github.com/plazafyi/plaza-go" "github.com/plazafyi/plaza-go/option" ) func main() { client := githubcomplazafyiplazago.NewClient( option.WithAPIKey("My API Key"), ) elevationLookupResult, err := client.Elevation.Lookup(context.TODO(), githubcomplazafyiplazago.ElevationLookupParams{ }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", elevationLookupResult.Geometry) } ```