public static function fromFilterArray(array $array): LocationRange
    {
        $coordinates = array_map(function (array $coordinate) {
            return Coordinate::createFromArray($coordinate);
        }, $array['coordinates']);

        return new Polygon($coordinates);
    }