Look up elevation for multiple coordinates
client.elevation.batch(ElevationBatchParams { geometry } body, RequestOptionsoptions?): ElevationBatchResult { features, type }
POST/api/v1/elevation/batch
Look up elevation for multiple coordinates
import Plaza from '@plazafyi/sdk';
const client = new Plaza({
apiKey: process.env['PLAZA_API_KEY'], // This is the default and can be omitted
});
const elevationBatchResult = await client.elevation.batch({
geometry: { coordinates: [0], type: 'Point' },
});
console.log(elevationBatchResult.features);