# shapeEvaluator

Prepares a style once, so drawing thousands of features does not work out
its classes for each one. A value that is missing or unreadable falls in
the other class (categories) or the first class (steps and intervals).

This is a function exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import { shapeEvaluator } from "@mapcairn/core";
 
function shapeEvaluator(style: FeedShapeStyle, catalogue: MessageCatalogue): ShapeEvaluator;
```

## Parameters

- `style` (`FeedShapeStyle`)
- `catalogue` (`MessageCatalogue`)

## Returns

`ShapeEvaluator`

## See also

- [`FeedShapeStyle`](https://docs.mapcairn.com/api/core/FeedShapeStyle.md)
- [`MessageCatalogue`](https://docs.mapcairn.com/api/core/MessageCatalogue.md)
- [`ShapeEvaluator`](https://docs.mapcairn.com/api/core/ShapeEvaluator-typealias.md)

Source: [packages/core/src/layers/shapeStyle.ts:185](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/layers/shapeStyle.ts#L185)
