## Look up elevation at one or more points `client.elevation.lookupPost(ElevationLookupPostParamsparams?, RequestOptionsoptions?): ElevationLookupResult` **post** `/api/v1/elevation` Look up elevation at one or more points ### Parameters - `params: ElevationLookupPostParams` - `format?: string` Response format: json (default), geojson, csv, ndjson - `lat?: number` Latitude (single point) - `lng?: number` Longitude (single point) - `locations?: string` Pipe-separated lng,lat pairs (batch) - `outputFields?: string` Comma-separated property fields to include - `outputInclude?: string` Extra computed fields: bbox, center - `outputPrecision?: number` Coordinate decimal precision (1-15, default 7) ### Returns - `ElevationLookupResult` GeoJSON Point Feature with a 3D coordinate [lng, lat, elevation] per RFC 7946 ยง3.1.1. The elevation is also available in `properties.elevation_m` for convenience. - `geometry: GeoJsonGeometry` GeoJSON Geometry object per RFC 7946. Coordinates use [longitude, latitude] order. 3D coordinates [lng, lat, elevation] are used for elevation endpoints. - `coordinates: Array | Array> | Array>> | Array>>>` Coordinates array. Nesting depth varies by geometry type: Point = [lng, lat], LineString = [[lng, lat], ...], Polygon = [[[lng, lat], ...], ...], etc. - `Array` - `Array>` - `Array>>` - `Array>>>` - `type: "Point" | "LineString" | "Polygon" | 3 more` Geometry type - `"Point"` - `"LineString"` - `"Polygon"` - `"MultiPoint"` - `"MultiLineString"` - `"MultiPolygon"` - `properties: Properties` - `elevation_m: number` Elevation in meters above mean sea level (WGS84 EGM96 geoid) - `type: "Feature"` - `"Feature"` ### Example ```typescript import Plaza from '@plazafyi/sdk'; const client = new Plaza({ apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted }); const elevationLookupResult = await client.elevation.lookupPost(); console.log(elevationLookupResult.geometry); ``` #### Response ```json { "geometry": { "coordinates": [ 2.3522, 48.8566 ], "type": "Point" }, "properties": { "elevation_m": 35.2 }, "type": "Feature" } ```