## Look up elevation at one or more points `elevation.lookup(**kwargs) -> ElevationLookupResult` **get** `/api/v1/elevation` Look up elevation at one or more points ### Parameters - `lat: Float` Latitude (single point) - `lng: Float` Longitude (single point) - `locations: String` Pipe-separated lng,lat pairs (batch) ### Returns - `class ElevationLookupResult` GeoJSON Point Feature with 3D coordinate [lng, lat, elevation] (RFC 7946 ยง3.1.1) - `geometry: GeoJsonGeometry` - `coordinates: Array[Float] | Array[Array[Float]] | Array[Array[Array[Float]]] | Array[Array[Array[Array[Float]]]]` GeoJSON coordinates array (nesting depth varies by geometry type) - `Array[Float]` - `Array[Array[Float]]` - `Array[Array[Array[Float]]]` - `Array[Array[Array[Array[Float]]]]` - `type: :Point | :LineString | :Polygon | 3 more` - `:Point` - `:LineString` - `:Polygon` - `:MultiPoint` - `:MultiLineString` - `:MultiPolygon` - `properties: { elevation_m}` - `elevation_m: Float` Elevation in meters above mean sea level - `type: :Feature` - `:Feature` ### Example ```ruby require "plaza" plaza = Plaza::Client.new( api_key: "My API Key", environment: "local" # defaults to "production" ) elevation_lookup_result = plaza.elevation.lookup puts(elevation_lookup_result) ```