## Get feature by type and ID `client.elements.retrieve(numberid, ElementRetrieveParamsparams, RequestOptionsoptions?): GeoJsonFeature` **get** `/api/v1/features/{type}/{id}` Get feature by type and ID ### Parameters - `id: number` - `params: ElementRetrieveParams` - `type: string` Element type (node, way, relation) ### Returns - `GeoJsonFeature` - `geometry: GeoJsonGeometry` - `coordinates: Array | Array> | Array>> | Array>>>` GeoJSON coordinates array (nesting depth varies by geometry type) - `Array` - `Array>` - `Array>>` - `Array>>>` - `type: "Point" | "LineString" | "Polygon" | 3 more` - `"Point"` - `"LineString"` - `"Polygon"` - `"MultiPoint"` - `"MultiLineString"` - `"MultiPolygon"` - `properties: Record` - `type: "Feature"` - `"Feature"` - `id?: string` Feature identifier (type/osm_id) - `osm_id?: number` OpenStreetMap ID ### 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 geoJsonFeature = await client.elements.retrieve(0, { type: 'type' }); console.log(geoJsonFeature.id); ```